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.0009987/0.0009987, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001292/0.001292, allocations: 163 kB / 24.99 MB, free: 8.336 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.068/1.068, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2563/0.2563, allocations: 29.42 MB / 291.2 MB, free: 2.508 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.643e-06/1.643e-06, allocations: 0 / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.659e-05, allocations: 2.312 kB / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.0044/0.004426, allocations: 4.539 MB / 374.1 MB, free: 6.777 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.006646, allocations: 1.433 MB / 375.6 MB, free: 5.34 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.006828, allocations: 19.81 kB / 375.6 MB, free: 5.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007055/0.007533, allocations: 382.3 kB / 376 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004395/0.007973, allocations: 238.6 kB / 376.2 MB, free: 4.711 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.008459, allocations: 263.1 kB / 376.4 MB, free: 4.453 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003936/0.008852, allocations: 0.5494 MB / 377 MB, free: 3.902 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003523/0.009204, allocations: 209.5 kB / 377.2 MB, free: 3.699 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/0.009531, allocations: 335 kB / 377.5 MB, free: 3.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.009806, allocations: 283.3 kB / 377.8 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.00985, allocations: 32 kB / 377.8 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.01005, allocations: 147.7 kB / 378 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.0102, allocations: 243.4 kB / 378.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.01033, allocations: 171.6 kB / 378.4 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005409/0.01087, allocations: 446.5 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01087, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01087, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.01088, allocations: 0 / 378.8 MB, free: 2.074 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.0008037/0.01168, allocations: 0.7706 MB / 379.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.01172, allocations: 15.92 kB / 379.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004948/0.01221, allocations: 176.4 kB / 379.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.01262, allocations: 354.8 kB / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.01264, allocations: 29.38 kB / 380.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.55e-05/0.01272, allocations: 40.56 kB / 380.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.01324, allocations: 0.498 MB / 380.7 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.01326, allocations: 4 kB / 380.7 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.01329, allocations: 19.98 kB / 380.7 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.067e-05/0.01338, allocations: 32.98 kB / 380.8 MB, free: 0 / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.01372, allocations: 233.7 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.01594, allocations: 3.341 MB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.01616, allocations: 178.6 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.01626, allocations: 79.41 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.01628, allocations: 4 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.01631, allocations: 45.33 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.633e-06/0.01631, allocations: 0 / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009138/0.01723, allocations: 0.6614 MB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.01727, allocations: 81.11 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.01749, allocations: 358.2 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.01751, allocations: 29.7 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.01764, allocations: 338.8 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.0177, allocations: 103.2 kB / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.01779, allocations: 103.6 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.01792, allocations: 0.5235 MB / 386.8 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.12e-05/0.01801, allocations: 56.95 kB / 386.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.01822, allocations: 355.5 kB / 387.2 MB, free: 9.129 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.01857, allocations: 462.3 kB / 387.6 MB, free: 8.551 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01857, allocations: 4 kB / 387.7 MB, free: 8.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004109/0.01898, allocations: 409.2 kB / 388.1 MB, free: 8.141 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.019, allocations: 8 kB / 388.1 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.01901, allocations: 8 kB / 388.1 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.01903, allocations: 8 kB / 388.1 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.01927, allocations: 119.8 kB / 388.2 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.01928, allocations: 15.92 kB / 388.2 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.0194, allocations: 31.92 kB / 388.2 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.01943, allocations: 24 kB / 388.3 MB, free: 7.93 MB / 362.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.0001154/0.01954, allocations: 196.7 kB / 388.5 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.01959, allocations: 43.75 kB / 388.5 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.01992, allocations: 249.6 kB / 388.7 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01993, allocations: 4 kB / 388.7 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01993, allocations: 4 kB / 388.8 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01994, allocations: 0 / 388.8 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.02094, allocations: 0.7039 MB / 389.5 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.02095, allocations: 4.094 kB / 389.5 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.02111, allocations: 67.91 kB / 389.5 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.02112, allocations: 4 kB / 389.5 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.02113, allocations: 8 kB / 389.5 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.02114, allocations: 3.984 kB / 389.5 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.02114, allocations: 7.938 kB / 389.5 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.02155, allocations: 487.8 kB / 390 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.02158, allocations: 27.77 kB / 390.1 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.02161, allocations: 8 kB / 390.1 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.731e-05/0.0217, allocations: 11.98 kB / 390.1 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.02174, allocations: 27.91 kB / 390.1 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.02176, allocations: 15.88 kB / 390.1 MB, free: 5.965 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.02188, allocations: 231 kB / 390.3 MB, free: 5.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02188, allocations: 0 / 390.3 MB, free: 5.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000288/0.02217, allocations: 88 kB / 390.4 MB, free: 5.656 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 (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.0001006/0.02227, allocations: 107.2 kB / 390.5 MB, free: 5.539 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.02258, allocations: 248.8 kB / 390.8 MB, free: 5.293 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02258, allocations: 4 kB / 390.8 MB, free: 5.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.02268, allocations: 99.52 kB / 390.9 MB, free: 5.188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.02302, allocations: 76.3 kB / 390.9 MB, free: 5.121 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.02435, allocations: 0.852 MB / 391.8 MB, free: 4.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.141e-05/0.02444, allocations: 141.2 kB / 391.9 MB, free: 4.059 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.02463, allocations: 115.1 kB / 392.1 MB, free: 3.949 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.02469, allocations: 32.5 kB / 392.1 MB, free: 3.918 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.0247, allocations: 0 / 392.1 MB, free: 3.918 MB / 362.7 MB Notification: Performance of Templates: time 0.005693/0.03039, allocations: 3.274 MB / 395.4 MB, free: 0.7109 MB / 362.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: 3.2521447259932756]