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.001083/0.001083, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001124/0.001124, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.046/1.046, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2695/0.2695, allocations: 29.41 MB / 291.2 MB, free: 2.418 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.804e-06/1.804e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.341e-05/3.522e-05, allocations: 5.688 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.01172/0.01176, allocations: 5.518 MB / 375.1 MB, free: 5.773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.0134, allocations: 1.087 MB / 376.2 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.01361, allocations: 27.75 kB / 376.2 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.01383, allocations: 83.2 kB / 376.3 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003733/0.01756, allocations: 318 kB / 376.6 MB, free: 4.262 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.01785, allocations: 139.7 kB / 376.8 MB, free: 4.125 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000645/0.0185, allocations: 0.7198 MB / 377.5 MB, free: 3.402 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.01871, allocations: 117.1 kB / 377.6 MB, free: 3.281 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005224/0.01923, allocations: 430.6 kB / 378 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003945/0.01962, allocations: 307.2 kB / 378.3 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.01979, allocations: 32 kB / 378.4 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.211e-05/0.01985, allocations: 36 kB / 378.4 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003153/0.023, allocations: 167.5 kB / 378.6 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.02317, allocations: 167.6 kB / 378.7 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.02355, allocations: 350.6 kB / 379.1 MB, free: 1.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.02355, allocations: 0 / 379.1 MB, free: 1.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.02355, allocations: 0 / 379.1 MB, free: 1.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.02355, allocations: 4 kB / 379.1 MB, free: 1.816 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009507/0.0245, allocations: 0.8288 MB / 379.9 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.02454, allocations: 12.03 kB / 379.9 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.02465, allocations: 80.61 kB / 380 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.02518, allocations: 411.7 kB / 380.4 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.0252, allocations: 29.38 kB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.306e-05/0.02526, allocations: 44.06 kB / 380.5 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.0257, allocations: 364 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.02571, allocations: 3.938 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.02574, allocations: 16 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.02575, allocations: 8 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003274/0.02903, allocations: 152.7 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.03074, allocations: 1.983 MB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.03092, allocations: 145.1 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.302e-05/0.03099, allocations: 47.11 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.031, allocations: 4 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.03103, allocations: 45.33 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.03103, allocations: 0 / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.000742/0.03177, allocations: 0.5307 MB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.03182, allocations: 102.8 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003318/0.03514, allocations: 398.6 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.03515, allocations: 25.7 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.03532, allocations: 338.7 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.03536, allocations: 63.47 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.03543, allocations: 63.31 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.03557, allocations: 0.5157 MB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.948e-05/0.03563, allocations: 28.42 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.03579, allocations: 240.8 kB / 385.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.03605, allocations: 300.9 kB / 385.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.03605, allocations: 4 kB / 385.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003391/0.03639, allocations: 272.9 kB / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.0364, allocations: 11.94 kB / 386.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.03641, allocations: 4.547 kB / 386.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.03643, allocations: 8 kB / 386.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.03662, allocations: 68.53 kB / 386.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.03664, allocations: 11.94 kB / 386.2 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.03676, allocations: 16 kB / 386.2 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.03678, allocations: 16 kB / 386.2 MB, free: 10.12 MB / 362.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.0001044/0.03689, allocations: 180.4 kB / 386.4 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.439e-05/0.03695, allocations: 43.69 kB / 386.4 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.03716, allocations: 148.8 kB / 386.5 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.03716, allocations: 7.984 kB / 386.6 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.03717, allocations: 0 / 386.6 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.03717, allocations: 4 kB / 386.6 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.03766, allocations: 496.8 kB / 387 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.03766, allocations: 4.031 kB / 387 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003146/0.04081, allocations: 35.92 kB / 387.1 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.04081, allocations: 0 / 387.1 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.04082, allocations: 8 kB / 387.1 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.04082, allocations: 0 / 387.1 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.04083, allocations: 4 kB / 387.1 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.04115, allocations: 465.2 kB / 387.6 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.04119, allocations: 35.7 kB / 387.6 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.04122, allocations: 7.984 kB / 387.6 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.04135, allocations: 8 kB / 387.6 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.04138, allocations: 11.98 kB / 387.6 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.04139, allocations: 4 kB / 387.6 MB, free: 8.594 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001728/0.04156, allocations: 259.1 kB / 387.9 MB, free: 8.344 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04156, allocations: 0 / 387.9 MB, free: 8.344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003806/0.04194, allocations: 71.94 kB / 387.9 MB, free: 8.273 MB / 362.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 8.336e-05/0.04202, allocations: 103.2 kB / 388 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.04223, allocations: 136.1 kB / 388.2 MB, free: 8.027 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.04224, allocations: 0 / 388.2 MB, free: 8.027 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.258e-05/0.04231, allocations: 55.69 kB / 388.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.04286, allocations: 96.19 kB / 388.3 MB, free: 7.883 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.04737, allocations: 0.8105 MB / 389.1 MB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.626e-05/0.04746, allocations: 125.3 kB / 389.3 MB, free: 6.883 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.04759, allocations: 39.27 kB / 389.3 MB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.04764, allocations: 28.5 kB / 389.3 MB, free: 6.812 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.04764, allocations: 4 kB / 389.3 MB, free: 6.809 MB / 362.7 MB Notification: Performance of Templates: time 0.00605/0.05369, allocations: 3.267 MB / 392.6 MB, free: 3.625 MB / 362.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2816038010641932]