Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009134/0.0009134, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9916/0.9916, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7796/0.7796, allocations: 154.8 MB / 414.7 MB, free: 0.4961 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.5206 GB, free: 1.871 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/2.984e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001186/0.001216, allocations: 0.605 MB / 0.5212 GB, free: 1.285 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002378/0.001453, allocations: 89.17 kB / 0.5213 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.976e-05/0.001473, allocations: 0 / 0.5213 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.001493, allocations: 0.8438 kB / 0.5213 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.122e-05/0.001545, allocations: 0 / 0.5213 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.001753, allocations: 30.62 kB / 0.5213 GB, free: 1.172 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.661e-05/0.0018, allocations: 4.766 kB / 0.5213 GB, free: 1.168 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.001835, allocations: 0.7656 kB / 0.5213 GB, free: 1.168 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.178e-05/0.001867, allocations: 11.98 kB / 0.5213 GB, free: 1.156 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.421e-05/0.001931, allocations: 3.938 kB / 0.5213 GB, free: 1.152 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.001946, allocations: 0 / 0.5213 GB, free: 1.152 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.47e-05/0.002, allocations: 11.98 kB / 0.5214 GB, free: 1.141 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.002015, allocations: 4.484 kB / 0.5214 GB, free: 1.137 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.658e-05/0.002031, allocations: 4.5 kB / 0.5214 GB, free: 1.133 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.376e-05/0.002125, allocations: 15.97 kB / 0.5214 GB, free: 1.117 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.002127, allocations: 1.094 kB / 0.5214 GB, free: 1.117 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.002127, allocations: 0 / 0.5214 GB, free: 1.117 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.002131, allocations: 0 / 0.5214 GB, free: 1.117 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002891/0.002421, allocations: 349.2 kB / 0.5217 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.002455, allocations: 8.031 kB / 0.5217 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.002577, allocations: 9.594 kB / 0.5217 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.455e-05/0.002632, allocations: 105.5 kB / 0.5218 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.00265, allocations: 4.312 kB / 0.5218 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.002661, allocations: 5.328 kB / 0.5218 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.002772, allocations: 50.97 kB / 0.5219 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.002784, allocations: 9.906 kB / 0.5219 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.002793, allocations: 384 / 0.5219 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.002801, allocations: 384 / 0.5219 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.996e-05/0.002831, allocations: 7.938 kB / 0.5219 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.00294, allocations: 112.6 kB / 0.522 GB, free: 376 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.566e-05/0.003036, allocations: 47.53 kB / 0.5221 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.003056, allocations: 12.78 kB / 0.5221 GB, free: 300 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.003071, allocations: 3.938 kB / 0.5221 GB, free: 296 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.003093, allocations: 38.34 kB / 0.5221 GB, free: 248 kB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.003094, allocations: 0 / 0.5221 GB, free: 248 kB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001311/0.003225, allocations: 49.69 kB / 0.5222 GB, free: 192 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.00325, allocations: 52.03 kB / 0.5222 GB, free: 128 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.884e-05/0.003298, allocations: 142.2 kB / 0.5223 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.003308, allocations: 27.05 kB / 0.5224 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.003333, allocations: 130.8 kB / 0.5225 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.003367, allocations: 12.25 kB / 0.5225 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.003392, allocations: 19.97 kB / 0.5225 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.003496, allocations: 496.1 kB / 0.523 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.003511, allocations: 13.45 kB / 0.523 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-06/0.00352, allocations: 4 kB / 0.523 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.485e-05/0.003555, allocations: 15.69 kB / 0.523 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.003557, allocations: 0 / 0.523 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.115e-05/0.003608, allocations: 42.34 kB / 0.5231 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.003619, allocations: 10.28 kB / 0.5231 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.003624, allocations: 0 / 0.5231 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.003638, allocations: 0 / 0.5231 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.003803, allocations: 28.66 kB / 0.5231 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000807/0.00461, allocations: 1.804 MB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.004626, allocations: 6.5 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.00463, allocations: 7.938 kB / 0.5249 GB, free: 13.22 MB / 0.4948 GB 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.234e-05/0.004692, allocations: 156.6 kB / 0.525 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-06/0.0047, allocations: 7.938 kB / 0.525 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.504e-06/0.004707, allocations: 7.516 kB / 0.525 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.62e-07/0.004708, allocations: 0 / 0.525 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.004709, allocations: 1.531 kB / 0.525 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.004711, allocations: 0 / 0.525 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.393e-05/0.004765, allocations: 116.6 kB / 0.5252 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.004766, allocations: 0 / 0.5252 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.00488, allocations: 29.53 kB / 0.5252 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.004881, allocations: 0.9688 kB / 0.5252 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.00489, allocations: 3.938 kB / 0.5252 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006293/0.00552, allocations: 1.801 MB / 0.5269 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.005521, allocations: 0 / 0.5269 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.896e-05/0.00558, allocations: 88.31 kB / 0.527 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-06/0.005582, allocations: 3.984 kB / 0.527 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-06/0.005586, allocations: 0 / 0.527 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.027e-05/0.005597, allocations: 2.875 kB / 0.527 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.005614, allocations: 7.938 kB / 0.527 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.005616, allocations: 0 / 0.527 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.705e-05/0.005643, allocations: 119.2 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.005643, allocations: 0 / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001258/0.005769, allocations: 4 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.013e-05/0.005839, allocations: 100.7 kB / 0.5273 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001806/0.00602, allocations: 40.31 kB / 0.5273 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.006021, allocations: 0.6562 kB / 0.5273 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.995e-05/0.006111, allocations: 36.42 kB / 0.5273 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.006215, allocations: 15.25 kB / 0.5273 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.006438, allocations: 98.11 kB / 0.5274 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.197e-05/0.00647, allocations: 59.34 kB / 0.5275 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.845e-05/0.006489, allocations: 0 / 0.5275 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.006517, allocations: 16.5 kB / 0.5275 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.006517, allocations: 2.469 kB / 0.5275 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.001921/0.008438, allocations: 486.3 kB / 0.528 GB, free: 9.828 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8559393850155175]