Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.00107/0.00107, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001069/0.001069, allocations: 174.3 kB / 24.91 MB, free: 8.77 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.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2395/0.2395, allocations: 29.42 MB / 291.2 MB, free: 2.375 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.361e-05/3.575e-05, allocations: 3.188 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.00753/0.007566, allocations: 5.113 MB / 322 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.01137, allocations: 1.987 MB / 324 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004859/0.01186, allocations: 27.75 kB / 324 MB, free: 8.816 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000693/0.01255, allocations: 194.8 kB / 324.2 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008717/0.01342, allocations: 381.8 kB / 324.5 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.01452, allocations: 414.6 kB / 325 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.01566, allocations: 0.9509 MB / 325.9 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006127/0.01628, allocations: 438.3 kB / 326.3 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009194/0.0172, allocations: 0.6039 MB / 326.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006888/0.01789, allocations: 466.8 kB / 327.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.632e-05/0.01798, allocations: 56 kB / 327.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000536/0.01852, allocations: 251.5 kB / 327.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004044/0.01892, allocations: 442.9 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.01926, allocations: 295.4 kB / 328.4 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.02028, allocations: 0.7786 MB / 329.2 MB, free: 3.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.02028, allocations: 0 / 329.2 MB, free: 3.586 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.02028, allocations: 0 / 329.2 MB, free: 3.586 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.0203, allocations: 0 / 329.2 MB, free: 3.586 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.0009921/0.02129, allocations: 0.9388 MB / 330.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.02132, allocations: 11.98 kB / 330.1 MB, free: 2.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006272/0.02195, allocations: 232.6 kB / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.02242, allocations: 440.8 kB / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.02245, allocations: 62.31 kB / 330.9 MB, free: 1.863 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.02253, allocations: 84.3 kB / 330.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.02315, allocations: 0.7503 MB / 331.7 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.02318, allocations: 15.88 kB / 331.7 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.02322, allocations: 35.98 kB / 331.7 MB, free: 0.875 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-05/0.02327, allocations: 53.98 kB / 331.8 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003696/0.02363, allocations: 317.3 kB / 332.1 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003275/0.02691, allocations: 4.186 MB / 336.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.02718, allocations: 207.4 kB / 336.5 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.867e-05/0.02726, allocations: 73.77 kB / 336.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.02728, allocations: 11.98 kB / 336.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.02731, allocations: 39.25 kB / 336.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 2.785e-06/0.02731, allocations: 0 / 336.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006505/0.02796, allocations: 449.6 kB / 337.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.028, allocations: 89.14 kB / 337.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.02823, allocations: 426.7 kB / 337.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.02826, allocations: 41.64 kB / 337.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.02841, allocations: 435.8 kB / 338 MB, free: 10.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.52e-05/0.0285, allocations: 162.6 kB / 338.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.02861, allocations: 142.5 kB / 338.3 MB, free: 9.996 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.74e-05/0.0287, allocations: 366.7 kB / 338.7 MB, free: 9.629 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-05/0.02877, allocations: 73.95 kB / 338.8 MB, free: 9.559 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.029, allocations: 463.6 kB / 339.2 MB, free: 8.926 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.02944, allocations: 0.6358 MB / 339.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.299e-06/0.02944, allocations: 7.938 kB / 339.8 MB, free: 8.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00046/0.0299, allocations: 0.5063 MB / 340.4 MB, free: 7.586 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.02992, allocations: 15.92 kB / 340.4 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.02993, allocations: 16 kB / 340.4 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.02995, allocations: 16 kB / 340.4 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.03036, allocations: 218.6 kB / 340.6 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.03038, allocations: 27.92 kB / 340.6 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.03056, allocations: 31.95 kB / 340.7 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.03059, allocations: 40.06 kB / 340.7 MB, free: 7.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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.0001299/0.03072, allocations: 172.3 kB / 340.9 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.03077, allocations: 43.91 kB / 340.9 MB, free: 7.008 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/0.03108, allocations: 288.1 kB / 341.2 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.03108, allocations: 4 kB / 341.2 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.03109, allocations: 0 / 341.2 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.03109, allocations: 3.984 kB / 341.2 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007627/0.03185, allocations: 0.8044 MB / 342 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.03186, allocations: 4 kB / 342 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.03211, allocations: 123.8 kB / 342.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.03211, allocations: 4 kB / 342.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.03213, allocations: 12.25 kB / 342.2 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.03214, allocations: 8 kB / 342.2 MB, free: 5.699 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.03214, allocations: 11.88 kB / 342.2 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.0324, allocations: 391.5 kB / 342.6 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.03244, allocations: 51.61 kB / 342.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.03248, allocations: 12 kB / 342.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.03258, allocations: 12 kB / 342.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.03262, allocations: 39.81 kB / 342.7 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.03263, allocations: 8 kB / 342.7 MB, free: 5.141 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002635/0.0329, allocations: 164.6 kB / 342.8 MB, free: 4.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.0329, allocations: 4 kB / 342.8 MB, free: 4.977 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003515/0.03325, allocations: 164 kB / 343 MB, free: 4.816 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.04e-05/0.03334, allocations: 92.23 kB / 343.1 MB, free: 4.719 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.03365, allocations: 349.1 kB / 343.4 MB, free: 4.379 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/0.03367, allocations: 10.44 kB / 343.4 MB, free: 4.371 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.03378, allocations: 133.3 kB / 343.6 MB, free: 4.234 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.03414, allocations: 137.5 kB / 343.7 MB, free: 4.109 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.03556, allocations: 1.196 MB / 344.9 MB, free: 2.848 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.03569, allocations: 214 kB / 345.1 MB, free: 2.617 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.03588, allocations: 85.11 kB / 345.2 MB, free: 2.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.03608, allocations: 155.3 kB / 345.4 MB, free: 2.383 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.03608, allocations: 0 / 345.4 MB, free: 2.383 MB / 314.7 MB Notification: Performance of Templates: time 0.008276/0.04436, allocations: 5.9 MB / 351.3 MB, free: 12.59 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.891911851707846]