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.001854/0.001854, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001908/0.001908, allocations: 165.3 kB / 24.28 MB, free: 156 kB / 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.542/1.542, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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.3089/0.3089, allocations: 29.41 MB / 290.5 MB, free: 2.43 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 2.465e-06/2.465e-06, allocations: 0 / 368.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.285e-05, allocations: 5.406 kB / 368.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.008265/0.008298, allocations: 5.457 MB / 374.3 MB, free: 5.863 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.01052, allocations: 1.099 MB / 375.4 MB, free: 4.762 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.01075, allocations: 27.75 kB / 375.4 MB, free: 4.734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.01102, allocations: 87.2 kB / 375.5 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008085/0.01183, allocations: 310 kB / 375.8 MB, free: 4.344 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.01214, allocations: 139.7 kB / 376 MB, free: 4.207 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.01324, allocations: 0.7237 MB / 376.7 MB, free: 3.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.0135, allocations: 121.1 kB / 376.8 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007264/0.01423, allocations: 426.7 kB / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005567/0.01478, allocations: 295.2 kB / 377.5 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.522e-05/0.01486, allocations: 32 kB / 377.5 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.473e-05/0.01495, allocations: 36 kB / 377.6 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.01518, allocations: 179.4 kB / 377.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.01541, allocations: 159.6 kB / 377.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006986/0.01611, allocations: 498.2 kB / 378.4 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.01612, allocations: 0 / 378.4 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.01612, allocations: 0 / 378.4 MB, free: 1.762 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.01613, allocations: 0 / 378.4 MB, free: 1.762 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.001498/0.01762, allocations: 0.8558 MB / 379.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.01766, allocations: 8.031 kB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.01781, allocations: 88.56 kB / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007803/0.01859, allocations: 407.6 kB / 379.7 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.01862, allocations: 25.38 kB / 379.8 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.01869, allocations: 44.12 kB / 379.8 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006779/0.01937, allocations: 407.9 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.01939, allocations: 0 / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.01943, allocations: 16 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.01944, allocations: 8 kB / 380.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.01982, allocations: 176.8 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.02245, allocations: 2.085 MB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.02274, allocations: 161.1 kB / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.02285, allocations: 63.14 kB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.02288, allocations: 7.984 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.02292, allocations: 41.39 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.02292, allocations: 7.938 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001166/0.02409, allocations: 0.558 MB / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003739/0.02446, allocations: 106.8 kB / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/0.02499, allocations: 466.5 kB / 383.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.02501, allocations: 29.64 kB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.0253, allocations: 354.6 kB / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.02536, allocations: 59.48 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.02547, allocations: 75.31 kB / 384.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003041/0.02577, allocations: 0.5354 MB / 384.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.502e-05/0.02587, allocations: 47.97 kB / 385 MB, free: 10.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.02616, allocations: 260.8 kB / 385.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.02657, allocations: 328.9 kB / 385.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.02658, allocations: 4 kB / 385.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004883/0.02707, allocations: 313.9 kB / 385.9 MB, free: 9.723 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.02709, allocations: 7.984 kB / 385.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.0271, allocations: 12.03 kB / 385.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.02711, allocations: 4 kB / 385.9 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.02737, allocations: 67.91 kB / 386 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.02739, allocations: 12.45 kB / 386 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.02755, allocations: 12 kB / 386 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.02758, allocations: 19.98 kB / 386 MB, free: 9.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 0.0001955/0.02777, allocations: 188.5 kB / 386.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.02788, allocations: 51.64 kB / 386.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.02819, allocations: 168.8 kB / 386.4 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.0282, allocations: 8 kB / 386.4 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.0282, allocations: 0 / 386.4 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.02821, allocations: 4 kB / 386.4 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007927/0.029, allocations: 0.5516 MB / 387 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.02901, allocations: 0 / 387 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.02919, allocations: 31.98 kB / 387 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.02919, allocations: 0 / 387 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.02921, allocations: 4 kB / 387 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.02921, allocations: 0 / 387 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.02922, allocations: 7.938 kB / 387 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005801/0.0298, allocations: 0.4942 MB / 387.5 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-05/0.02988, allocations: 39.7 kB / 387.5 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.02992, allocations: 3.938 kB / 387.5 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.03007, allocations: 8 kB / 387.5 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.03011, allocations: 15.91 kB / 387.6 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.03013, allocations: 8 kB / 387.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003175/0.03044, allocations: 291.1 kB / 387.9 MB, free: 7.637 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03044, allocations: 0 / 387.9 MB, free: 7.637 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004316/0.03087, allocations: 75.94 kB / 387.9 MB, free: 7.562 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 0.0001312/0.03101, allocations: 99.25 kB / 388 MB, free: 7.457 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000334/0.03134, allocations: 170.3 kB / 388.2 MB, free: 7.289 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.03134, allocations: 4 kB / 388.2 MB, free: 7.285 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.03146, allocations: 68.8 kB / 388.3 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007001/0.03216, allocations: 104 kB / 388.4 MB, free: 7.121 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.03365, allocations: 0.7874 MB / 389.2 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.03395, allocations: 243.7 kB / 389.4 MB, free: 6.027 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.0341, allocations: 47.25 kB / 389.4 MB, free: 5.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.03417, allocations: 28.5 kB / 389.5 MB, free: 5.949 MB / 362.7 MB Notification: Performance of SimCode: time 1.463e-06/0.03418, allocations: 7.938 kB / 389.5 MB, free: 5.941 MB / 362.7 MB Notification: Performance of Templates: time 0.009095/0.04327, allocations: 3.264 MB / 392.7 MB, free: 2.766 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: 4.845659973914735]