Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.001252/0.001252, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001149/0.001149, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2542/0.2542, allocations: 29.41 MB / 291.2 MB, free: 2.426 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.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.138e-05, allocations: 4.766 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.003919/0.003941, allocations: 4.101 MB / 321 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.005943, allocations: 1.454 MB / 322.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.006114, allocations: 23.81 kB / 322.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005054/0.00662, allocations: 143.1 kB / 322.6 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.006996, allocations: 246.7 kB / 322.8 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.007499, allocations: 259.1 kB / 323.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.007978, allocations: 0.5728 MB / 323.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002838/0.008262, allocations: 244.3 kB / 323.9 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004819/0.008744, allocations: 387 kB / 324.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.009059, allocations: 299.2 kB / 324.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.009107, allocations: 43.94 kB / 324.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000376/0.009483, allocations: 235.5 kB / 324.8 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.00966, allocations: 251.4 kB / 325.1 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.00979, allocations: 183.6 kB / 325.2 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004955/0.01029, allocations: 0.5451 MB / 325.8 MB, free: 7.008 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01029, allocations: 0 / 325.8 MB, free: 7.008 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01029, allocations: 0 / 325.8 MB, free: 7.008 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.01029, allocations: 0 / 325.8 MB, free: 7.008 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0007195/0.01101, allocations: 0.6414 MB / 326.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.01104, allocations: 11.98 kB / 326.4 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004443/0.01149, allocations: 136.8 kB / 326.6 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.01185, allocations: 324.3 kB / 326.9 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.01187, allocations: 25.38 kB / 326.9 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.681e-05/0.01194, allocations: 48.5 kB / 327 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.01236, allocations: 423.9 kB / 327.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.01238, allocations: 0 / 327.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.01241, allocations: 19.98 kB / 327.4 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.148e-05/0.01249, allocations: 44.98 kB / 327.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.01277, allocations: 237.4 kB / 327.7 MB, free: 5.035 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.01442, allocations: 1.885 MB / 329.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.01463, allocations: 191.8 kB / 329.8 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/0.0147, allocations: 69.75 kB / 329.8 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.01472, allocations: 12 kB / 329.8 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.01475, allocations: 42.5 kB / 329.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.723e-06/0.01475, allocations: 0 / 329.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007885/0.01554, allocations: 0.5845 MB / 330.5 MB, free: 2.098 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.01558, allocations: 89.31 kB / 330.5 MB, free: 1.992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.01573, allocations: 270.8 kB / 330.8 MB, free: 1.711 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.01574, allocations: 29.7 kB / 330.8 MB, free: 1.676 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.01583, allocations: 248.7 kB / 331.1 MB, free: 1.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/0.01591, allocations: 158.6 kB / 331.2 MB, free: 1.273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.454e-05/0.01599, allocations: 90.09 kB / 331.3 MB, free: 1.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.01608, allocations: 350.7 kB / 331.7 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.01616, allocations: 63.95 kB / 331.7 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.01629, allocations: 205.6 kB / 331.9 MB, free: 500 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.01657, allocations: 346.2 kB / 332.3 MB, free: 80 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01657, allocations: 0 / 332.3 MB, free: 80 kB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003338/0.0169, allocations: 328.7 kB / 332.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.01692, allocations: 8 kB / 332.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01693, allocations: 4 kB / 332.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.01694, allocations: 8 kB / 332.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.01721, allocations: 116.8 kB / 332.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.01722, allocations: 12.41 kB / 332.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.01732, allocations: 19.98 kB / 332.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.01734, allocations: 16 kB / 332.8 MB, free: 15.57 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * 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 9.758e-05/0.01744, allocations: 140.5 kB / 332.9 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.01751, allocations: 39.97 kB / 332.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.01775, allocations: 232.4 kB / 333.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.01776, allocations: 15.88 kB / 333.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01776, allocations: 4 kB / 333.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01777, allocations: 0 / 333.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.0184, allocations: 0.6157 MB / 333.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.0184, allocations: 4 kB / 333.8 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.0186, allocations: 83.81 kB / 333.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01861, allocations: 3.938 kB / 333.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.01862, allocations: 8 kB / 333.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.01863, allocations: 4 kB / 333.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.01863, allocations: 0 / 333.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.01899, allocations: 439.9 kB / 334.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.01901, allocations: 31.7 kB / 334.4 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.01904, allocations: 8 kB / 334.4 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.01913, allocations: 15.98 kB / 334.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.01916, allocations: 23.95 kB / 334.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.01918, allocations: 8 kB / 334.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.1e-05/0.01924, allocations: 88.64 kB / 334.5 MB, free: 13.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01924, allocations: 0 / 334.5 MB, free: 13.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.01951, allocations: 111.9 kB / 334.6 MB, free: 13.63 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (33): * Single equations (assignments): 30 * Array equations: 2 * 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 0.0001408/0.01965, allocations: 120.2 kB / 334.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.01989, allocations: 224.1 kB / 335 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.0199, allocations: 4 kB / 335 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.58e-05/0.01999, allocations: 96.92 kB / 335.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.02026, allocations: 89.69 kB / 335.1 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.02138, allocations: 0.8639 MB / 336 MB, free: 12.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.134e-05/0.02147, allocations: 149.7 kB / 336.2 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.0216, allocations: 55.25 kB / 336.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.02174, allocations: 111.3 kB / 336.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02174, allocations: 0 / 336.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of Templates: time 0.006147/0.02789, allocations: 4.168 MB / 340.5 MB, free: 7.773 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.857329879887402]