Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008231/0.0008231, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008986/0.0008986, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.171/1.171, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6666/0.6666, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002681/0.0002683, allocations: 12 kB / 0.5034 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.325, allocations: 81.57 MB / 0.5831 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0005578/0.3256, allocations: 311.2 kB / 0.5834 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004658/0.326, allocations: 294.4 kB / 0.5837 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.172e-05/0.3261, allocations: 0 / 0.5837 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.206e-06/0.3261, allocations: 1.656 kB / 0.5837 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.11e-06/0.3261, allocations: 2.688 kB / 0.5837 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.3264, allocations: 70.23 kB / 0.5837 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.077e-05/0.3264, allocations: 0.8438 kB / 0.5837 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.224e-05/0.3265, allocations: 1.719 kB / 0.5837 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.08e-05/0.3265, allocations: 3.938 kB / 0.5837 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.096e-05/0.3265, allocations: 7 kB / 0.5837 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.063e-06/0.3265, allocations: 0 / 0.5837 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.3269, allocations: 262 kB / 0.584 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-06/0.3269, allocations: 3.984 kB / 0.584 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.3269, allocations: 26.52 kB / 0.584 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.327, allocations: 60.48 kB / 0.5841 GB, free: 3.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.327, allocations: 2.156 kB / 0.5841 GB, free: 3.449 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.327, allocations: 0.875 kB / 0.5841 GB, free: 3.449 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.866e-06/0.327, allocations: 0 / 0.5841 GB, free: 3.449 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001822/0.3272, allocations: 325.3 kB / 0.5844 GB, free: 3.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.3273, allocations: 10.22 kB / 0.5844 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.3273, allocations: 1.625 kB / 0.5844 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.806e-05/0.3274, allocations: 165.4 kB / 0.5846 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3274, allocations: 4 kB / 0.5846 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-06/0.3274, allocations: 0.6875 kB / 0.5846 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.535e-05/0.3275, allocations: 31.84 kB / 0.5846 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3275, allocations: 0.875 kB / 0.5846 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.3275, allocations: 0.6562 kB / 0.5846 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3275, allocations: 0.75 kB / 0.5846 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.654e-05/0.3275, allocations: 5.719 kB / 0.5846 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.226e-05/0.3276, allocations: 152.2 kB / 0.5848 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.049e-05/0.3276, allocations: 21.11 kB / 0.5848 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.1e-05/0.3277, allocations: 6.578 kB / 0.5848 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/0.328, allocations: 424.5 kB / 0.5852 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.328, allocations: 32.56 kB / 0.5852 GB, free: 2.109 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.328, allocations: 4 kB / 0.5852 GB, free: 2.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001117/0.3281, allocations: 39.97 kB / 0.5853 GB, free: 2.066 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.692e-05/0.3282, allocations: 56.69 kB / 0.5853 GB, free: 2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.33e-05/0.3282, allocations: 89.86 kB / 0.5854 GB, free: 1.902 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-06/0.3282, allocations: 26.31 kB / 0.5854 GB, free: 1.871 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.544e-06/0.3282, allocations: 81.45 kB / 0.5855 GB, free: 1.789 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.3282, allocations: 3.906 kB / 0.5855 GB, free: 1.785 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-06/0.3282, allocations: 0 / 0.5855 GB, free: 1.785 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.38e-05/0.3283, allocations: 316.8 kB / 0.5858 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-06/0.3283, allocations: 2.281 kB / 0.5858 GB, free: 1.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-06/0.3283, allocations: 0 / 0.5858 GB, free: 1.469 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.319e-05/0.3283, allocations: 7.844 kB / 0.5858 GB, free: 1.465 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3283, allocations: 0 / 0.5858 GB, free: 1.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.804e-05/0.3284, allocations: 38.58 kB / 0.5859 GB, free: 1.426 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.3284, allocations: 6.391 kB / 0.5859 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.3284, allocations: 0 / 0.5859 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.3284, allocations: 1.578 kB / 0.5859 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.368e-05/0.3284, allocations: 5.562 kB / 0.5859 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.3285, allocations: 0 / 0.5859 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-06/0.3285, allocations: 1.234 kB / 0.5859 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.3285, allocations: 4.594 kB / 0.5859 GB, free: 1.418 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.3285, allocations: 113.7 kB / 0.586 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.3285, allocations: 1.828 kB / 0.586 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.851e-05/0.3286, allocations: 36.31 kB / 0.586 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3286, allocations: 0 / 0.586 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3286, allocations: 4.031 kB / 0.586 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3286, allocations: 1 kB / 0.586 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.55e-05/0.3287, allocations: 156.8 kB / 0.5862 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3287, allocations: 3.953 kB / 0.5862 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-05/0.3287, allocations: 3.125 kB / 0.5862 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3287, allocations: 0 / 0.5862 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.3287, allocations: 1 kB / 0.5862 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3287, allocations: 4.453 kB / 0.5862 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3287, allocations: 1.031 kB / 0.5862 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.423e-05/0.3288, allocations: 61.41 kB / 0.5862 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.3288, allocations: 82.33 kB / 0.5863 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.3288, allocations: 1 kB / 0.5863 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-06/0.3288, allocations: 0.75 kB / 0.5863 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-06/0.3288, allocations: 5.156 kB / 0.5863 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.3288, allocations: 0.7188 kB / 0.5863 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.033e-05/0.3289, allocations: 75.98 kB / 0.5864 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3289, allocations: 0 / 0.5864 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001745/0.329, allocations: 18.52 kB / 0.5864 GB, free: 0.8008 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001413/0.3292, allocations: 113.9 kB / 0.5865 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.538e-05/0.3292, allocations: 3.891 kB / 0.5865 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3293, allocations: 0 / 0.5865 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.241e-06/0.3293, allocations: 1.938 kB / 0.5865 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.3294, allocations: 4.453 kB / 0.5865 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001272/0.3295, allocations: 81.09 kB / 0.5866 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.3296, allocations: 0.6716 MB / 0.5873 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.579e-05/0.3297, allocations: 1.469 kB / 0.5873 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.377e-06/0.3297, allocations: 8.375 kB / 0.5873 GB, free: 15.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3297, allocations: 0 / 0.5873 GB, free: 15.91 MB / 446.1 MB Notification: Performance of Templates: time 0.002284/0.332, allocations: 437.6 kB / 0.5877 GB, free: 15.84 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)