Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.0009735/0.0009735, allocations: 85.17 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.001028/0.001028, allocations: 169 kB / 23.27 MB, free: 1.219 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.9717/0.9717, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.8049/0.8049, allocations: 154.9 MB / 415.1 MB, free: 240 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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 3.984 kB / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.518e-05, allocations: 6.078 kB / 0.5211 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002863/0.002898, allocations: 1.483 MB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002536/0.003152, allocations: 97.86 kB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.003188, allocations: 0 / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.003212, allocations: 0 / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.188e-05/0.003264, allocations: 15.22 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.00344, allocations: 15.97 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.667e-05/0.003497, allocations: 23.92 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.524e-05/0.003572, allocations: 4 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.459e-05/0.003627, allocations: 11.98 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.06e-05/0.003657, allocations: 13.73 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.003672, allocations: 4 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.211e-05/0.003724, allocations: 11.98 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.003739, allocations: 11.92 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.27e-05/0.003752, allocations: 8 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.898e-05/0.003851, allocations: 28.66 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.003854, allocations: 0 / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003855, allocations: 1.406 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.003859, allocations: 0 / 0.5228 GB, free: 15.8 MB / 0.4948 GB 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.0003156/0.004175, allocations: 368.5 kB / 0.5232 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.004218, allocations: 13.38 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.00435, allocations: 12.88 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.039e-05/0.00443, allocations: 120.6 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.004442, allocations: 1.938 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.004449, allocations: 4.375 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.004549, allocations: 58.92 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.004557, allocations: 192 / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.004565, allocations: 2.781 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.004571, allocations: 384 / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.475e-05/0.004595, allocations: 7.938 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.004861, allocations: 244.4 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.926e-05/0.004911, allocations: 31.06 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.004927, allocations: 12.23 kB / 0.5237 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.004943, allocations: 4.062 kB / 0.5237 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.004961, allocations: 33.95 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.004962, allocations: 0.875 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001165/0.005079, allocations: 45.58 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.005102, allocations: 56.94 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.896e-05/0.005171, allocations: 161.9 kB / 0.5239 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.005182, allocations: 25.7 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.005223, allocations: 130.9 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.005238, allocations: 12.83 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.005267, allocations: 23.36 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.005373, allocations: 497.6 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.005389, allocations: 4 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.037e-05/0.0054, allocations: 0 / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.974e-05/0.00543, allocations: 12.78 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.005431, allocations: 0 / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.888e-05/0.00549, allocations: 53.58 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.0055, allocations: 7.25 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.005506, allocations: 0 / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.005518, allocations: 3.938 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.19e-05/0.00558, allocations: 4 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.005583, allocations: 7.984 kB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.929e-05/0.005603, allocations: 3.938 kB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.005607, allocations: 4 kB / 0.5247 GB, free: 13.68 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.555e-05/0.005673, allocations: 155.6 kB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.005687, allocations: 0 / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.005712, allocations: 7.625 kB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005714, allocations: 3.938 kB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.005715, allocations: 0 / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.005719, allocations: 3.984 kB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.042e-05/0.005809, allocations: 97.27 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.005811, allocations: 256 / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.005839, allocations: 17.48 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.005841, allocations: 0 / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.005846, allocations: 0 / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.005847, allocations: 0 / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.005849, allocations: 4.438 kB / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.005961, allocations: 198.2 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-06/0.005967, allocations: 0 / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.005978, allocations: 8 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.006017, allocations: 0 / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.006047, allocations: 7.984 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.006051, allocations: 3.938 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.253e-05/0.006094, allocations: 125.6 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.006094, allocations: 0 / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000204/0.006298, allocations: 4 kB / 0.5253 GB, free: 13.02 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.26e-05/0.006391, allocations: 91.25 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.933e-05/0.00646, allocations: 23.61 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006461, allocations: 1.844 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.866e-05/0.00648, allocations: 15.69 kB / 0.5254 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.00667, allocations: 4 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.006897, allocations: 123.3 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.166e-05/0.006928, allocations: 60.23 kB / 0.5256 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.688e-05/0.006945, allocations: 1.031 kB / 0.5256 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.00699, allocations: 74.19 kB / 0.5257 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/0.006991, allocations: 2.438 kB / 0.5257 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of Templates: time 0.001999/0.00899, allocations: 0.7089 MB / 0.5264 GB, free: 11.89 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.61937794694677]