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.000915/0.000915, 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.0009804/0.0009804, allocations: 169 kB / 24.91 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 0.9674/0.9674, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1211/0.1211, allocations: 29.43 MB / 291.2 MB, free: 2.691 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.753e-06/1.753e-06, allocations: 0 / 316.9 MB, free: 9.039 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.608e-05, allocations: 2.312 kB / 316.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.005057/0.005073, allocations: 4.088 MB / 320.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.006928, allocations: 1.469 MB / 322.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.007086, allocations: 19.81 kB / 322.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.007499, allocations: 143.2 kB / 322.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003575/0.007857, allocations: 226.7 kB / 322.8 MB, free: 3.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.008357, allocations: 255.1 kB / 323 MB, free: 2.809 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004574/0.008814, allocations: 0.5416 MB / 323.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.009074, allocations: 244.3 kB / 323.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003862/0.00946, allocations: 367.1 kB / 324.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.009699, allocations: 247.3 kB / 324.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.009735, allocations: 31.94 kB / 324.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.009963, allocations: 151.7 kB / 324.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.01013, allocations: 239.4 kB / 324.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.01025, allocations: 163.7 kB / 325 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.0106, allocations: 442.4 kB / 325.4 MB, free: 428 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.0106, allocations: 0 / 325.4 MB, free: 428 kB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.0106, allocations: 0 / 325.4 MB, free: 428 kB / 298.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.01061, allocations: 4 kB / 325.4 MB, free: 424 kB / 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.0006668/0.01127, allocations: 0.6224 MB / 326.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.0113, allocations: 8.031 kB / 326.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004053/0.01171, allocations: 128.8 kB / 326.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.01201, allocations: 312.4 kB / 326.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.01203, allocations: 29.38 kB / 326.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.719e-05/0.0121, allocations: 48.53 kB / 326.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003629/0.01247, allocations: 446.9 kB / 327 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.01248, allocations: 7.938 kB / 327 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.01251, allocations: 16 kB / 327 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-05/0.01256, allocations: 28.98 kB / 327.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.01278, allocations: 178.6 kB / 327.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.01424, allocations: 2.314 MB / 329.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.01438, allocations: 122.5 kB / 329.7 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.831e-05/0.01444, allocations: 57.75 kB / 329.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.01446, allocations: 4 kB / 329.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.01448, allocations: 42.5 kB / 329.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.352e-06/0.01448, allocations: 4 kB / 329.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006076/0.01509, allocations: 460.1 kB / 330.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.01513, allocations: 85.09 kB / 330.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.01528, allocations: 282.7 kB / 330.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.0153, allocations: 33.7 kB / 330.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.01539, allocations: 264.5 kB / 330.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.01545, allocations: 111 kB / 331 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-05/0.01553, allocations: 86.23 kB / 331.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.151e-05/0.01561, allocations: 350.7 kB / 331.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.962e-05/0.01567, allocations: 51.8 kB / 331.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.01581, allocations: 242.7 kB / 331.7 MB, free: 9.711 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.01612, allocations: 355.1 kB / 332 MB, free: 9.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01612, allocations: 0 / 332 MB, free: 9.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003832/0.01651, allocations: 304.4 kB / 332.3 MB, free: 8.965 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.01652, allocations: 16.09 kB / 332.4 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.01653, allocations: 8 kB / 332.4 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.01655, allocations: 12 kB / 332.4 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.0169, allocations: 126 kB / 332.5 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.01692, allocations: 19.92 kB / 332.5 MB, free: 8.789 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.01708, allocations: 16 kB / 332.5 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.01711, allocations: 23.98 kB / 332.6 MB, free: 8.75 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.0001115/0.01722, allocations: 144.5 kB / 332.7 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.01728, allocations: 31.91 kB / 332.7 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.01755, allocations: 193.7 kB / 332.9 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01755, allocations: 4 kB / 332.9 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01756, allocations: 0 / 332.9 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.01756, allocations: 4 kB / 332.9 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006841/0.01825, allocations: 0.5093 MB / 333.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.01825, allocations: 3.984 kB / 333.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.0185, allocations: 79.98 kB / 333.5 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.0185, allocations: 4 kB / 333.5 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.01852, allocations: 4 kB / 333.5 MB, free: 7.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.01852, allocations: 4 kB / 333.5 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01852, allocations: 0 / 333.5 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.01886, allocations: 355.7 kB / 333.9 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.0189, allocations: 35.77 kB / 333.9 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.01894, allocations: 4 kB / 333.9 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.01905, allocations: 8 kB / 333.9 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.01909, allocations: 19.95 kB / 333.9 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.0191, allocations: 12 kB / 334 MB, free: 7.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.848e-05/0.01919, allocations: 100.6 kB / 334.1 MB, free: 7.168 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01919, allocations: 0 / 334.1 MB, free: 7.168 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003633/0.01956, allocations: 92 kB / 334.1 MB, free: 7.078 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.475e-05/0.01964, allocations: 92.28 kB / 334.2 MB, free: 6.977 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.01991, allocations: 206.4 kB / 334.4 MB, free: 6.773 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.01992, allocations: 4 kB / 334.4 MB, free: 6.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.928e-05/0.02002, allocations: 80.69 kB / 334.5 MB, free: 6.688 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.02035, allocations: 83.27 kB / 334.6 MB, free: 6.613 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.02161, allocations: 0.7991 MB / 335.4 MB, free: 5.773 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.02172, allocations: 141.2 kB / 335.5 MB, free: 5.613 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.02187, allocations: 51.25 kB / 335.6 MB, free: 5.562 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.02204, allocations: 115.3 kB / 335.7 MB, free: 5.449 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.02204, allocations: 4 kB / 335.7 MB, free: 5.445 MB / 314.7 MB Notification: Performance of Templates: time 0.006283/0.02832, allocations: 3.588 MB / 339.3 MB, free: 1.922 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.824934338219464]