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.001436/0.001436, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001091/0.001091, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 1.035/1.035, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.813/0.813, allocations: 154.9 MB / 415.1 MB, free: 244 kB / 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 1.513e-06/1.513e-06, allocations: 0 / 0.5212 GB, free: 1.465 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.305e-05, allocations: 4.094 kB / 0.5212 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0009581/0.0009712, allocations: 0.6047 MB / 0.5218 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002155/0.001187, allocations: 88.61 kB / 0.5219 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.001206, allocations: 4.812 kB / 0.5219 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.00122, allocations: 0.7656 kB / 0.5219 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.001262, allocations: 1.469 kB / 0.5219 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.001436, allocations: 15.86 kB / 0.5219 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.729e-05/0.001474, allocations: 8.656 kB / 0.5219 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.258e-05/0.001506, allocations: 8.922 kB / 0.5219 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.007e-05/0.001536, allocations: 0.7656 kB / 0.5219 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.001599, allocations: 13.17 kB / 0.5219 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.001611, allocations: 0 / 0.5219 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.833e-05/0.001659, allocations: 11.98 kB / 0.5219 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.001672, allocations: 4 kB / 0.5219 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.628e-06/0.001682, allocations: 1.312 kB / 0.5219 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.025e-05/0.001752, allocations: 15.97 kB / 0.5219 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552e-06/0.001754, allocations: 0 / 0.5219 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.001754, allocations: 0.8125 kB / 0.5219 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.001758, allocations: 0 / 0.5219 GB, free: 0.7188 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.0002411/0.001999, allocations: 353.6 kB / 0.5223 GB, free: 344 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.002031, allocations: 8.031 kB / 0.5223 GB, free: 336 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.268e-05/0.002123, allocations: 4.938 kB / 0.5223 GB, free: 332 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.147e-05/0.002175, allocations: 117.9 kB / 0.5224 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.002187, allocations: 384 / 0.5224 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-06/0.002192, allocations: 384 / 0.5224 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.517e-05/0.002278, allocations: 51.73 kB / 0.5225 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.002284, allocations: 192 / 0.5225 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-06/0.002289, allocations: 384 / 0.5225 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.002294, allocations: 6.188 kB / 0.5225 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.001e-05/0.002314, allocations: 7.938 kB / 0.5225 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.161e-05/0.002395, allocations: 89.31 kB / 0.5226 GB, free: 0 / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.877e-05/0.002474, allocations: 50.97 kB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.002487, allocations: 13.84 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.0025, allocations: 0 / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.002518, allocations: 37.38 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.002519, allocations: 3.938 kB / 0.5227 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 9.414e-05/0.002613, allocations: 45.69 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.002635, allocations: 56.88 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.278e-05/0.002667, allocations: 146.2 kB / 0.5229 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.002676, allocations: 25.7 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/0.002701, allocations: 126.9 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.002732, allocations: 13.2 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.002755, allocations: 23.38 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.002852, allocations: 496.1 kB / 0.5235 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.002863, allocations: 8.953 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.002869, allocations: 4 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.502e-05/0.002894, allocations: 12.59 kB / 0.5236 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.002897, allocations: 4 kB / 0.5236 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.782e-05/0.002935, allocations: 45.69 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/0.002943, allocations: 4.5 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.002947, allocations: 0.7812 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.002956, allocations: 3.938 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.00308, allocations: 25.19 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006798/0.00376, allocations: 1.785 MB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.151e-05/0.003771, allocations: 5.656 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-06/0.003774, allocations: 4 kB / 0.5254 GB, free: 12.88 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.013e-05/0.003834, allocations: 156.6 kB / 0.5255 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-06/0.00384, allocations: 5.469 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.463e-06/0.003847, allocations: 3.531 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.003848, allocations: 3.938 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.91e-07/0.003849, allocations: 0 / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.003852, allocations: 6.422 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.98e-05/0.003902, allocations: 101.2 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.003903, allocations: 0 / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.733e-05/0.004, allocations: 30.75 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.004001, allocations: 0 / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-06/0.004004, allocations: 0 / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008553/0.004859, allocations: 1.783 MB / 0.5274 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.00486, allocations: 0 / 0.5274 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.974e-05/0.00491, allocations: 77.62 kB / 0.5275 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-06/0.004912, allocations: 0 / 0.5275 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-06/0.004916, allocations: 11.88 kB / 0.5275 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-06/0.004925, allocations: 2.781 kB / 0.5275 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.058e-05/0.004935, allocations: 7.922 kB / 0.5275 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.004938, allocations: 48 / 0.5275 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.549e-05/0.004963, allocations: 123.2 kB / 0.5276 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.004963, allocations: 0 / 0.5276 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001166/0.00508, allocations: 4 kB / 0.5277 GB, free: 10.41 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 6.718e-05/0.005147, allocations: 102 kB / 0.5277 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.005286, allocations: 39.66 kB / 0.5278 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.005287, allocations: 0 / 0.5278 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.63e-05/0.005363, allocations: 36.75 kB / 0.5278 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.422e-05/0.005447, allocations: 4 kB / 0.5278 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001501/0.005597, allocations: 111.4 kB / 0.5279 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.136e-05/0.005619, allocations: 51.36 kB / 0.528 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.593e-05/0.005634, allocations: 1.5 kB / 0.528 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.005667, allocations: 74.19 kB / 0.5281 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.005667, allocations: 0.6562 kB / 0.5281 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of Templates: time 0.001612/0.007279, allocations: 0.4975 MB / 0.5285 GB, free: 9.461 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.787086642347276]