Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 184.5 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 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.1876/0.1876, allocations: 38.5 MB / 344.4 MB, free: 2.543 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003078/0.003078, allocations: 63.89 kB / 482 MB, free: 13.58 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.131, allocations: 61.24 MB / 0.5305 GB, free: 208 kB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.00653/0.1375, allocations: 4.532 MB / 0.535 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.14, allocations: 1.449 MB / 0.5364 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.1402, allocations: 11.94 kB / 0.5364 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.1414, allocations: 382.4 kB / 0.5368 GB, free: 9.797 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004948/0.1419, allocations: 222.9 kB / 0.537 GB, free: 9.578 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.1425, allocations: 251.4 kB / 0.5372 GB, free: 9.332 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006143/0.1431, allocations: 0.53 MB / 0.5377 GB, free: 8.801 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/0.1435, allocations: 205 kB / 0.5379 GB, free: 8.602 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003313/0.1438, allocations: 251 kB / 0.5382 GB, free: 8.355 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.1443, allocations: 311 kB / 0.5385 GB, free: 8.051 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/0.1443, allocations: 32 kB / 0.5385 GB, free: 8.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.1446, allocations: 155.7 kB / 0.5386 GB, free: 7.867 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.1448, allocations: 219.4 kB / 0.5388 GB, free: 7.652 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.1451, allocations: 234.9 kB / 0.5391 GB, free: 7.422 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006497/0.1457, allocations: 0.5642 MB / 0.5396 GB, free: 6.855 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1457, allocations: 0 / 0.5396 GB, free: 6.855 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1457, allocations: 7.938 kB / 0.5396 GB, free: 6.848 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1457, allocations: 0 / 0.5396 GB, free: 6.848 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001302/0.147, allocations: 0.746 MB / 0.5404 GB, free: 6.055 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1471, allocations: 15.83 kB / 0.5404 GB, free: 6.039 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005216/0.1476, allocations: 84.59 kB / 0.5405 GB, free: 5.957 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006649/0.1483, allocations: 407.4 kB / 0.5408 GB, free: 5.523 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.1483, allocations: 41.36 kB / 0.5409 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.1484, allocations: 56.09 kB / 0.5409 GB, free: 5.426 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009109/0.1494, allocations: 0.617 MB / 0.5415 GB, free: 4.746 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.1494, allocations: 7.938 kB / 0.5415 GB, free: 4.738 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.1494, allocations: 16 kB / 0.5416 GB, free: 4.723 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.1495, allocations: 28.98 kB / 0.5416 GB, free: 4.691 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007558/0.1503, allocations: 483.5 kB / 0.542 GB, free: 4.219 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003519/0.1538, allocations: 2.884 MB / 0.5449 GB, free: 1.184 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.1542, allocations: 220.1 kB / 0.5451 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.1544, allocations: 133.7 kB / 0.5452 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.275e-05/0.1545, allocations: 7.938 kB / 0.5452 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.1545, allocations: 42.56 kB / 0.5452 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of pre-optimization done (n=27): time 1.814e-06/0.1545, allocations: 0 / 0.5452 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.2389/0.3934, allocations: 0.9742 MB / 0.5462 GB, free: 56.63 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.3935, allocations: 80.3 kB / 0.5463 GB, free: 56.54 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.3938, allocations: 321.3 kB / 0.5466 GB, free: 56.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.3938, allocations: 30.17 kB / 0.5466 GB, free: 56.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.394, allocations: 285.4 kB / 0.5469 GB, free: 56.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.394, allocations: 107.6 kB / 0.547 GB, free: 56.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.3941, allocations: 97.92 kB / 0.5471 GB, free: 56.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.516e-05/0.3942, allocations: 346.7 kB / 0.5474 GB, free: 55.85 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.3944, allocations: 150.2 kB / 0.5476 GB, free: 55.85 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.3947, allocations: 341.4 kB / 0.5479 GB, free: 55.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.3951, allocations: 0.5217 MB / 0.5484 GB, free: 55.37 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3951, allocations: 1.781 kB / 0.5484 GB, free: 55.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007182/0.3959, allocations: 0.5305 MB / 0.5489 GB, free: 55.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.3959, allocations: 8.688 kB / 0.5489 GB, free: 55.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.3959, allocations: 10.75 kB / 0.5489 GB, free: 55.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/0.3959, allocations: 8.812 kB / 0.5489 GB, free: 55.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.3964, allocations: 117.4 kB / 0.549 GB, free: 55.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/0.3964, allocations: 15 kB / 0.5491 GB, free: 55.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.3967, allocations: 29.2 kB / 0.5491 GB, free: 55.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.3967, allocations: 24.28 kB / 0.5491 GB, free: 55.32 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * 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.0002264/0.3969, allocations: 213.7 kB / 0.5493 GB, free: 55.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.397, allocations: 41.23 kB / 0.5494 GB, free: 55.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005978/0.3976, allocations: 359.9 kB / 0.5497 GB, free: 55.15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3976, allocations: 3.25 kB / 0.5497 GB, free: 55.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.3976, allocations: 0.75 kB / 0.5497 GB, free: 55.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.3976, allocations: 3.844 kB / 0.5497 GB, free: 55.15 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.399, allocations: 0.8868 MB / 0.5506 GB, free: 54.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.399, allocations: 0.75 kB / 0.5506 GB, free: 54.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.3993, allocations: 68.45 kB / 0.5506 GB, free: 54.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3993, allocations: 0 / 0.5506 GB, free: 54.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.3993, allocations: 9.531 kB / 0.5506 GB, free: 54.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3993, allocations: 0.9375 kB / 0.5506 GB, free: 54.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3993, allocations: 6.406 kB / 0.5507 GB, free: 54.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007176/0.4, allocations: 0.5891 MB / 0.5512 GB, free: 54.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.4001, allocations: 113.8 kB / 0.5513 GB, free: 54.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.4001, allocations: 8.766 kB / 0.5513 GB, free: 54.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.4003, allocations: 11.09 kB / 0.5514 GB, free: 54.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.4004, allocations: 24.14 kB / 0.5514 GB, free: 54.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.4004, allocations: 15.03 kB / 0.5514 GB, free: 54.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.4006, allocations: 219.6 kB / 0.5516 GB, free: 54.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4006, allocations: 0.5625 kB / 0.5516 GB, free: 54.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004584/0.401, allocations: 92.53 kB / 0.5517 GB, free: 54.43 MB / 462.1 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 (31): * Single equations (assignments): 30 * 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 0.0001076/0.4011, allocations: 108.9 kB / 0.5518 GB, free: 54.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005195/0.4017, allocations: 354.2 kB / 0.5521 GB, free: 54.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4017, allocations: 0 / 0.5521 GB, free: 54.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.4018, allocations: 138.2 kB / 0.5523 GB, free: 54.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.4023, allocations: 70.53 kB / 0.5523 GB, free: 54.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.4036, allocations: 1.013 MB / 0.5533 GB, free: 53.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.4039, allocations: 0.86 MB / 0.5542 GB, free: 53.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002772/0.4042, allocations: 136.1 kB / 0.5543 GB, free: 53.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.23e-05/0.4043, allocations: 29.75 kB / 0.5543 GB, free: 53.23 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4043, allocations: 0 / 0.5543 GB, free: 53.23 MB / 462.1 MB Notification: Performance of Templates: time 0.006836/0.4111, allocations: 3.609 MB / 0.5578 GB, free: 53.04 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.039365030825138]