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.001013/0.001013, allocations: 80.31 kB / 22.21 MB, free: 2.277 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.000973/0.000973, allocations: 167.1 kB / 25.61 MB, free: 8.574 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.9998/0.9998, allocations: 177.1 MB / 206 MB, free: 4.461 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.1265/0.1265, allocations: 29.43 MB / 292 MB, free: 2.637 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 3.086e-06/3.086e-06, allocations: 0 / 370.8 MB, free: 32.35 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.689e-05/3.998e-05, allocations: 5.766 kB / 370.8 MB, free: 32.35 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.007198/0.007238, allocations: 4.824 MB / 375.7 MB, free: 27.51 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.009462, allocations: 1.099 MB / 376.8 MB, free: 26.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003972/0.009859, allocations: 23.75 kB / 376.8 MB, free: 26.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.01017, allocations: 75.33 kB / 376.9 MB, free: 26.31 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009359/0.0111, allocations: 310.1 kB / 377.2 MB, free: 26 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.01149, allocations: 151.6 kB / 377.3 MB, free: 25.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008492/0.01234, allocations: 0.7237 MB / 378 MB, free: 25.13 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.01263, allocations: 109.2 kB / 378.1 MB, free: 25.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009819/0.01362, allocations: 0.5025 MB / 378.7 MB, free: 24.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005255/0.01414, allocations: 255.3 kB / 378.9 MB, free: 24.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.257e-05/0.01423, allocations: 32 kB / 378.9 MB, free: 24.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.01433, allocations: 32 kB / 379 MB, free: 24.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.01451, allocations: 167.5 kB / 379.1 MB, free: 24.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.01474, allocations: 155.6 kB / 379.3 MB, free: 23.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.01523, allocations: 346.6 kB / 379.6 MB, free: 23.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.01523, allocations: 4 kB / 379.6 MB, free: 23.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01523, allocations: 0 / 379.6 MB, free: 23.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.01525, allocations: 0 / 379.6 MB, free: 23.54 MB / 314.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.001101/0.01635, allocations: 0.8012 MB / 380.4 MB, free: 22.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.0164, allocations: 8.031 kB / 380.4 MB, free: 22.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.01653, allocations: 88.56 kB / 380.5 MB, free: 22.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006001/0.01713, allocations: 394.6 kB / 380.9 MB, free: 22.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.01716, allocations: 25.38 kB / 380.9 MB, free: 22.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.01722, allocations: 40.12 kB / 381 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/0.01765, allocations: 339.9 kB / 381.3 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.01767, allocations: 7.984 kB / 381.3 MB, free: 21.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.0177, allocations: 12 kB / 381.3 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.01772, allocations: 8 kB / 381.3 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.01796, allocations: 124.6 kB / 381.4 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.01963, allocations: 1.991 MB / 383.4 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.01981, allocations: 133.3 kB / 383.6 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.01987, allocations: 47.11 kB / 383.6 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.01989, allocations: 4 kB / 383.6 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.01991, allocations: 37.39 kB / 383.7 MB, free: 19.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.444e-06/0.01991, allocations: 3.938 kB / 383.7 MB, free: 19.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.000751/0.02067, allocations: 337 kB / 384 MB, free: 18.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.02071, allocations: 106.8 kB / 384.1 MB, free: 18.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.02098, allocations: 390.4 kB / 384.5 MB, free: 18.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.02099, allocations: 37.83 kB / 384.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.02114, allocations: 338.6 kB / 384.8 MB, free: 17.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.02118, allocations: 63.47 kB / 384.9 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-05/0.02127, allocations: 67.28 kB / 385 MB, free: 17.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.02135, allocations: 0.5195 MB / 385.5 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.121e-05/0.0214, allocations: 23.98 kB / 385.5 MB, free: 17.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.02152, allocations: 232.8 kB / 385.7 MB, free: 16.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.02175, allocations: 288.8 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.02176, allocations: 0 / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003481/0.02211, allocations: 265.6 kB / 386.3 MB, free: 16.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.02213, allocations: 4 kB / 386.3 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.02214, allocations: 8 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.02215, allocations: 4 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.02237, allocations: 75.84 kB / 386.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.02238, allocations: 7.984 kB / 386.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.02256, allocations: 12 kB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.02258, allocations: 12.31 kB / 386.4 MB, free: 16.17 MB / 314.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.000108/0.02269, allocations: 180.4 kB / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.729e-05/0.02276, allocations: 47.7 kB / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.02298, allocations: 136.8 kB / 386.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.02299, allocations: 8.422 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.02299, allocations: 0 / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.02299, allocations: 3.984 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/0.02348, allocations: 437.4 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02348, allocations: 0 / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.02365, allocations: 31.98 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.02365, allocations: 7.969 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.02367, allocations: 8 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.02367, allocations: 4 kB / 387.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.02367, allocations: 0 / 387.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.02397, allocations: 452.4 kB / 387.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.02402, allocations: 27.77 kB / 387.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.02406, allocations: 11.94 kB / 387.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.02423, allocations: 7.938 kB / 387.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.02425, allocations: 15.97 kB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.02426, allocations: 4 kB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000137/0.0244, allocations: 243 kB / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0244, allocations: 4 kB / 388 MB, free: 14.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004763/0.02488, allocations: 72 kB / 388.1 MB, free: 14.43 MB / 314.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.0001004/0.02498, allocations: 95.25 kB / 388.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.02518, allocations: 140 kB / 388.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.02519, allocations: 384 / 388.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.701e-05/0.02525, allocations: 47.61 kB / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000702/0.02595, allocations: 93.39 kB / 388.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.02757, allocations: 0.8075 MB / 389.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.916e-05/0.02766, allocations: 128.6 kB / 389.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001524/0.02782, allocations: 39.27 kB / 389.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.028, allocations: 146.1 kB / 389.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.028, allocations: 0 / 389.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of Templates: time 0.00778/0.03578, allocations: 3.601 MB / 393.1 MB, free: 9.371 MB / 314.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.044077548198402]