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.001277/0.001277, allocations: 85.17 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001503/0.001503, allocations: 164.4 kB / 23.95 MB, free: 4.156 MB / 14.72 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.465/1.465, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.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.1851/0.1851, allocations: 29.44 MB / 290.1 MB, free: 3.27 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.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 2.104e-06/2.104e-06, allocations: 0 / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.119e-05, allocations: 9.453 kB / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.006946/0.006977, allocations: 4.312 MB / 435 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.0101, allocations: 1.386 MB / 436.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000328/0.01043, allocations: 19.88 kB / 436.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.01187, allocations: 365 kB / 436.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000719/0.01259, allocations: 238.6 kB / 437 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000848/0.01344, allocations: 255.1 kB / 437.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008972/0.01433, allocations: 0.5416 MB / 437.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000599/0.01493, allocations: 225.4 kB / 438 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008375/0.01577, allocations: 335 kB / 438.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005951/0.01637, allocations: 275.3 kB / 438.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.01647, allocations: 32 kB / 438.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.01689, allocations: 151.7 kB / 438.8 MB, free: 9.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003135/0.0172, allocations: 235.4 kB / 439 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.01749, allocations: 159.7 kB / 439.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009096/0.0184, allocations: 0.5802 MB / 439.8 MB, free: 8.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.01841, allocations: 3.984 kB / 439.8 MB, free: 8.844 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01841, allocations: 0 / 439.8 MB, free: 8.844 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.48e-05/0.01844, allocations: 0 / 439.8 MB, free: 8.844 MB / 366.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.001626/0.02006, allocations: 0.6745 MB / 440.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.02011, allocations: 11.98 kB / 440.5 MB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008063/0.02091, allocations: 120.5 kB / 440.6 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008805/0.0218, allocations: 344 kB / 440.9 MB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.02183, allocations: 29.38 kB / 440.9 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.02199, allocations: 52.5 kB / 441 MB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.02308, allocations: 0.6368 MB / 441.6 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.0231, allocations: 4 kB / 441.6 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/0.02316, allocations: 16 kB / 441.6 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/0.02328, allocations: 32.98 kB / 441.7 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009161/0.0242, allocations: 479.4 kB / 442.1 MB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003742/0.02794, allocations: 2.664 MB / 444.8 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.02838, allocations: 217 kB / 445 MB, free: 3.328 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.02861, allocations: 133.7 kB / 445.1 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.02865, allocations: 7.984 kB / 445.2 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.02869, allocations: 38.5 kB / 445.2 MB, free: 3.137 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 5.561e-06/0.0287, allocations: 3.984 kB / 445.2 MB, free: 3.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001878/0.03058, allocations: 0.8917 MB / 446.1 MB, free: 2.207 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.03065, allocations: 85.23 kB / 446.2 MB, free: 2.105 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004359/0.03108, allocations: 332.3 kB / 446.5 MB, free: 1.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.03112, allocations: 29.7 kB / 446.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.03134, allocations: 284 kB / 446.8 MB, free: 1.453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.03145, allocations: 99.16 kB / 446.9 MB, free: 1.355 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.03161, allocations: 94.09 kB / 447 MB, free: 1.258 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.0318, allocations: 350.8 kB / 447.3 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.03206, allocations: 144.9 kB / 447.5 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.03247, allocations: 342.6 kB / 447.8 MB, free: 344 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2034/0.2359, allocations: 0.5221 MB / 448.3 MB, free: 29.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.2359, allocations: 2.656 kB / 448.3 MB, free: 29.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008388/0.2367, allocations: 0.529 MB / 448.9 MB, free: 29.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.2367, allocations: 8.625 kB / 448.9 MB, free: 29.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.2367, allocations: 6.406 kB / 448.9 MB, free: 29.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.2368, allocations: 9.75 kB / 448.9 MB, free: 29.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/0.2372, allocations: 118.6 kB / 449 MB, free: 29.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.2372, allocations: 14.84 kB / 449 MB, free: 29.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.2375, allocations: 28.53 kB / 449 MB, free: 29.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.2375, allocations: 24.72 kB / 449.1 MB, free: 29.55 MB / 366.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.0002278/0.2378, allocations: 215.8 kB / 449.3 MB, free: 29.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.2378, allocations: 32.23 kB / 449.3 MB, free: 29.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005992/0.2384, allocations: 358.5 kB / 449.7 MB, free: 29.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2384, allocations: 3.344 kB / 449.7 MB, free: 29.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2384, allocations: 1.906 kB / 449.7 MB, free: 29.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2385, allocations: 3.141 kB / 449.7 MB, free: 29.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.2397, allocations: 0.7632 MB / 450.4 MB, free: 28.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2397, allocations: 5.859 kB / 450.4 MB, free: 28.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.24, allocations: 66.25 kB / 450.5 MB, free: 28.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.24, allocations: 3.141 kB / 450.5 MB, free: 28.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.24, allocations: 13.39 kB / 450.5 MB, free: 28.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.24, allocations: 11.61 kB / 450.5 MB, free: 28.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.24, allocations: 2.188 kB / 450.5 MB, free: 28.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007337/0.2408, allocations: 0.577 MB / 451.1 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.2408, allocations: 31.27 kB / 451.1 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.2409, allocations: 12.22 kB / 451.2 MB, free: 28.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.2411, allocations: 14.81 kB / 451.2 MB, free: 28.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.2411, allocations: 18.92 kB / 451.2 MB, free: 28.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.2412, allocations: 14.97 kB / 451.2 MB, free: 28.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.2414, allocations: 214.7 kB / 451.4 MB, free: 28.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2414, allocations: 0 / 451.4 MB, free: 28.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004773/0.2418, allocations: 93.72 kB / 451.5 MB, free: 28.46 MB / 366.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.0001072/0.2419, allocations: 104.3 kB / 451.6 MB, free: 28.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005501/0.2425, allocations: 359.3 kB / 452 MB, free: 28.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.2425, allocations: 1.438 kB / 452 MB, free: 28.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.2427, allocations: 138 kB / 452.1 MB, free: 28.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.2432, allocations: 67.22 kB / 452.2 MB, free: 28.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.2446, allocations: 0.9026 MB / 453.1 MB, free: 27.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.2449, allocations: 250.8 kB / 453.3 MB, free: 27.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003356/0.2453, allocations: 130.3 kB / 453.4 MB, free: 27.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.2454, allocations: 37.33 kB / 453.5 MB, free: 27.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2454, allocations: 0 / 453.5 MB, free: 27.59 MB / 366.1 MB Notification: Performance of Templates: time 0.008801/0.2542, allocations: 3.239 MB / 456.7 MB, free: 27.26 MB / 366.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: 4.839667610824108] Failed to read output from testmodel.py, exit status != 0: 0.2632167860865593 0.275192052 0.253821258 Calling exit ...