Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_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.0007973/0.0007973, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.347/1.347, allocations: 223.2 MB / 239 MB, free: 5.449 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.0009809/0.0009808, allocations: 168.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.466/0.466, allocations: 79.48 MB / 420.8 MB, free: 3.871 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004087, allocations: 12 kB / 0.4892 GB, free: 5.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3884, allocations: 69.51 MB / 0.5571 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.005632/0.3941, allocations: 6.088 MB / 0.563 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00407/0.3982, allocations: 1.939 MB / 0.5649 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000876/0.3991, allocations: 10.66 kB / 0.5649 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.3998, allocations: 175.8 kB / 0.5651 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.4016, allocations: 0.6629 MB / 0.5658 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.4028, allocations: 0.5272 MB / 0.5663 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.4044, allocations: 1.455 MB / 0.5677 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.4048, allocations: 268 kB / 0.568 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008705/0.4057, allocations: 0.5777 MB / 0.5685 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007563/0.4064, allocations: 0.7571 MB / 0.5693 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.4066, allocations: 61.22 kB / 0.5693 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.4071, allocations: 188.9 kB / 0.5695 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002648/0.4073, allocations: 260.6 kB / 0.5697 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.4076, allocations: 233.5 kB / 0.57 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.4087, allocations: 1.268 MB / 0.5712 GB, free: 35.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4087, allocations: 0 / 0.5712 GB, free: 35.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4087, allocations: 0.5 kB / 0.5712 GB, free: 35.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.4087, allocations: 0.625 kB / 0.5712 GB, free: 35.07 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.00724/0.4159, allocations: 2.576 MB / 0.5737 GB, free: 33.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.416, allocations: 8.906 kB / 0.5737 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002306/0.4162, allocations: 123.4 kB / 0.5738 GB, free: 33.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004534/0.4208, allocations: 0.785 MB / 0.5746 GB, free: 33.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.4223, allocations: 0.8673 MB / 0.5755 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/0.4226, allocations: 267.8 kB / 0.5757 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.4227, allocations: 90.08 kB / 0.5758 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.4247, allocations: 1.154 MB / 0.5769 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.4247, allocations: 0.8125 kB / 0.5769 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.638e-05/0.4248, allocations: 39.67 kB / 0.577 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.4248, allocations: 20.45 kB / 0.577 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.4266, allocations: 1.054 MB / 0.578 GB, free: 32.14 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.005768/0.4324, allocations: 3.958 MB / 0.5819 GB, free: 29.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00676/0.4392, allocations: 2.923 MB / 0.5847 GB, free: 29.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.4407, allocations: 0.7513 MB / 0.5855 GB, free: 28.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.4409, allocations: 19.41 kB / 0.5855 GB, free: 28.72 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001601/0.4425, allocations: 0.883 MB / 0.5863 GB, free: 28.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.015e-06/0.4425, allocations: 4 kB / 0.5864 GB, free: 28.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02871/0.4712, allocations: 8.801 MB / 0.5949 GB, free: 26.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.4713, allocations: 114.8 kB / 0.5951 GB, free: 26.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.4733, allocations: 1.111 MB / 0.5961 GB, free: 26.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002042/0.4735, allocations: 46.42 kB / 0.5962 GB, free: 26.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/0.4739, allocations: 0.4939 MB / 0.5967 GB, free: 25.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/0.4742, allocations: 370.5 kB / 0.597 GB, free: 25.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.525e-05/0.4743, allocations: 30.41 kB / 0.5971 GB, free: 25.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4745, allocations: 371.4 kB / 0.5974 GB, free: 25.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.4761, allocations: 0.8361 MB / 0.5982 GB, free: 24.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.4779, allocations: 1.009 MB / 0.5992 GB, free: 24.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.4798, allocations: 0.9719 MB / 0.6002 GB, free: 23.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.4798, allocations: 3.938 kB / 0.6002 GB, free: 23.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01468/0.4945, allocations: 5.199 MB / 0.6052 GB, free: 22.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.578e-05/0.4946, allocations: 60.58 kB / 0.6053 GB, free: 22.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.4947, allocations: 3.438 kB / 0.6053 GB, free: 22.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006499/0.5012, allocations: 1.928 MB / 0.6072 GB, free: 22.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/0.5031, allocations: 315 kB / 0.6075 GB, free: 22.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/0.5213, allocations: 8.977 MB / 0.6162 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.5233, allocations: 239.6 kB / 0.6165 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/0.5236, allocations: 59.98 kB / 0.6165 GB, free: 15.58 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-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 (168): * Single equations (assignments): 165 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.000817/0.5244, allocations: 307.2 kB / 0.6168 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/0.5248, allocations: 130.4 kB / 0.617 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.5361, allocations: 4.74 MB / 0.6216 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.5362, allocations: 12 kB / 0.6216 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/0.5362, allocations: 11.98 kB / 0.6216 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.759e-05/0.5362, allocations: 7.984 kB / 0.6216 GB, free: 10.34 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.01399/0.5502, allocations: 6.354 MB / 0.6278 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.5503, allocations: 0 / 0.6278 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000641/0.551, allocations: 108.7 kB / 0.6279 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004885/0.5559, allocations: 1.873 MB / 0.6297 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/0.5561, allocations: 20 kB / 0.6298 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01936/0.5754, allocations: 9.688 MB / 0.6392 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.5755, allocations: 4 kB / 0.6392 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01527/0.5908, allocations: 5.67 MB / 0.6448 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006604/0.5915, allocations: 235.2 kB / 0.645 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000502/0.592, allocations: 25.05 kB / 0.645 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.5935, allocations: 139.9 kB / 0.6452 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006938/0.5942, allocations: 204.6 kB / 0.6453 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.5944, allocations: 27.98 kB / 0.6454 GB, free: 1.559 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001496/0.5959, allocations: 0.7475 MB / 0.6461 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.42e-07/0.5959, allocations: 0 / 0.6461 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002282/0.5982, allocations: 488.3 kB / 0.6466 GB, free: 336 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (65): * Single equations (assignments): 62 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01576/0.614, allocations: 6.261 MB / 0.6527 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007385/0.6214, allocations: 2.847 MB / 0.6555 GB, free: 7.141 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.6214, allocations: 0 / 0.6555 GB, free: 7.141 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004483/0.6259, allocations: 1.794 MB / 0.6572 GB, free: 5.309 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.6276, allocations: 117.3 kB / 0.6573 GB, free: 5.191 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/0.6564, allocations: 12.36 MB / 0.6694 GB, free: 8.527 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.6575, allocations: 1.136 MB / 0.6705 GB, free: 7.359 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008076/0.6584, allocations: 114.6 kB / 0.6706 GB, free: 7.246 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009928/0.6594, allocations: 475.3 kB / 0.6711 GB, free: 6.781 MB / 478.1 MB Notification: Performance of SimCode: time 1.482e-06/0.6594, allocations: 0 / 0.6711 GB, free: 6.781 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06389/0.7233, allocations: 32.63 MB / 0.7029 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.7235, allocations: 235.3 kB / 0.7032 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.76/3.483, allocations: 4 kB / 0.7032 GB, free: 6.301 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: