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.0009915/0.0009915, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001015/0.001015, allocations: 170.8 kB / 24.92 MB, free: 8.773 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 0.987/0.987, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2373/0.2373, allocations: 29.42 MB / 291.2 MB, free: 2.492 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.515e-06/2.515e-06, allocations: 0 / 316.8 MB, free: 56 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.825e-05, allocations: 6.25 kB / 316.8 MB, free: 48 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.006786/0.006814, allocations: 4.067 MB / 320.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003583/0.0104, allocations: 1.458 MB / 322.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004404/0.01084, allocations: 15.88 kB / 322.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008007/0.01164, allocations: 143.1 kB / 322.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009027/0.01254, allocations: 258.5 kB / 322.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.01356, allocations: 255.2 kB / 323 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008947/0.01446, allocations: 0.5766 MB / 323.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000501/0.01496, allocations: 240.3 kB / 323.8 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008741/0.01583, allocations: 395 kB / 324.2 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006284/0.01646, allocations: 299.2 kB / 324.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.0166, allocations: 44 kB / 324.5 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000696/0.0173, allocations: 223.6 kB / 324.7 MB, free: 8.074 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.01761, allocations: 259.4 kB / 325 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003314/0.01794, allocations: 179.6 kB / 325.2 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009827/0.01893, allocations: 0.5373 MB / 325.7 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.01893, allocations: 3.984 kB / 325.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01893, allocations: 0 / 325.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.232e-05/0.01896, allocations: 3.938 kB / 325.7 MB, free: 7.098 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.001334/0.02029, allocations: 0.6414 MB / 326.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.02034, allocations: 15.98 kB / 326.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000749/0.02109, allocations: 132.7 kB / 326.5 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.02165, allocations: 320.3 kB / 326.8 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.02168, allocations: 29.38 kB / 326.8 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.02182, allocations: 48.5 kB / 326.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006615/0.02248, allocations: 415.9 kB / 327.3 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.0225, allocations: 7.922 kB / 327.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.02255, allocations: 16 kB / 327.3 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.02268, allocations: 44.95 kB / 327.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005065/0.02319, allocations: 237.6 kB / 327.6 MB, free: 5.129 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002937/0.02613, allocations: 1.885 MB / 329.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.02648, allocations: 191.8 kB / 329.7 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.02661, allocations: 73.7 kB / 329.7 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.02664, allocations: 4 kB / 329.7 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.02667, allocations: 38.56 kB / 329.8 MB, free: 2.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 3.176e-06/0.02667, allocations: 0 / 329.8 MB, free: 2.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001402/0.02807, allocations: 0.5923 MB / 330.4 MB, free: 2.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.02811, allocations: 89.34 kB / 330.5 MB, free: 2.082 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.02831, allocations: 266.8 kB / 330.7 MB, free: 1.805 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.464e-05/0.02836, allocations: 33.7 kB / 330.8 MB, free: 1.766 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.666e-05/0.02846, allocations: 240.7 kB / 331 MB, free: 1.527 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.642e-05/0.02854, allocations: 158.6 kB / 331.1 MB, free: 1.371 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.908e-05/0.02863, allocations: 90.09 kB / 331.2 MB, free: 1.273 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.02873, allocations: 350.7 kB / 331.6 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.0288, allocations: 59.95 kB / 331.6 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.02897, allocations: 221.5 kB / 331.8 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.02926, allocations: 346 kB / 332.2 MB, free: 168 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.02926, allocations: 0 / 332.2 MB, free: 168 kB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003471/0.02961, allocations: 325.3 kB / 332.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.02962, allocations: 8 kB / 332.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.02963, allocations: 4.688 kB / 332.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.02964, allocations: 8 kB / 332.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.02986, allocations: 115.8 kB / 332.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.02987, allocations: 4 kB / 332.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.02999, allocations: 16 kB / 332.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.03002, allocations: 20 kB / 332.7 MB, free: 15.67 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 0.0001122/0.03013, allocations: 144.5 kB / 332.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-05/0.03019, allocations: 35.95 kB / 332.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.03044, allocations: 224.6 kB / 333.1 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.03046, allocations: 15.98 kB / 333.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.03046, allocations: 7.938 kB / 333.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.03047, allocations: 0 / 333.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.03113, allocations: 0.6157 MB / 333.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.03114, allocations: 0 / 333.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.03129, allocations: 59.91 kB / 333.8 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.03129, allocations: 4 kB / 333.8 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.03131, allocations: 7.938 kB / 333.8 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.03131, allocations: 8.031 kB / 333.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.03131, allocations: 4 kB / 333.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.03165, allocations: 431.9 kB / 334.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.03168, allocations: 31.77 kB / 334.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.03171, allocations: 11.94 kB / 334.3 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.03179, allocations: 11.98 kB / 334.3 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.03182, allocations: 27.89 kB / 334.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.03184, allocations: 12 kB / 334.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.993e-05/0.0319, allocations: 88.64 kB / 334.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0319, allocations: 0 / 334.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002819/0.03218, allocations: 115.9 kB / 334.5 MB, free: 13.75 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.0001562/0.03234, allocations: 116.2 kB / 334.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.03256, allocations: 228.1 kB / 334.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.03257, allocations: 4.062 kB / 334.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.676e-05/0.03265, allocations: 100.6 kB / 334.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.03291, allocations: 84.97 kB / 335 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.03399, allocations: 0.8681 MB / 335.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.786e-05/0.03408, allocations: 149.7 kB / 336 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.03419, allocations: 55.25 kB / 336.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.03432, allocations: 111.3 kB / 336.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of SimCode: time 3.71e-07/0.03432, allocations: 0 / 336.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of Templates: time 0.005527/0.03985, allocations: 4.073 MB / 340.3 MB, free: 7.977 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8696814733557403]