Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.0008325/0.0008325, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004914/0.004914, allocations: 160.7 kB / 24.7 MB, free: 9.43 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.8763/0.8763, allocations: 177.1 MB / 205 MB, free: 5.73 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.2278/0.2278, allocations: 29.41 MB / 290.8 MB, free: 2.41 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.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 431.4 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.377e-05, allocations: 8.047 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.004193/0.004216, allocations: 5.18 MB / 436.6 MB, free: 7.891 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.005562, allocations: 1.091 MB / 437.7 MB, free: 6.797 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.005766, allocations: 23.75 kB / 437.7 MB, free: 6.773 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.005956, allocations: 87.14 kB / 437.8 MB, free: 6.688 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005361/0.006492, allocations: 314 kB / 438.1 MB, free: 6.379 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.006713, allocations: 151.7 kB / 438.3 MB, free: 6.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005348/0.007248, allocations: 0.716 MB / 439 MB, free: 5.512 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.007427, allocations: 117.2 kB / 439.1 MB, free: 5.387 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004656/0.007892, allocations: 426.6 kB / 439.5 MB, free: 4.969 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.008218, allocations: 299.2 kB / 439.8 MB, free: 4.676 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.008258, allocations: 36 kB / 439.9 MB, free: 4.641 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.642e-05/0.008304, allocations: 32 kB / 439.9 MB, free: 4.609 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.00841, allocations: 163.5 kB / 440.1 MB, free: 4.449 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.008528, allocations: 167.6 kB / 440.2 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.008904, allocations: 482.4 kB / 440.7 MB, free: 3.812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.008906, allocations: 0 / 440.7 MB, free: 3.812 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.008907, allocations: 0 / 440.7 MB, free: 3.812 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.008913, allocations: 0 / 440.7 MB, free: 3.812 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.000874/0.009787, allocations: 0.7405 MB / 441.4 MB, free: 3.039 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.009817, allocations: 8.031 kB / 441.4 MB, free: 3.031 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.13e-05/0.009888, allocations: 56.56 kB / 441.5 MB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.01033, allocations: 392.8 kB / 441.9 MB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.01035, allocations: 25.38 kB / 441.9 MB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.01039, allocations: 40.12 kB / 441.9 MB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.01081, allocations: 459.6 kB / 442.4 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.01082, allocations: 0 / 442.4 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.01084, allocations: 19.98 kB / 442.4 MB, free: 2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.01085, allocations: 12 kB / 442.4 MB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.01116, allocations: 304.5 kB / 442.7 MB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.01233, allocations: 1.593 MB / 444.3 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.0126, allocations: 139.9 kB / 444.4 MB, free: 54.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.01266, allocations: 52.8 kB / 444.5 MB, free: 54.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.01268, allocations: 4.094 kB / 444.5 MB, free: 54.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.01271, allocations: 39.94 kB / 444.5 MB, free: 54.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.544e-06/0.01271, allocations: 0 / 444.5 MB, free: 54.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008286/0.01354, allocations: 0.5379 MB / 445.1 MB, free: 54.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.01357, allocations: 106.2 kB / 445.2 MB, free: 54.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.0138, allocations: 363.4 kB / 445.5 MB, free: 53.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.01381, allocations: 25.7 kB / 445.6 MB, free: 53.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.436e-05/0.0139, allocations: 292.6 kB / 445.8 MB, free: 53.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.01393, allocations: 62.59 kB / 445.9 MB, free: 53.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.01399, allocations: 56.91 kB / 446 MB, free: 53.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.318e-05/0.01403, allocations: 353.3 kB / 446.3 MB, free: 53.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.793e-05/0.01409, allocations: 47.94 kB / 446.4 MB, free: 53.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.792e-05/0.01418, allocations: 193.8 kB / 446.5 MB, free: 53.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.01434, allocations: 269.7 kB / 446.8 MB, free: 52.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01434, allocations: 3.219 kB / 446.8 MB, free: 52.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002284/0.01457, allocations: 289.5 kB / 447.1 MB, free: 52.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.01458, allocations: 8.5 kB / 447.1 MB, free: 52.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.01459, allocations: 3.188 kB / 447.1 MB, free: 52.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.01461, allocations: 9.406 kB / 447.1 MB, free: 52.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.01477, allocations: 71.98 kB / 447.2 MB, free: 52.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.01477, allocations: 6.469 kB / 447.2 MB, free: 52.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.01487, allocations: 13.83 kB / 447.2 MB, free: 52.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.01488, allocations: 19.8 kB / 447.2 MB, free: 52.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * 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.0001163/0.015, allocations: 186.3 kB / 447.4 MB, free: 52.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.01503, allocations: 37.77 kB / 447.4 MB, free: 52.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.01521, allocations: 170.9 kB / 447.6 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.01521, allocations: 3.188 kB / 447.6 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01522, allocations: 0 / 447.6 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01522, allocations: 0 / 447.6 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.01557, allocations: 443.4 kB / 448 MB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01557, allocations: 0 / 448 MB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.01568, allocations: 36.02 kB / 448.1 MB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01568, allocations: 3.938 kB / 448.1 MB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.01569, allocations: 9.656 kB / 448.1 MB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01569, allocations: 3.938 kB / 448.1 MB, free: 52.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01569, allocations: 7.156 kB / 448.1 MB, free: 52.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.01592, allocations: 388.4 kB / 448.5 MB, free: 51.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.01595, allocations: 35.72 kB / 448.5 MB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.01597, allocations: 7.125 kB / 448.5 MB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.01606, allocations: 6.938 kB / 448.5 MB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.01608, allocations: 23.19 kB / 448.6 MB, free: 51.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.01609, allocations: 2.781 kB / 448.6 MB, free: 51.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.0162, allocations: 239.9 kB / 448.8 MB, free: 51.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0162, allocations: 0 / 448.8 MB, free: 51.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002592/0.01646, allocations: 72.91 kB / 448.9 MB, free: 51.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * 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 7.738e-05/0.01654, allocations: 99.62 kB / 449 MB, free: 51.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.01672, allocations: 154.6 kB / 449.1 MB, free: 51.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.01672, allocations: 0 / 449.1 MB, free: 51.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.252e-05/0.01677, allocations: 54.72 kB / 449.2 MB, free: 51.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.01721, allocations: 95.44 kB / 449.3 MB, free: 51.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.01804, allocations: 0.8194 MB / 450.1 MB, free: 51.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.01817, allocations: 241.6 kB / 450.3 MB, free: 51.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.01821, allocations: 34.38 kB / 450.3 MB, free: 51.03 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01821, allocations: 0.875 kB / 450.3 MB, free: 51.03 MB / 410.7 MB Notification: Performance of Templates: time 0.004103/0.02232, allocations: 4.827 MB / 455.2 MB, free: 50.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.127239811234176] Failed to read output from testmodel.py, exit status != 0: 0.18800564762204885 0.19933541500000002 0.188296613 Calling exit ...