Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.375/1.375, allocations: 222.9 MB / 239 MB, free: 4.727 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.001395/0.001395, allocations: 196.5 kB / 289.3 MB, free: 2.453 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5736/0.5736, allocations: 91.89 MB / 431.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 71.89 kB / 0.5014 GB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4352, allocations: 71.27 MB / 0.571 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.005948/0.4412, allocations: 6.879 MB / 0.5777 GB, free: 32.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003752/0.445, allocations: 1.999 MB / 0.5796 GB, free: 31.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005261/0.4456, allocations: 11.28 kB / 0.5797 GB, free: 31.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006614/0.4463, allocations: 183.3 kB / 0.5798 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.4478, allocations: 0.7118 MB / 0.5805 GB, free: 30.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.4488, allocations: 0.5825 MB / 0.5811 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.4499, allocations: 1.575 MB / 0.5826 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000389/0.4503, allocations: 324.8 kB / 0.5829 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005623/0.4509, allocations: 0.6618 MB / 0.5836 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006486/0.4516, allocations: 0.823 MB / 0.5844 GB, free: 28.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.4517, allocations: 120 kB / 0.5845 GB, free: 28.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.4521, allocations: 259.3 kB / 0.5848 GB, free: 28.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.4523, allocations: 329.7 kB / 0.5851 GB, free: 28.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004097/0.4528, allocations: 0.6775 MB / 0.5857 GB, free: 27.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.454, allocations: 1.63 MB / 0.5873 GB, free: 27.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.454, allocations: 0 / 0.5873 GB, free: 27.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.454, allocations: 0 / 0.5873 GB, free: 27.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.454, allocations: 4 kB / 0.5873 GB, free: 27.2 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.00795/0.462, allocations: 2.684 MB / 0.5899 GB, free: 25.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.462, allocations: 8.5 kB / 0.59 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004661/0.4667, allocations: 0.7824 MB / 0.5907 GB, free: 25.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.468, allocations: 0.8769 MB / 0.5916 GB, free: 25.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/0.4683, allocations: 266.1 kB / 0.5918 GB, free: 24.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.4684, allocations: 86.25 kB / 0.5919 GB, free: 24.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.4704, allocations: 1.092 MB / 0.593 GB, free: 24.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.4704, allocations: 0 / 0.593 GB, free: 24.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.883e-05/0.4705, allocations: 29.94 kB / 0.593 GB, free: 24.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.4706, allocations: 18.59 kB / 0.593 GB, free: 24.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.4724, allocations: 0.9808 MB / 0.594 GB, free: 24.15 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.006547/0.479, allocations: 3.857 MB / 0.5977 GB, free: 21.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007237/0.4863, allocations: 2.369 MB / 0.6001 GB, free: 21.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.4876, allocations: 0.6797 MB / 0.6007 GB, free: 20.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.4878, allocations: 12.88 kB / 0.6007 GB, free: 20.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00165/0.4894, allocations: 0.8161 MB / 0.6015 GB, free: 20.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.467e-06/0.4894, allocations: 5.156 kB / 0.6015 GB, free: 20.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.0287/0.5181, allocations: 7.086 MB / 0.6085 GB, free: 19.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.5182, allocations: 122.5 kB / 0.6086 GB, free: 18.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.5201, allocations: 1.081 MB / 0.6096 GB, free: 18.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002316/0.5204, allocations: 45.86 kB / 0.6097 GB, free: 18.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.5207, allocations: 490.8 kB / 0.6101 GB, free: 18.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/0.5211, allocations: 356.1 kB / 0.6105 GB, free: 17.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005241/0.5216, allocations: 290.7 kB / 0.6108 GB, free: 17.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.216e-05/0.5217, allocations: 305.7 kB / 0.611 GB, free: 17.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.5232, allocations: 0.7652 MB / 0.6118 GB, free: 17.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.5249, allocations: 0.9328 MB / 0.6127 GB, free: 16.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02238/0.5473, allocations: 5.594 MB / 0.6182 GB, free: 13.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/0.5473, allocations: 0 / 0.6182 GB, free: 13.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01181/0.5592, allocations: 4.332 MB / 0.6224 GB, free: 9.469 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.959e-05/0.5593, allocations: 59.41 kB / 0.6225 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.5593, allocations: 8 kB / 0.6225 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004867/0.5642, allocations: 1.509 MB / 0.6239 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.5657, allocations: 299.6 kB / 0.6242 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/0.5831, allocations: 8.276 MB / 0.6323 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/0.5854, allocations: 206.8 kB / 0.6325 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003141/0.5857, allocations: 51.98 kB / 0.6326 GB, free: 14.89 MB / 446.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001039/0.5868, allocations: 315.1 kB / 0.6329 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005669/0.5874, allocations: 130.3 kB / 0.633 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/0.6003, allocations: 3.865 MB / 0.6368 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.6003, allocations: 8 kB / 0.6368 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-05/0.6004, allocations: 8 kB / 0.6368 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.6004, allocations: 7.969 kB / 0.6368 GB, free: 10.53 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01511/0.6155, allocations: 5.469 MB / 0.6421 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.6155, allocations: 0 / 0.6421 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005679/0.6161, allocations: 99.92 kB / 0.6422 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005384/0.6215, allocations: 1.598 MB / 0.6438 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.6217, allocations: 24 kB / 0.6438 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02127/0.6429, allocations: 9.637 MB / 0.6532 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.643, allocations: 8 kB / 0.6532 GB, free: 9.289 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/0.6575, allocations: 4.721 MB / 0.6578 GB, free: 4.535 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006452/0.6582, allocations: 223.3 kB / 0.658 GB, free: 4.297 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004423/0.6587, allocations: 19.94 kB / 0.6581 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.6602, allocations: 111.9 kB / 0.6582 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006597/0.6608, allocations: 200.9 kB / 0.6584 GB, free: 3.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.661, allocations: 24 kB / 0.6584 GB, free: 3.945 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001378/0.6623, allocations: 0.7312 MB / 0.6591 GB, free: 3.207 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6624, allocations: 0 / 0.6591 GB, free: 3.207 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001891/0.6643, allocations: 479.5 kB / 0.6595 GB, free: 2.738 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003652/0.6646, allocations: 132 kB / 0.6597 GB, free: 2.602 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006778/0.6714, allocations: 2.548 MB / 0.6622 GB, free: 16 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.6714, allocations: 0 / 0.6622 GB, free: 16 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004267/0.6757, allocations: 1.59 MB / 0.6637 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.6769, allocations: 112.6 kB / 0.6638 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004712/0.6817, allocations: 2.682 MB / 0.6664 GB, free: 11.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/0.6825, allocations: 1.124 MB / 0.6675 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005219/0.683, allocations: 124 kB / 0.6677 GB, free: 10.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.6833, allocations: 75.42 kB / 0.6677 GB, free: 10.21 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6833, allocations: 0 / 0.6677 GB, free: 10.21 MB / 478.1 MB Notification: Performance of Templates: time 0.0374/0.7207, allocations: 22.68 MB / 0.6899 GB, free: 3.562 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)