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.002659/0.002659, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003079/0.003079, allocations: 165.3 kB / 24.28 MB, free: 156 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 1.573/1.573, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3062/0.3062, allocations: 29.41 MB / 290.5 MB, free: 2.41 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.324e-06/2.324e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.964e-05, allocations: 5.547 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.007142/0.007171, allocations: 4.491 MB / 373.4 MB, free: 6.816 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002923/0.01009, allocations: 1.433 MB / 374.8 MB, free: 5.379 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.01028, allocations: 19.81 kB / 374.8 MB, free: 5.359 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.01154, allocations: 370.4 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008268/0.01237, allocations: 262.4 kB / 375.4 MB, free: 4.738 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008442/0.01321, allocations: 263.2 kB / 375.7 MB, free: 4.48 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007944/0.01401, allocations: 0.5689 MB / 376.3 MB, free: 3.91 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004293/0.01444, allocations: 221.5 kB / 376.5 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006133/0.01505, allocations: 354.9 kB / 376.8 MB, free: 3.348 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006155/0.01567, allocations: 351.2 kB / 377.2 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.796e-05/0.01575, allocations: 40 kB / 377.2 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000551/0.01631, allocations: 231.4 kB / 377.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.01663, allocations: 259.4 kB / 377.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.0169, allocations: 183.6 kB / 377.9 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.01797, allocations: 0.7088 MB / 378.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.01797, allocations: 0 / 378.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.01797, allocations: 0 / 378.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.01798, allocations: 0 / 378.6 MB, free: 1.594 MB / 346.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.00165/0.01963, allocations: 0.8404 MB / 379.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.01967, allocations: 11.98 kB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008903/0.02056, allocations: 168.4 kB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008496/0.02141, allocations: 374.7 kB / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.02145, allocations: 29.38 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.02159, allocations: 48.48 kB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009515/0.02255, allocations: 0.4936 MB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.02257, allocations: 4 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.02262, allocations: 16 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001945/0.02281, allocations: 56.94 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007962/0.02361, allocations: 351.6 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004488/0.0281, allocations: 2.579 MB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.0286, allocations: 202.4 kB / 383.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.02883, allocations: 111.4 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.02887, allocations: 15.92 kB / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.02892, allocations: 37.39 kB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.465e-06/0.02892, allocations: 4 kB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001987/0.0309, allocations: 0.8652 MB / 384.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.03098, allocations: 89.17 kB / 384.8 MB, free: 11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/0.03143, allocations: 378.2 kB / 385.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.03147, allocations: 33.69 kB / 385.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.03173, allocations: 315 kB / 385.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.0319, allocations: 166.6 kB / 385.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.03209, allocations: 115.8 kB / 385.8 MB, free: 9.977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003325/0.03242, allocations: 0.5392 MB / 386.4 MB, free: 9.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.03262, allocations: 85.09 kB / 386.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.03305, allocations: 330.7 kB / 386.8 MB, free: 8.922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007116/0.03376, allocations: 465.7 kB / 387.2 MB, free: 8.371 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.03377, allocations: 0 / 387.2 MB, free: 8.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008789/0.03464, allocations: 449.7 kB / 387.7 MB, free: 7.926 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.03467, allocations: 8 kB / 387.7 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.03468, allocations: 8.688 kB / 387.7 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/0.03471, allocations: 11.94 kB / 387.7 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.0352, allocations: 115.8 kB / 387.8 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.03522, allocations: 8 kB / 387.8 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.03546, allocations: 27.97 kB / 387.8 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.03551, allocations: 20 kB / 387.8 MB, free: 7.73 MB / 362.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.0002375/0.03575, allocations: 192.4 kB / 388 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.03588, allocations: 59.69 kB / 388.1 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007057/0.03659, allocations: 312.6 kB / 388.4 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-05/0.03662, allocations: 19.94 kB / 388.4 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.03662, allocations: 0 / 388.4 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.03663, allocations: 4 kB / 388.4 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.03849, allocations: 0.8699 MB / 389.3 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.03849, allocations: 3.984 kB / 389.3 MB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.03888, allocations: 71.83 kB / 389.4 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.03888, allocations: 4 kB / 389.4 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.03891, allocations: 8 kB / 389.4 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/0.03892, allocations: 8 kB / 389.4 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.03893, allocations: 4.094 kB / 389.4 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.04003, allocations: 0.5705 MB / 390 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.0401, allocations: 39.69 kB / 390 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.04016, allocations: 8 kB / 390 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.04037, allocations: 15.98 kB / 390 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.04044, allocations: 27.94 kB / 390 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.04048, allocations: 12 kB / 390.1 MB, free: 5.402 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002666/0.04074, allocations: 242.9 kB / 390.3 MB, free: 5.164 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04074, allocations: 0 / 390.3 MB, free: 5.164 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00053/0.04127, allocations: 107.9 kB / 390.4 MB, free: 5.059 MB / 362.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.0002868/0.04156, allocations: 139.1 kB / 390.5 MB, free: 4.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006537/0.04221, allocations: 306.3 kB / 390.8 MB, free: 4.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.04222, allocations: 4.438 kB / 390.8 MB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.04247, allocations: 139.5 kB / 391 MB, free: 4.469 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.04302, allocations: 74.78 kB / 391.1 MB, free: 4.402 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.04471, allocations: 0.9136 MB / 392 MB, free: 3.441 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.04505, allocations: 258.2 kB / 392.2 MB, free: 3.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002989/0.04535, allocations: 95.17 kB / 392.3 MB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.04546, allocations: 32.5 kB / 392.3 MB, free: 3.043 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.04546, allocations: 0 / 392.3 MB, free: 3.043 MB / 362.7 MB Notification: Performance of Templates: time 0.01022/0.05568, allocations: 3.809 MB / 396.2 MB, free: 15.3 MB / 378.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: 5.005357237998396]