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.001833/0.001833, allocations: 85.48 kB / 19.44 MB, free: 344 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.002071/0.002071, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.544/1.544, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 1.345/1.345, allocations: 154.8 MB / 414.4 MB, free: 448 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 178] 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 1.673e-06/1.673e-06, allocations: 0 / 0.5199 GB, free: 2.246 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.02e-05, allocations: 3.094 kB / 0.5199 GB, free: 2.242 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002885/0.002915, allocations: 1.478 MB / 0.5213 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.003196, allocations: 99.7 kB / 0.5214 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.003229, allocations: 1.219 kB / 0.5214 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.59e-05/0.003255, allocations: 3.938 kB / 0.5214 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.897e-05/0.003304, allocations: 0 / 0.5214 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.003487, allocations: 16.42 kB / 0.5214 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.672e-05/0.003564, allocations: 33.69 kB / 0.5214 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.534e-05/0.003639, allocations: 0 / 0.5214 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.683e-05/0.003706, allocations: 19.92 kB / 0.5215 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.808e-05/0.003754, allocations: 7.984 kB / 0.5215 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.003771, allocations: 4 kB / 0.5215 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.92e-05/0.00383, allocations: 13.7 kB / 0.5215 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.003846, allocations: 4 kB / 0.5215 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.003871, allocations: 11.94 kB / 0.5215 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.003991, allocations: 35.88 kB / 0.5215 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.003996, allocations: 5.469 kB / 0.5215 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003996, allocations: 0 / 0.5215 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.004, allocations: 0 / 0.5215 GB, free: 0.5312 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.000492/0.004492, allocations: 364.2 kB / 0.5219 GB, free: 140 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.004528, allocations: 8.781 kB / 0.5219 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.004722, allocations: 12.92 kB / 0.5219 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.004861, allocations: 118 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.004876, allocations: 384 / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-06/0.004884, allocations: 384 / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.005047, allocations: 59.52 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.005055, allocations: 192 / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.005063, allocations: 384 / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.005067, allocations: 384 / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.005227, allocations: 36.58 kB / 0.5221 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.005672, allocations: 259 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.005837, allocations: 62.95 kB / 0.5224 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.941e-05/0.005917, allocations: 19.75 kB / 0.5224 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.005935, allocations: 0 / 0.5224 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.00597, allocations: 37.39 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.005971, allocations: 0 / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0003483/0.006319, allocations: 86.78 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.006365, allocations: 52.22 kB / 0.5226 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.006502, allocations: 169.9 kB / 0.5228 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.006525, allocations: 31.11 kB / 0.5228 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.00662, allocations: 130.9 kB / 0.5229 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.006637, allocations: 3.953 kB / 0.5229 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.006685, allocations: 23.38 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002733/0.006959, allocations: 0.4893 MB / 0.5234 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.007032, allocations: 12 kB / 0.5234 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.007098, allocations: 21.23 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.007236, allocations: 40.97 kB / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.007238, allocations: 0 / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000188/0.007426, allocations: 68.45 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.007441, allocations: 4 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.007447, allocations: 3.938 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.007465, allocations: 3.984 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.007574, allocations: 16.17 kB / 0.5236 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.007579, allocations: 0 / 0.5236 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.007625, allocations: 8 kB / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.007631, allocations: 2.75 kB / 0.5236 GB, free: 14.23 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 0.0003775/0.008008, allocations: 164.5 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.008035, allocations: 4 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.008063, allocations: 7.562 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.008065, allocations: 0 / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.008068, allocations: 0 / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.00807, allocations: 0 / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.008236, allocations: 125.5 kB / 0.5239 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.008237, allocations: 0 / 0.5239 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.008297, allocations: 9 kB / 0.5239 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.008302, allocations: 3.984 kB / 0.5239 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.00831, allocations: 0.875 kB / 0.5239 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.008313, allocations: 7.875 kB / 0.5239 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008314, allocations: 0 / 0.5239 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.008612, allocations: 221.8 kB / 0.5241 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.008618, allocations: 0 / 0.5241 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.008632, allocations: 0 / 0.5241 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.008707, allocations: 10.38 kB / 0.5241 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.008751, allocations: 3.984 kB / 0.5241 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.008755, allocations: 4 kB / 0.5241 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.233e-05/0.008837, allocations: 127.2 kB / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.008837, allocations: 0 / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002069/0.009044, allocations: 4 kB / 0.5243 GB, free: 13.5 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 0.0001306/0.009175, allocations: 94 kB / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.009404, allocations: 47.66 kB / 0.5244 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.009405, allocations: 0 / 0.5244 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.009502, allocations: 31.61 kB / 0.5244 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.009749, allocations: 4.812 kB / 0.5244 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.01012, allocations: 138.2 kB / 0.5246 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.983e-05/0.01019, allocations: 62.22 kB / 0.5246 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.14e-05/0.01022, allocations: 4 kB / 0.5246 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.01026, allocations: 8.5 kB / 0.5246 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.01026, allocations: 0 / 0.5246 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.003412/0.01367, allocations: 0.645 MB / 0.5253 GB, free: 12.43 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: 5.966056913021021]