Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00738/0.00738, allocations: 170.8 kB / 15.12 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.2 MB / 239 MB, free: 56 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008584/0.0008584, allocations: 105.7 kB / 290.2 MB, free: 4.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4727/0.4727, allocations: 78.59 MB / 419.9 MB, free: 36.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.000374, allocations: 16 kB / 499.8 MB, free: 7.258 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.129, allocations: 69.37 MB / 0.5558 GB, free: 1.828 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006168/0.1352, allocations: 5.682 MB / 0.5613 GB, free: 12.12 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004143/0.1394, allocations: 1.936 MB / 0.5632 GB, free: 10.18 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.1404, allocations: 12 kB / 0.5632 GB, free: 10.17 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006962/0.1411, allocations: 162.7 kB / 0.5634 GB, free: 10.01 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.1431, allocations: 0.7189 MB / 0.5641 GB, free: 9.289 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.1443, allocations: 0.5094 MB / 0.5646 GB, free: 8.785 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.1456, allocations: 0.9904 MB / 0.5656 GB, free: 7.793 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004182/0.146, allocations: 265.7 kB / 0.5658 GB, free: 7.52 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006983/0.1467, allocations: 0.5603 MB / 0.5664 GB, free: 6.957 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007825/0.1475, allocations: 0.708 MB / 0.5671 GB, free: 6.246 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.1476, allocations: 60 kB / 0.5671 GB, free: 6.188 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.148, allocations: 171.8 kB / 0.5673 GB, free: 6.02 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.1482, allocations: 254.9 kB / 0.5675 GB, free: 5.77 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.1484, allocations: 233 kB / 0.5677 GB, free: 5.535 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.1494, allocations: 1.185 MB / 0.5689 GB, free: 4.348 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1494, allocations: 0 / 0.5689 GB, free: 4.348 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1494, allocations: 0 / 0.5689 GB, free: 4.348 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1494, allocations: 0 / 0.5689 GB, free: 4.348 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.008111/0.1575, allocations: 2.505 MB / 0.5713 GB, free: 1.773 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1576, allocations: 8.031 kB / 0.5713 GB, free: 1.766 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004837/0.1624, allocations: 0.7827 MB / 0.5721 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.1639, allocations: 0.8443 MB / 0.5729 GB, free: 84 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2154/0.3794, allocations: 266.9 kB / 0.5732 GB, free: 44.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003517/0.3797, allocations: 80.22 kB / 0.5733 GB, free: 44.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.3822, allocations: 1.139 MB / 0.5744 GB, free: 43.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.3823, allocations: 1.031 kB / 0.5744 GB, free: 43.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.519e-05/0.3824, allocations: 26.97 kB / 0.5744 GB, free: 43.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.3824, allocations: 19.88 kB / 0.5744 GB, free: 43.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.3844, allocations: 1.05 MB / 0.5755 GB, free: 43.94 MB / 442.7 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.00641/0.3909, allocations: 4.103 MB / 0.5795 GB, free: 42.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007801/0.3987, allocations: 2.908 MB / 0.5823 GB, free: 42.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.304e-05/0.3988, allocations: 18.12 kB / 0.5823 GB, free: 42.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001564/0.4003, allocations: 0.8649 MB / 0.5832 GB, free: 42.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=95): time 2.475e-06/0.4004, allocations: 0 / 0.5832 GB, free: 42.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.03129/0.4317, allocations: 8.766 MB / 0.5917 GB, free: 41.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.4317, allocations: 113.3 kB / 0.5918 GB, free: 41.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.433, allocations: 1.079 MB / 0.5929 GB, free: 41.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.4331, allocations: 43.55 kB / 0.5929 GB, free: 41.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/0.4335, allocations: 499.9 kB / 0.5934 GB, free: 40.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/0.4337, allocations: 351.5 kB / 0.5937 GB, free: 40.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.8e-05/0.4338, allocations: 32.69 kB / 0.5938 GB, free: 40.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.886e-05/0.4339, allocations: 360.2 kB / 0.5941 GB, free: 40.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.4353, allocations: 0.8142 MB / 0.5949 GB, free: 40.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.4368, allocations: 0.9782 MB / 0.5959 GB, free: 39.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.4383, allocations: 0.9435 MB / 0.5968 GB, free: 39.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.4383, allocations: 0 / 0.5968 GB, free: 39.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01325/0.4516, allocations: 5.143 MB / 0.6018 GB, free: 38.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.4516, allocations: 61.5 kB / 0.6019 GB, free: 37.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4517, allocations: 7.125 kB / 0.6019 GB, free: 37.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00607/0.4577, allocations: 1.901 MB / 0.6037 GB, free: 37.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.459, allocations: 290.8 kB / 0.604 GB, free: 37.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/0.4787, allocations: 9.503 MB / 0.6133 GB, free: 33.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.4805, allocations: 235.2 kB / 0.6135 GB, free: 33.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.4807, allocations: 55.42 kB / 0.6136 GB, free: 33.53 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * 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 initialization (160): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005104/0.4812, allocations: 303 kB / 0.6139 GB, free: 33.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.4815, allocations: 130.1 kB / 0.614 GB, free: 33.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/0.4956, allocations: 4.712 MB / 0.6186 GB, free: 32.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.4956, allocations: 9.906 kB / 0.6186 GB, free: 32.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.4956, allocations: 7.25 kB / 0.6186 GB, free: 32.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.4956, allocations: 6.328 kB / 0.6186 GB, free: 32.18 MB / 442.7 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 postOpt removeSimpleEquations (simulation): time 0.01586/0.5115, allocations: 6.346 MB / 0.6248 GB, free: 30.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5115, allocations: 0 / 0.6248 GB, free: 30.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.5121, allocations: 102.5 kB / 0.6249 GB, free: 30.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005885/0.518, allocations: 1.89 MB / 0.6267 GB, free: 29.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.5181, allocations: 22.64 kB / 0.6268 GB, free: 29.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01839/0.5365, allocations: 10.12 MB / 0.6366 GB, free: 21.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5365, allocations: 6.109 kB / 0.6367 GB, free: 21.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/0.5505, allocations: 5.633 MB / 0.6422 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/0.5509, allocations: 227.3 kB / 0.6424 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.5511, allocations: 23.94 kB / 0.6424 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.5523, allocations: 145.9 kB / 0.6425 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004176/0.5527, allocations: 200.7 kB / 0.6427 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.785e-05/0.5528, allocations: 23.98 kB / 0.6427 GB, free: 14.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009016/0.5537, allocations: 0.7237 MB / 0.6435 GB, free: 14.15 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5537, allocations: 1.594 kB / 0.6435 GB, free: 14.15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001228/0.555, allocations: 471.5 kB / 0.6439 GB, free: 13.69 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002243/0.5552, allocations: 141 kB / 0.644 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005772/0.561, allocations: 2.761 MB / 0.6467 GB, free: 10.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.561, allocations: 0 / 0.6467 GB, free: 10.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004117/0.5651, allocations: 1.808 MB / 0.6485 GB, free: 8.914 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.5657, allocations: 93.88 kB / 0.6486 GB, free: 8.824 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.5688, allocations: 2.602 MB / 0.6511 GB, free: 6.227 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.5692, allocations: 1.143 MB / 0.6522 GB, free: 5.055 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003889/0.5696, allocations: 118.5 kB / 0.6524 GB, free: 4.941 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.5698, allocations: 75.41 kB / 0.6524 GB, free: 4.867 MB / 442.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5698, allocations: 0 / 0.6524 GB, free: 4.867 MB / 442.7 MB Notification: Performance of Templates: time 0.03261/0.6024, allocations: 21.31 MB / 0.6732 GB, free: 15.73 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)