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.001504/0.001504, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001092/0.001092, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2842/0.2842, allocations: 29.41 MB / 291.2 MB, free: 2.488 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.793e-06/1.793e-06, allocations: 0 / 370.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.601e-05, allocations: 2.312 kB / 370.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.004203/0.004219, allocations: 4.817 MB / 374.9 MB, free: 5.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.005827, allocations: 1.095 MB / 376 MB, free: 4.832 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.006053, allocations: 23.75 kB / 376 MB, free: 4.809 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.006253, allocations: 83.27 kB / 376.1 MB, free: 4.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005585/0.006811, allocations: 310.1 kB / 376.4 MB, free: 4.422 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.007082, allocations: 139.7 kB / 376.5 MB, free: 4.285 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000503/0.007585, allocations: 0.716 MB / 377.2 MB, free: 3.566 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.007766, allocations: 121.1 kB / 377.4 MB, free: 3.441 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005132/0.00828, allocations: 0.5025 MB / 377.9 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.008541, allocations: 247.2 kB / 378.1 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.8e-05/0.008589, allocations: 32 kB / 378.1 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.134e-05/0.00864, allocations: 32 kB / 378.2 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.008763, allocations: 171.5 kB / 378.3 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.008886, allocations: 155.6 kB / 378.5 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.009194, allocations: 346.6 kB / 378.8 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-06/0.009196, allocations: 4 kB / 378.8 MB, free: 1.969 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.009196, allocations: 0 / 378.8 MB, free: 1.969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.009201, allocations: 0 / 378.8 MB, free: 1.969 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.0007105/0.009911, allocations: 0.8092 MB / 379.6 MB, free: 1.121 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.009945, allocations: 12.03 kB / 379.6 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.759e-05/0.01002, allocations: 84.61 kB / 379.7 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.01037, allocations: 386.6 kB / 380.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.01039, allocations: 25.38 kB / 380.1 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.01043, allocations: 44.12 kB / 380.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.01072, allocations: 343.9 kB / 380.5 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.01074, allocations: 4 kB / 380.5 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.01076, allocations: 20 kB / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.01077, allocations: 8 kB / 380.5 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.0109, allocations: 120.6 kB / 380.7 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.01209, allocations: 2.003 MB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.01221, allocations: 129.1 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.156e-05/0.01225, allocations: 55.28 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.01227, allocations: 0 / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.01229, allocations: 41.39 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.184e-06/0.01229, allocations: 7.984 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004582/0.01275, allocations: 329 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.01279, allocations: 110.8 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.013, allocations: 394.4 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.01301, allocations: 25.7 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.01314, allocations: 342.5 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.01317, allocations: 59.52 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.01322, allocations: 63.3 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.01335, allocations: 0.5236 MB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.01338, allocations: 27.97 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.01349, allocations: 232.8 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.01366, allocations: 280.8 kB / 385.2 MB, free: 10.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01366, allocations: 3.938 kB / 385.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002196/0.01388, allocations: 260.8 kB / 385.5 MB, free: 10.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.01389, allocations: 6.969 kB / 385.5 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.0139, allocations: 8 kB / 385.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.01391, allocations: 8 kB / 385.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.01404, allocations: 75.84 kB / 385.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01405, allocations: 8.547 kB / 385.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.01413, allocations: 11.94 kB / 385.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.01414, allocations: 16 kB / 385.6 MB, free: 10.59 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 8.76e-05/0.01423, allocations: 180.4 kB / 385.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.01427, allocations: 39.7 kB / 385.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.01441, allocations: 148.6 kB / 386 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.01442, allocations: 4 kB / 386 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01442, allocations: 4 kB / 386 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01442, allocations: 4.438 kB / 386 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.01474, allocations: 417.5 kB / 386.4 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.01475, allocations: 4 kB / 386.4 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.01485, allocations: 39.92 kB / 386.5 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.01485, allocations: 0 / 386.5 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.01486, allocations: 8 kB / 386.5 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01486, allocations: 0 / 386.5 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01486, allocations: 3.984 kB / 386.5 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.0151, allocations: 454 kB / 386.9 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.01513, allocations: 39.73 kB / 386.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.01515, allocations: 7.938 kB / 387 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.01523, allocations: 4 kB / 387 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.01524, allocations: 11.98 kB / 387 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.01525, allocations: 4 kB / 387 MB, free: 9.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.01535, allocations: 247 kB / 387.2 MB, free: 8.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01535, allocations: 4 kB / 387.2 MB, free: 8.922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002408/0.01559, allocations: 72 kB / 387.3 MB, free: 8.852 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 6.379e-05/0.01566, allocations: 91.25 kB / 387.4 MB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.0158, allocations: 135.2 kB / 387.5 MB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.0158, allocations: 0 / 387.5 MB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.519e-05/0.01584, allocations: 52.94 kB / 387.6 MB, free: 8.562 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.01622, allocations: 95.69 kB / 387.7 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.01722, allocations: 0.8099 MB / 388.5 MB, free: 7.617 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.149e-05/0.0173, allocations: 120.6 kB / 388.6 MB, free: 7.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.796e-05/0.01738, allocations: 47.25 kB / 388.6 MB, free: 7.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.01752, allocations: 150.1 kB / 388.8 MB, free: 7.285 MB / 362.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01752, allocations: 0 / 388.8 MB, free: 7.285 MB / 362.7 MB Notification: Performance of Templates: time 0.005076/0.02259, allocations: 3.515 MB / 392.3 MB, free: 3.863 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: 2.909011277835816]