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.00132/0.00132, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001126/0.001126, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.9741/0.9741, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.848/0.848, allocations: 154.9 MB / 415.9 MB, free: 268 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 1.623e-06/1.623e-06, allocations: 0 / 0.5219 GB, free: 1.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.399e-05, allocations: 6.25 kB / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002083/0.002107, allocations: 1.497 MB / 0.5234 GB, free: 36 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00027/0.002377, allocations: 92.06 kB / 0.5234 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.002411, allocations: 1.672 kB / 0.5234 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.002435, allocations: 0 / 0.5234 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.002481, allocations: 9.438 kB / 0.5235 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.002639, allocations: 19.95 kB / 0.5235 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.824e-05/0.002697, allocations: 27.92 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.174e-05/0.002769, allocations: 0 / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.542e-05/0.002824, allocations: 16.92 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.117e-05/0.002855, allocations: 11.94 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.00287, allocations: 0 / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.069e-05/0.002921, allocations: 17.39 kB / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.002937, allocations: 4 kB / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.002956, allocations: 11.97 kB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.003057, allocations: 35.78 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00306, allocations: 1.156 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.51e-07/0.00306, allocations: 0 / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003064, allocations: 0 / 0.5236 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.0002958/0.003359, allocations: 369.3 kB / 0.5239 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.003414, allocations: 13.3 kB / 0.524 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.00354, allocations: 8.938 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.374e-05/0.003614, allocations: 112.6 kB / 0.5241 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.003625, allocations: 5.719 kB / 0.5241 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.96e-06/0.00363, allocations: 384 / 0.5241 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.282e-05/0.003722, allocations: 50.95 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.003729, allocations: 0.875 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.003738, allocations: 12.36 kB / 0.5241 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.003743, allocations: 2.219 kB / 0.5241 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.255e-05/0.003775, allocations: 11.88 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.004003, allocations: 228.5 kB / 0.5244 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.388e-05/0.004057, allocations: 35.05 kB / 0.5244 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.004072, allocations: 13.62 kB / 0.5244 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.004082, allocations: 0 / 0.5244 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.004103, allocations: 41.38 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.004104, allocations: 0 / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001235/0.004228, allocations: 47.05 kB / 0.5245 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.004257, allocations: 51.41 kB / 0.5246 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.004323, allocations: 161.9 kB / 0.5247 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.004332, allocations: 25.7 kB / 0.5247 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.004373, allocations: 135.8 kB / 0.5249 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.004389, allocations: 7.891 kB / 0.5249 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.004418, allocations: 23.36 kB / 0.5249 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.004522, allocations: 493.4 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.004537, allocations: 4 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-06/0.004547, allocations: 0 / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.944e-05/0.004577, allocations: 20.62 kB / 0.5254 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.004579, allocations: 256 / 0.5254 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.903e-05/0.004638, allocations: 46.67 kB / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.004649, allocations: 4 kB / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.004654, allocations: 5.219 kB / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.004663, allocations: 3.938 kB / 0.5254 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.004728, allocations: 8 kB / 0.5255 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.004731, allocations: 1.781 kB / 0.5255 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.004753, allocations: 7.984 kB / 0.5255 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.004757, allocations: 0 / 0.5255 GB, free: 13.7 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.259e-05/0.00482, allocations: 156.6 kB / 0.5256 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.004837, allocations: 5.812 kB / 0.5256 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.004859, allocations: 7.625 kB / 0.5256 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.004862, allocations: 3.938 kB / 0.5256 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-06/0.004864, allocations: 0 / 0.5256 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.004867, allocations: 0 / 0.5256 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.585e-05/0.004962, allocations: 107.1 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004963, allocations: 3.938 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.004993, allocations: 7.984 kB / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.004994, allocations: 0 / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.004998, allocations: 0 / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.005, allocations: 6.438 kB / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.005001, allocations: 0 / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.005105, allocations: 191.8 kB / 0.5259 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.005113, allocations: 7.984 kB / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-06/0.005121, allocations: 0 / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.514e-05/0.005157, allocations: 6.375 kB / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.005182, allocations: 0 / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.005186, allocations: 7.922 kB / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.005222, allocations: 127.2 kB / 0.5261 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005222, allocations: 0 / 0.5261 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001357/0.005358, allocations: 7.938 kB / 0.5261 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 8.2e-05/0.00544, allocations: 104.2 kB / 0.5262 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.005512, allocations: 16.61 kB / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.005513, allocations: 0 / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.005532, allocations: 14.75 kB / 0.5262 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.0001854/0.005717, allocations: 7.5 kB / 0.5262 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002216/0.005939, allocations: 122.3 kB / 0.5263 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.028e-05/0.005969, allocations: 55.3 kB / 0.5264 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.999e-05/0.005989, allocations: 10.69 kB / 0.5264 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.006036, allocations: 66.2 kB / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.006037, allocations: 4 kB / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.002103/0.00814, allocations: 0.7179 MB / 0.5272 GB, free: 11.88 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.7974561150185764]