Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001056, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 238.9 MB, free: 4.758 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 192.5 kB / 289.1 MB, free: 2.516 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5833/0.5833, allocations: 91.9 MB / 431.2 MB, free: 9.477 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001725, allocations: 75.89 kB / 0.5012 GB, free: 8.211 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4285, allocations: 71.26 MB / 0.5708 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01567/0.4442, allocations: 23.49 MB / 0.5937 GB, free: 20.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.4567, allocations: 5.181 MB / 0.5988 GB, free: 16.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006676/0.4634, allocations: 54.06 kB / 0.5988 GB, free: 16.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004189/0.4676, allocations: 0.6737 MB / 0.5995 GB, free: 16.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008914/0.4766, allocations: 1.748 MB / 0.6012 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006303/0.4829, allocations: 1.919 MB / 0.6031 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01035/0.4933, allocations: 5.491 MB / 0.6084 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003614/0.4969, allocations: 1.144 MB / 0.6096 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005963/0.5029, allocations: 2.175 MB / 0.6117 GB, free: 9.344 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006125/0.5091, allocations: 2.843 MB / 0.6145 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002671/0.5118, allocations: 289.7 kB / 0.6147 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00518/0.517, allocations: 429 kB / 0.6151 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003728/0.5207, allocations: 1.017 MB / 0.6161 GB, free: 7.273 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009663/0.5304, allocations: 2.47 MB / 0.6185 GB, free: 5.676 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01438/0.5448, allocations: 6.028 MB / 0.6244 GB, free: 2.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.5449, allocations: 1.375 kB / 0.6244 GB, free: 2.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5449, allocations: 3.938 kB / 0.6244 GB, free: 2.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003876/0.5453, allocations: 0 / 0.6244 GB, free: 2.891 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.04186/0.5871, allocations: 9.222 MB / 0.6334 GB, free: 14.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.5872, allocations: 16.03 kB / 0.6335 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02837/0.6156, allocations: 4.001 MB / 0.6374 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009046/0.6247, allocations: 2.682 MB / 0.64 GB, free: 7.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001247/0.626, allocations: 0.9612 MB / 0.6409 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002356/0.6283, allocations: 348 kB / 0.6413 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01739/0.6458, allocations: 4.735 MB / 0.6459 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001639/0.646, allocations: 3.938 kB / 0.6459 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001672/0.6476, allocations: 144 kB / 0.646 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.802e-05/0.6477, allocations: 84 kB / 0.6461 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/0.6619, allocations: 4.252 MB / 0.6503 GB, free: 13.13 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04789/0.7098, allocations: 18.38 MB / 0.6682 GB, free: 9.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/0.7239, allocations: 5.013 MB / 0.6731 GB, free: 4.48 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00705/0.731, allocations: 2.795 MB / 0.6758 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.7321, allocations: 70.86 kB / 0.6759 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008965/0.7411, allocations: 3.189 MB / 0.679 GB, free: 14.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=384): time 1.19e-05/0.7411, allocations: 0 / 0.679 GB, free: 14.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=384): time 0.3092/1.05, allocations: 67.76 MB / 0.7452 GB, free: 10.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.05, allocations: 149.8 kB / 0.7453 GB, free: 10.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007362/1.058, allocations: 3.246 MB / 0.7485 GB, free: 6.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001404/1.059, allocations: 89.7 kB / 0.7486 GB, free: 6.887 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001551/1.061, allocations: 1.982 MB / 0.7505 GB, free: 4.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00227/1.063, allocations: 1.317 MB / 0.7518 GB, free: 3.555 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001539/1.065, allocations: 0.6822 MB / 0.7525 GB, free: 2.859 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.157e-05/1.065, allocations: 305.1 kB / 0.7528 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005364/1.07, allocations: 2.601 MB / 0.7553 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005816/1.076, allocations: 3.237 MB / 0.7585 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3945/1.47, allocations: 19.01 MB / 0.777 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.276e-05/1.471, allocations: 5.062 kB / 0.777 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.0594/1.53, allocations: 17.29 MB / 0.7939 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.852e-05/1.53, allocations: 64.62 kB / 0.794 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.803e-05/1.53, allocations: 18.92 kB / 0.794 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02678/1.557, allocations: 7.15 MB / 0.801 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004072/1.561, allocations: 0.6892 MB / 0.8017 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07313/1.634, allocations: 30.64 MB / 0.8316 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006791/1.641, allocations: 0.623 MB / 0.8322 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008817/1.642, allocations: 156 kB / 0.8323 GB, free: 135.7 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00202/1.644, allocations: 0.6607 MB / 0.833 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001321/1.645, allocations: 466.3 kB / 0.8334 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04994/1.695, allocations: 16.88 MB / 0.8499 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.31e-05/1.695, allocations: 40 kB / 0.8499 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.374e-05/1.695, allocations: 28 kB / 0.85 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001242/1.696, allocations: 19.92 kB / 0.85 GB, free: 117.6 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06086/1.756, allocations: 21.89 MB / 0.8714 GB, free: 95.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.618e-05/1.756, allocations: 0 / 0.8714 GB, free: 95.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002509/1.759, allocations: 387.5 kB / 0.8717 GB, free: 95.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02368/1.783, allocations: 7.388 MB / 0.8789 GB, free: 87.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001364/1.784, allocations: 67.98 kB / 0.879 GB, free: 87.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06722/1.851, allocations: 28.92 MB / 0.9073 GB, free: 58.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.851, allocations: 4 kB / 0.9073 GB, free: 58.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05921/1.911, allocations: 20.25 MB / 0.927 GB, free: 38.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/1.912, allocations: 0.557 MB / 0.9276 GB, free: 37.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001656/1.914, allocations: 68 kB / 0.9276 GB, free: 37.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004915/1.919, allocations: 383.1 kB / 0.928 GB, free: 37.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003236/1.922, allocations: 0.7646 MB / 0.9288 GB, free: 36.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003762/1.923, allocations: 95.98 kB / 0.9288 GB, free: 36.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002661/1.925, allocations: 2.129 MB / 0.9309 GB, free: 34.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3e-07/1.925, allocations: 0 / 0.9309 GB, free: 34.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005906/1.931, allocations: 1.806 MB / 0.9327 GB, free: 32.44 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006036/1.932, allocations: 200.4 kB / 0.9329 GB, free: 32.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02268/1.955, allocations: 9.195 MB / 0.9419 GB, free: 23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.872e-06/1.955, allocations: 0 / 0.9419 GB, free: 23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01831/1.973, allocations: 6.199 MB / 0.9479 GB, free: 16.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006979/1.98, allocations: 386.2 kB / 0.9483 GB, free: 16.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/1.995, allocations: 9.83 MB / 0.9579 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001738/1.997, allocations: 2.447 MB / 0.9603 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001926/1.999, allocations: 375.1 kB / 0.9606 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008483/2, allocations: 243.4 kB / 0.9609 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/2, allocations: 0 / 0.9609 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of Templates: time 0.3956/2.395, allocations: 82.1 MB / 1.041 GB, free: 170.2 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)