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.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.0008771/0.0008771, allocations: 80.8 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.0009258/0.0009258, allocations: 170.4 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.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2479/0.2479, allocations: 29.4 MB / 291.2 MB, free: 2.457 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.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 1.683e-06/1.683e-06, allocations: 0 / 316.8 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.09e-05, allocations: 3.516 kB / 316.8 MB, free: 64 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.003599/0.00362, allocations: 4.062 MB / 320.9 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.005237, allocations: 1.45 MB / 322.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.005387, allocations: 19.81 kB / 322.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.005824, allocations: 143.1 kB / 322.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.006143, allocations: 238.7 kB / 322.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.006585, allocations: 251.2 kB / 323 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000429/0.007014, allocations: 0.5455 MB / 323.5 MB, free: 9.332 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002956/0.007309, allocations: 248.2 kB / 323.7 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004304/0.00774, allocations: 375.1 kB / 324.1 MB, free: 8.719 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.007984, allocations: 239.3 kB / 324.3 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.008021, allocations: 32 kB / 324.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.008234, allocations: 151.7 kB / 324.5 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.008402, allocations: 231.4 kB / 324.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.008531, allocations: 167.6 kB / 324.9 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.008915, allocations: 442.5 kB / 325.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.008917, allocations: 0 / 325.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.008918, allocations: 4 kB / 325.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.008923, allocations: 0 / 325.4 MB, free: 7.477 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.0006618/0.009584, allocations: 0.6182 MB / 326 MB, free: 6.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.009617, allocations: 11.98 kB / 326 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004195/0.01004, allocations: 124.8 kB / 326.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.01038, allocations: 312.4 kB / 326.4 MB, free: 6.371 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.0104, allocations: 33.36 kB / 326.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.028e-05/0.01048, allocations: 40.56 kB / 326.5 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.01086, allocations: 450.9 kB / 326.9 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.01088, allocations: 3.938 kB / 326.9 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.0109, allocations: 20 kB / 326.9 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.633e-05/0.01096, allocations: 24.98 kB / 327 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.01116, allocations: 186.6 kB / 327.1 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.01271, allocations: 2.31 MB / 329.5 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.01288, allocations: 127.5 kB / 329.6 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.118e-05/0.01294, allocations: 61.69 kB / 329.6 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.01296, allocations: 8 kB / 329.7 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.01298, allocations: 46.5 kB / 329.7 MB, free: 2.867 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.382e-06/0.01298, allocations: 0 / 329.7 MB, free: 2.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.000627/0.01361, allocations: 463.2 kB / 330.1 MB, free: 2.383 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.01366, allocations: 81.11 kB / 330.2 MB, free: 2.285 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.01382, allocations: 294.7 kB / 330.5 MB, free: 1.984 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.01384, allocations: 33.7 kB / 330.5 MB, free: 1.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.01395, allocations: 260.5 kB / 330.8 MB, free: 1.688 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.014, allocations: 103.1 kB / 330.9 MB, free: 1.586 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-05/0.01408, allocations: 98.16 kB / 331 MB, free: 1.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.01417, allocations: 346.7 kB / 331.3 MB, free: 1.137 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.816e-05/0.01423, allocations: 47.81 kB / 331.4 MB, free: 1.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.01438, allocations: 242.7 kB / 331.6 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.01462, allocations: 364 kB / 332 MB, free: 312 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01463, allocations: 0 / 332 MB, free: 312 kB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002616/0.01489, allocations: 300.6 kB / 332.3 MB, free: 4 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.01491, allocations: 15.98 kB / 332.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.01492, allocations: 8 kB / 332.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.01494, allocations: 8 kB / 332.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.01514, allocations: 107.8 kB / 332.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.01515, allocations: 19.92 kB / 332.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.766e-05/0.01525, allocations: 12 kB / 332.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.01527, allocations: 19.98 kB / 332.5 MB, free: 15.82 MB / 314.7 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.0001007/0.01537, allocations: 144.5 kB / 332.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.01541, allocations: 27.97 kB / 332.6 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.01563, allocations: 197.7 kB / 332.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01563, allocations: 4 kB / 332.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.01563, allocations: 0 / 332.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.01564, allocations: 0 / 332.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005383/0.01618, allocations: 0.5246 MB / 333.3 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01618, allocations: 0 / 333.3 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.01632, allocations: 59.92 kB / 333.4 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.01633, allocations: 12.08 kB / 333.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.01634, allocations: 8 kB / 333.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01634, allocations: 0 / 333.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01635, allocations: 7.938 kB / 333.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.01662, allocations: 343.1 kB / 333.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.01665, allocations: 31.77 kB / 333.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.01668, allocations: 11.98 kB / 333.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.01675, allocations: 4 kB / 333.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.01677, allocations: 19.97 kB / 333.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.01679, allocations: 11.98 kB / 333.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.469e-05/0.01685, allocations: 100.6 kB / 333.9 MB, free: 14.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01685, allocations: 0 / 333.9 MB, free: 14.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002338/0.01708, allocations: 92 kB / 334 MB, free: 14.15 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 (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 8.8e-05/0.01717, allocations: 84.36 kB / 334.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.01738, allocations: 219.2 kB / 334.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.01738, allocations: 4 kB / 334.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/0.01746, allocations: 76.7 kB / 334.4 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.01772, allocations: 81.22 kB / 334.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.01882, allocations: 0.7964 MB / 335.3 MB, free: 12.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.875e-05/0.01891, allocations: 141.2 kB / 335.4 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.01903, allocations: 47.27 kB / 335.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.01916, allocations: 111.3 kB / 335.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01916, allocations: 4 kB / 335.6 MB, free: 12.53 MB / 314.7 MB Notification: Performance of Templates: time 0.005224/0.02438, allocations: 3.495 MB / 339.1 MB, free: 9.105 MB / 314.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.930092037189752]