Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_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.0009514/0.0009514, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.416/1.416, allocations: 223.3 MB / 239 MB, free: 5.453 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.001282/0.001282, allocations: 168.6 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5138/0.5138, allocations: 78.56 MB / 419.9 MB, free: 4.324 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003861, allocations: 12 kB / 499.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1587, allocations: 69.37 MB / 0.5559 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.2944/0.4532, allocations: 5.939 MB / 0.5617 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004438/0.4577, allocations: 1.903 MB / 0.5636 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007944/0.4585, allocations: 10.25 kB / 0.5636 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006762/0.4592, allocations: 173.3 kB / 0.5637 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.4611, allocations: 0.6573 MB / 0.5644 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.4623, allocations: 0.5172 MB / 0.5649 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.4638, allocations: 1.409 MB / 0.5663 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004175/0.4642, allocations: 263.2 kB / 0.5665 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000626/0.4648, allocations: 0.5526 MB / 0.5671 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007313/0.4656, allocations: 0.7227 MB / 0.5678 GB, free: 36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.4657, allocations: 58.25 kB / 0.5678 GB, free: 36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004639/0.4662, allocations: 189.2 kB / 0.568 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.4664, allocations: 251.4 kB / 0.5682 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.4667, allocations: 228.2 kB / 0.5685 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.4677, allocations: 1.226 MB / 0.5696 GB, free: 35.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4678, allocations: 0 / 0.5696 GB, free: 35.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4678, allocations: 0 / 0.5696 GB, free: 35.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.4678, allocations: 0.625 kB / 0.5696 GB, free: 35.64 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007086/0.4749, allocations: 2.514 MB / 0.5721 GB, free: 34.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.4749, allocations: 11.66 kB / 0.5721 GB, free: 34.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002532/0.4752, allocations: 130.4 kB / 0.5722 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/0.4798, allocations: 0.7857 MB / 0.573 GB, free: 34.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.4813, allocations: 0.8496 MB / 0.5738 GB, free: 34.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.4816, allocations: 267.8 kB / 0.5741 GB, free: 33.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.4817, allocations: 80.59 kB / 0.5742 GB, free: 33.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.4838, allocations: 1.137 MB / 0.5753 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.4839, allocations: 0 / 0.5753 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.64e-05/0.4839, allocations: 29.25 kB / 0.5753 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.484, allocations: 22.33 kB / 0.5753 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.4857, allocations: 1.05 MB / 0.5764 GB, free: 33.48 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.005606/0.4913, allocations: 3.895 MB / 0.5802 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006672/0.498, allocations: 2.913 MB / 0.583 GB, free: 30.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.4996, allocations: 0.7338 MB / 0.5837 GB, free: 30.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.4997, allocations: 18.09 kB / 0.5837 GB, free: 30.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001659/0.5014, allocations: 0.8685 MB / 0.5846 GB, free: 29.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 2.785e-06/0.5014, allocations: 0 / 0.5846 GB, free: 29.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.02869/0.5301, allocations: 8.763 MB / 0.5931 GB, free: 28.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.5302, allocations: 118.3 kB / 0.5933 GB, free: 28.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002557/0.5328, allocations: 1.081 MB / 0.5943 GB, free: 27.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002958/0.5331, allocations: 48.25 kB / 0.5944 GB, free: 27.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/0.5336, allocations: 492.2 kB / 0.5948 GB, free: 27.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005745/0.5342, allocations: 348 kB / 0.5952 GB, free: 26.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.5344, allocations: 30.72 kB / 0.5952 GB, free: 26.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5346, allocations: 362.2 kB / 0.5955 GB, free: 26.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/0.5365, allocations: 0.8118 MB / 0.5963 GB, free: 26.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.5386, allocations: 0.9894 MB / 0.5973 GB, free: 25.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/0.5408, allocations: 0.9447 MB / 0.5982 GB, free: 25.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.5408, allocations: 2.5 kB / 0.5982 GB, free: 25.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01524/0.556, allocations: 5.14 MB / 0.6032 GB, free: 24.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.89e-05/0.5562, allocations: 63.23 kB / 0.6033 GB, free: 24.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.5562, allocations: 3.969 kB / 0.6033 GB, free: 24.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006793/0.563, allocations: 1.903 MB / 0.6052 GB, free: 23.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/0.5647, allocations: 297.2 kB / 0.6054 GB, free: 23.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/0.5858, allocations: 9.059 MB / 0.6143 GB, free: 17.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.5879, allocations: 234.7 kB / 0.6145 GB, free: 17.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003216/0.5882, allocations: 57.02 kB / 0.6146 GB, free: 17.64 MB / 430.1 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.0009474/0.5892, allocations: 304.1 kB / 0.6149 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004046/0.5896, allocations: 126.4 kB / 0.615 GB, free: 17.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/0.601, allocations: 4.709 MB / 0.6196 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.601, allocations: 9 kB / 0.6196 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/0.6011, allocations: 15.95 kB / 0.6196 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.887e-05/0.6011, allocations: 3.984 kB / 0.6196 GB, free: 12.45 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.0134/0.6145, allocations: 6.29 MB / 0.6257 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.6146, allocations: 0 / 0.6257 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000613/0.6152, allocations: 103.8 kB / 0.6258 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005004/0.6202, allocations: 1.887 MB / 0.6277 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002064/0.6204, allocations: 21.31 kB / 0.6277 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01932/0.6398, allocations: 9.674 MB / 0.6372 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6398, allocations: 3.984 kB / 0.6372 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01472/0.6546, allocations: 5.631 MB / 0.6427 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006597/0.6553, allocations: 219.4 kB / 0.6429 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004844/0.6558, allocations: 20 kB / 0.6429 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/0.6573, allocations: 148 kB / 0.643 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007012/0.658, allocations: 192.6 kB / 0.6432 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.6582, allocations: 29.12 kB / 0.6432 GB, free: 3.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001513/0.6597, allocations: 0.7236 MB / 0.6439 GB, free: 3.066 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6597, allocations: 4 kB / 0.6439 GB, free: 3.062 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002416/0.6621, allocations: 475.5 kB / 0.6444 GB, free: 2.598 MB / 446.1 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.01491/0.677, allocations: 6.208 MB / 0.6505 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006918/0.684, allocations: 2.771 MB / 0.6532 GB, free: 9.539 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.6841, allocations: 3.938 kB / 0.6532 GB, free: 9.535 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004355/0.6884, allocations: 1.805 MB / 0.6549 GB, free: 7.691 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.69, allocations: 111.4 kB / 0.655 GB, free: 7.586 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02738/0.7174, allocations: 11.96 MB / 0.6667 GB, free: 11.31 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008485/0.7183, allocations: 1.116 MB / 0.6678 GB, free: 10.17 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006625/0.719, allocations: 116.8 kB / 0.6679 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008055/0.7198, allocations: 475.9 kB / 0.6684 GB, free: 9.594 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.7199, allocations: 4 kB / 0.6684 GB, free: 9.59 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06047/0.7803, allocations: 31.97 MB / 0.6996 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.7806, allocations: 236.5 kB / 0.6998 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/3.618, allocations: 0 / 0.6998 GB, free: 9.785 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: