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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.449/1.449, allocations: 223.2 MB / 238.9 MB, free: 5.656 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.001148/0.001148, allocations: 180 kB / 290.2 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5247/0.5247, allocations: 79.45 MB / 420.7 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004067, allocations: 8 kB / 0.4891 GB, free: 5.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4257, allocations: 69.51 MB / 0.557 GB, free: 37.85 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.00629/0.4321, allocations: 5.734 MB / 0.5626 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.4363, allocations: 1.95 MB / 0.5645 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008075/0.4372, allocations: 15.06 kB / 0.5645 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007074/0.4379, allocations: 171.1 kB / 0.5646 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.4398, allocations: 0.7121 MB / 0.5653 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.4411, allocations: 0.5175 MB / 0.5658 GB, free: 37 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.4425, allocations: 1.009 MB / 0.5668 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003697/0.4429, allocations: 268.6 kB / 0.5671 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006483/0.4436, allocations: 0.5587 MB / 0.5676 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000656/0.4443, allocations: 0.704 MB / 0.5683 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.4444, allocations: 58.72 kB / 0.5684 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004284/0.4448, allocations: 174 kB / 0.5685 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.4451, allocations: 249.5 kB / 0.5688 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.4453, allocations: 230 kB / 0.569 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.4463, allocations: 1.184 MB / 0.5702 GB, free: 35.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4463, allocations: 0 / 0.5702 GB, free: 35.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4464, allocations: 0 / 0.5702 GB, free: 35.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.4464, allocations: 0 / 0.5702 GB, free: 35.84 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.008107/0.4545, allocations: 2.513 MB / 0.5726 GB, free: 34.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/0.4546, allocations: 8.688 kB / 0.5726 GB, free: 34.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002796/0.4549, allocations: 129.2 kB / 0.5727 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/0.4598, allocations: 0.7838 MB / 0.5735 GB, free: 34.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.4614, allocations: 0.8426 MB / 0.5743 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002605/0.4616, allocations: 267.4 kB / 0.5746 GB, free: 33.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.4618, allocations: 80.77 kB / 0.5747 GB, free: 33.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.4638, allocations: 1.14 MB / 0.5758 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4638, allocations: 0 / 0.5758 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-05/0.4639, allocations: 31.22 kB / 0.5758 GB, free: 33.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.4639, allocations: 21.73 kB / 0.5758 GB, free: 33.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.4659, allocations: 1.047 MB / 0.5768 GB, free: 32.94 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.006287/0.4722, allocations: 4.137 MB / 0.5809 GB, free: 30.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00754/0.4797, allocations: 2.913 MB / 0.5837 GB, free: 29.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.48, allocations: 14.86 kB / 0.5837 GB, free: 29.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001887/0.4818, allocations: 0.876 MB / 0.5846 GB, free: 29.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.707e-06/0.4819, allocations: 0 / 0.5846 GB, free: 29.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.03122/0.5131, allocations: 8.636 MB / 0.593 GB, free: 27.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.5132, allocations: 112.8 kB / 0.5931 GB, free: 27.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/0.5158, allocations: 1.07 MB / 0.5942 GB, free: 27.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002819/0.5161, allocations: 42.14 kB / 0.5942 GB, free: 27.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.5165, allocations: 497.5 kB / 0.5947 GB, free: 26.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003861/0.5169, allocations: 360.7 kB / 0.595 GB, free: 26.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.517, allocations: 31.66 kB / 0.5951 GB, free: 26.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5171, allocations: 364.8 kB / 0.5954 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.5188, allocations: 0.8219 MB / 0.5962 GB, free: 25.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.5207, allocations: 0.9801 MB / 0.5972 GB, free: 25.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0018/0.5225, allocations: 0.9599 MB / 0.5981 GB, free: 24.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.5225, allocations: 1.156 kB / 0.5981 GB, free: 24.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01532/0.5378, allocations: 5.156 MB / 0.6032 GB, free: 23.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.384e-05/0.5379, allocations: 59.86 kB / 0.6032 GB, free: 23.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.5379, allocations: 3.609 kB / 0.6032 GB, free: 23.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007065/0.545, allocations: 1.901 MB / 0.6051 GB, free: 23.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/0.5469, allocations: 293.4 kB / 0.6054 GB, free: 23.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02278/0.5697, allocations: 9.454 MB / 0.6146 GB, free: 17.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.5718, allocations: 234.7 kB / 0.6148 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002721/0.5721, allocations: 57.03 kB / 0.6149 GB, free: 17.18 MB / 430.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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" 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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 161 * 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.0007841/0.5729, allocations: 304.9 kB / 0.6152 GB, free: 16.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/0.5732, allocations: 130.4 kB / 0.6153 GB, free: 16.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.5857, allocations: 4.709 MB / 0.6199 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.5858, allocations: 14.06 kB / 0.6199 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-05/0.5858, allocations: 8.875 kB / 0.6199 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.5859, allocations: 11.92 kB / 0.6199 GB, free: 11.97 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 postOpt removeSimpleEquations (simulation): time 0.0148/0.6007, allocations: 6.351 MB / 0.6261 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.6007, allocations: 5.5 kB / 0.6261 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/0.6014, allocations: 95.89 kB / 0.6262 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005511/0.6069, allocations: 1.876 MB / 0.628 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/0.6071, allocations: 25.38 kB / 0.6281 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0228/0.6299, allocations: 10.11 MB / 0.6379 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.63, allocations: 8 kB / 0.6379 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/0.6467, allocations: 5.642 MB / 0.6435 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006559/0.6474, allocations: 231.1 kB / 0.6437 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004802/0.6479, allocations: 20.09 kB / 0.6437 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.6494, allocations: 147.8 kB / 0.6438 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007301/0.6502, allocations: 193.8 kB / 0.644 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.6503, allocations: 28.83 kB / 0.644 GB, free: 2.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001433/0.6518, allocations: 0.7235 MB / 0.6448 GB, free: 2.059 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6518, allocations: 0 / 0.6448 GB, free: 2.059 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002206/0.654, allocations: 473 kB / 0.6452 GB, free: 1.598 MB / 446.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 (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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01724/0.6713, allocations: 6.301 MB / 0.6514 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008005/0.6793, allocations: 2.778 MB / 0.6541 GB, free: 8.434 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.6794, allocations: 0.75 kB / 0.6541 GB, free: 8.434 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005048/0.6844, allocations: 1.806 MB / 0.6558 GB, free: 6.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.6857, allocations: 94.58 kB / 0.6559 GB, free: 6.496 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009211/0.695, allocations: 5.029 MB / 0.6608 GB, free: 1.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.6961, allocations: 1.147 MB / 0.662 GB, free: 240 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007419/0.6969, allocations: 120.7 kB / 0.6621 GB, free: 120 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009775/0.6979, allocations: 463.3 kB / 0.6625 GB, free: 15.66 MB / 478.1 MB Notification: Performance of SimCode: time 1.333e-06/0.6979, allocations: 0 / 0.6625 GB, free: 15.66 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0675/0.7654, allocations: 31.14 MB / 0.6929 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/0.7657, allocations: 231.2 kB / 0.6931 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.698/3.464, allocations: 0 / 0.6931 GB, free: 0.6914 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: