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.001042/0.001042, allocations: 93.06 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.001542/0.001542, 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 1.021/1.021, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.8203/0.8203, allocations: 154.9 MB / 414.8 MB, free: 15.94 MB / 394.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 1.773e-06/1.773e-06, allocations: 0 / 0.5207 GB, free: 1.789 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.606e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.785 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002742/0.002768, allocations: 1.505 MB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002933/0.003061, allocations: 93.28 kB / 0.5222 GB, free: 208 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.003099, allocations: 0 / 0.5222 GB, free: 208 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.003134, allocations: 4.906 kB / 0.5223 GB, free: 204 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.692e-05/0.003191, allocations: 4.156 kB / 0.5223 GB, free: 200 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.00342, allocations: 16.58 kB / 0.5223 GB, free: 184 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.208e-05/0.003502, allocations: 31.91 kB / 0.5223 GB, free: 152 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.066e-05/0.003593, allocations: 12.94 kB / 0.5223 GB, free: 140 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.746e-05/0.00365, allocations: 8 kB / 0.5223 GB, free: 132 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.004e-05/0.00369, allocations: 17.67 kB / 0.5223 GB, free: 116 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.003708, allocations: 0 / 0.5223 GB, free: 116 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.327e-05/0.003771, allocations: 15.98 kB / 0.5224 GB, free: 100 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.003787, allocations: 4 kB / 0.5224 GB, free: 96 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.003808, allocations: 4 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.003943, allocations: 40.31 kB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.003946, allocations: 1.031 kB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003947, allocations: 0 / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.003952, allocations: 0 / 0.5224 GB, free: 52 kB / 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.0004208/0.004373, allocations: 365.8 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.004413, allocations: 8.031 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.004595, allocations: 12.92 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.988e-05/0.004695, allocations: 109.2 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.004714, allocations: 9.875 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.004726, allocations: 4.375 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.00488, allocations: 58.94 kB / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.004887, allocations: 192 / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.004897, allocations: 1.312 kB / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.004904, allocations: 384 / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.418e-05/0.004948, allocations: 11.92 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.005294, allocations: 256.8 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.57e-05/0.00538, allocations: 36.16 kB / 0.5232 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.005409, allocations: 11.75 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.005422, allocations: 0 / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.005448, allocations: 38.22 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.005449, allocations: 0 / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001851/0.005634, allocations: 46.2 kB / 0.5233 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.005673, allocations: 56.12 kB / 0.5234 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.245e-05/0.005765, allocations: 165.9 kB / 0.5235 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.005776, allocations: 26.39 kB / 0.5236 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.005828, allocations: 130.9 kB / 0.5237 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.005847, allocations: 8.391 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.005884, allocations: 28.14 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.006013, allocations: 496.1 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.006035, allocations: 4 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/0.006052, allocations: 6.969 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.189e-05/0.006094, allocations: 11.94 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.006096, allocations: 0 / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.417e-05/0.00619, allocations: 53.58 kB / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.006206, allocations: 8 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.006212, allocations: 3.938 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.006225, allocations: 1.031 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.073e-05/0.006316, allocations: 4 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.006322, allocations: 0.5625 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.554e-05/0.006357, allocations: 7.984 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.006363, allocations: 0.5625 kB / 0.5243 GB, free: 13.91 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 7.81e-05/0.006441, allocations: 157.5 kB / 0.5244 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.006466, allocations: 0 / 0.5244 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.006505, allocations: 17.06 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.006507, allocations: 0 / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.006511, allocations: 0 / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006514, allocations: 0 / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.006661, allocations: 118.2 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.006662, allocations: 0 / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.00671, allocations: 11.98 kB / 0.5246 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.006713, allocations: 0 / 0.5246 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.00672, allocations: 1.281 kB / 0.5246 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.006724, allocations: 3.938 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.006725, allocations: 0 / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.006873, allocations: 198.6 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.006879, allocations: 0 / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.006893, allocations: 4 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.059e-05/0.006953, allocations: 3.938 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.006994, allocations: 11.97 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.006997, allocations: 0 / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.715e-05/0.007045, allocations: 127.2 kB / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007045, allocations: 2.375 kB / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002357/0.00728, allocations: 4 kB / 0.5249 GB, free: 13.21 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.376e-05/0.007374, allocations: 99.17 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.007475, allocations: 15.69 kB / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007477, allocations: 0.7188 kB / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-05/0.007505, allocations: 15.62 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.007775, allocations: 8.938 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.008103, allocations: 134.3 kB / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.134e-05/0.008144, allocations: 55.36 kB / 0.5252 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.436e-05/0.008168, allocations: 0 / 0.5252 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.008205, allocations: 12.48 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of SimCode: time 7.62e-07/0.008205, allocations: 0 / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.003062/0.01127, allocations: 0.6902 MB / 0.5259 GB, free: 12.16 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.868938819039613]