Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, 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.604/1.604, allocations: 222.9 MB / 238.8 MB, free: 4.73 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.00172/0.00172, allocations: 196.5 kB / 289.1 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.639/0.639, allocations: 91.9 MB / 431.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 79.88 kB / 0.5012 GB, free: 8.148 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4629, allocations: 71.27 MB / 0.5708 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01221/0.4751, allocations: 14.51 MB / 0.585 GB, free: 27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009818/0.485, allocations: 3.628 MB / 0.5885 GB, free: 24.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004608/0.4897, allocations: 30.22 kB / 0.5885 GB, free: 24.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002678/0.4924, allocations: 430.1 kB / 0.5889 GB, free: 24.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006561/0.499, allocations: 1.233 MB / 0.5902 GB, free: 23.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004392/0.5034, allocations: 1.408 MB / 0.5915 GB, free: 22.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007108/0.5106, allocations: 3.525 MB / 0.595 GB, free: 20.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002411/0.513, allocations: 0.8049 MB / 0.5958 GB, free: 20.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003797/0.5168, allocations: 1.398 MB / 0.5971 GB, free: 19.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00396/0.5208, allocations: 1.855 MB / 0.5989 GB, free: 18.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001903/0.5227, allocations: 174.2 kB / 0.5991 GB, free: 18.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.5255, allocations: 312.8 kB / 0.5994 GB, free: 18.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001778/0.5273, allocations: 0.649 MB / 0.6 GB, free: 18.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004276/0.5316, allocations: 1.533 MB / 0.6015 GB, free: 17.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007614/0.5392, allocations: 3.804 MB / 0.6052 GB, free: 15.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.5393, allocations: 4.75 kB / 0.6052 GB, free: 15.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.5393, allocations: 0 / 0.6052 GB, free: 15.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002613/0.5396, allocations: 0 / 0.6052 GB, free: 15.73 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.03169/0.5713, allocations: 6.583 MB / 0.6117 GB, free: 13.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.5713, allocations: 9.844 kB / 0.6117 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01722/0.5886, allocations: 2.276 MB / 0.6139 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006692/0.5953, allocations: 1.864 MB / 0.6157 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001014/0.5964, allocations: 0.7285 MB / 0.6164 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001488/0.5979, allocations: 213.7 kB / 0.6166 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009034/0.6069, allocations: 3.038 MB / 0.6196 GB, free: 9.629 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.94e-05/0.6071, allocations: 0 / 0.6196 GB, free: 9.629 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/0.6073, allocations: 86.84 kB / 0.6197 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-05/0.6074, allocations: 48.66 kB / 0.6197 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007858/0.6153, allocations: 2.788 MB / 0.6225 GB, free: 8.617 MB / 430.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.0234/0.6387, allocations: 9.915 MB / 0.6321 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/0.6501, allocations: 4.184 MB / 0.6362 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005012/0.6552, allocations: 1.968 MB / 0.6382 GB, free: 8.973 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005843/0.6558, allocations: 45.89 kB / 0.6382 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006064/0.6619, allocations: 2.224 MB / 0.6404 GB, free: 6.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=248): time 8.255e-06/0.662, allocations: 0 / 0.6404 GB, free: 6.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=248): time 0.127/0.7889, allocations: 28.18 MB / 0.6679 GB, free: 10.37 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001899/0.7892, allocations: 188.2 kB / 0.6681 GB, free: 10.15 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006185/0.7954, allocations: 2.273 MB / 0.6703 GB, free: 7.855 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001248/0.7967, allocations: 73.69 kB / 0.6704 GB, free: 7.777 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.7981, allocations: 1.156 MB / 0.6715 GB, free: 6.609 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002066/0.8002, allocations: 0.8782 MB / 0.6723 GB, free: 5.719 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003669/0.8038, allocations: 0.5579 MB / 0.6729 GB, free: 5.152 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.804, allocations: 305.1 kB / 0.6732 GB, free: 4.852 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005158/0.8092, allocations: 1.951 MB / 0.6751 GB, free: 2.898 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005776/0.815, allocations: 2.326 MB / 0.6774 GB, free: 492 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05774/0.8727, allocations: 14.03 MB / 0.6911 GB, free: 2.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.241e-05/0.8728, allocations: 8 kB / 0.6911 GB, free: 2.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04598/0.9188, allocations: 12.5 MB / 0.7033 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.919, allocations: 122.8 kB / 0.7034 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-05/0.9191, allocations: 4 kB / 0.7034 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01848/0.9376, allocations: 5.288 MB / 0.7086 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003411/0.9411, allocations: 0.5695 MB / 0.7091 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06265/1.004, allocations: 21.31 MB / 0.7299 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006864/1.011, allocations: 489.1 kB / 0.7304 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001212/1.012, allocations: 120 kB / 0.7305 GB, free: 9.547 MB / 0.5294 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 325 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002984/1.015, allocations: 0.5288 MB / 0.731 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00164/1.017, allocations: 296.3 kB / 0.7313 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04157/1.058, allocations: 11.9 MB / 0.7429 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.018e-05/1.058, allocations: 27.94 kB / 0.743 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.052e-05/1.058, allocations: 20 kB / 0.743 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.66e-05/1.058, allocations: 11.95 kB / 0.743 GB, free: 12.7 MB / 0.545 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.04931/1.108, allocations: 15.51 MB / 0.7581 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/1.108, allocations: 0 / 0.7581 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/1.11, allocations: 239.7 kB / 0.7584 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01814/1.128, allocations: 5.259 MB / 0.7635 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001307/1.129, allocations: 55.98 kB / 0.7635 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.39/1.519, allocations: 22.68 MB / 0.7857 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.519, allocations: 3.438 kB / 0.7857 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04602/1.565, allocations: 14.27 MB / 0.7996 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/1.567, allocations: 401.2 kB / 0.8 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000987/1.568, allocations: 48.22 kB / 0.8001 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003133/1.571, allocations: 297.7 kB / 0.8004 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002463/1.573, allocations: 0.5662 MB / 0.8009 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002493/1.574, allocations: 65.22 kB / 0.801 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002586/1.576, allocations: 1.5 MB / 0.8024 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.21e-07/1.576, allocations: 4 kB / 0.8024 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004849/1.581, allocations: 1.175 MB / 0.8036 GB, free: 156.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(65,23,7.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004956/1.582, allocations: 176.9 kB / 0.8038 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01807/1.6, allocations: 6.625 MB / 0.8102 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.6, allocations: 0 / 0.8102 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01291/1.613, allocations: 4.391 MB / 0.8145 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/1.616, allocations: 269.6 kB / 0.8148 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/1.626, allocations: 6.468 MB / 0.8211 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/1.627, allocations: 1.81 MB / 0.8229 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001374/1.629, allocations: 255.8 kB / 0.8231 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/1.629, allocations: 166.9 kB / 0.8233 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.643e-06/1.629, allocations: 0 / 0.8233 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.08347/1.713, allocations: 57.51 MB / 0.8794 GB, free: 89.23 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)