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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006463/0.006463, allocations: 170.1 kB / 15.13 MB, free: 6.023 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.37/1.37, allocations: 223.3 MB / 239.1 MB, free: 15.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007785/0.0007784, allocations: 102.5 kB / 290.3 MB, free: 4.621 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4959/0.4959, allocations: 78.61 MB / 420 MB, free: 36.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004078, allocations: 12 kB / 500 MB, free: 7.125 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1618, allocations: 69.35 MB / 0.556 GB, free: 1.711 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.00652/0.1684, allocations: 5.958 MB / 0.5618 GB, free: 11.72 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004703/0.1731, allocations: 1.897 MB / 0.5637 GB, free: 9.824 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008009/0.1739, allocations: 12 kB / 0.5637 GB, free: 9.812 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000666/0.1746, allocations: 166.7 kB / 0.5638 GB, free: 9.648 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.1767, allocations: 0.6607 MB / 0.5645 GB, free: 8.984 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.178, allocations: 0.5288 MB / 0.565 GB, free: 8.461 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.1798, allocations: 1.397 MB / 0.5664 GB, free: 7.059 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005063/0.1804, allocations: 253.8 kB / 0.5666 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.1814, allocations: 0.5561 MB / 0.5671 GB, free: 6.238 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008736/0.1823, allocations: 0.7311 MB / 0.5679 GB, free: 5.504 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.1825, allocations: 60 kB / 0.5679 GB, free: 5.445 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005712/0.183, allocations: 183.8 kB / 0.5681 GB, free: 5.266 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.1833, allocations: 254.8 kB / 0.5683 GB, free: 5.016 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.1836, allocations: 225 kB / 0.5686 GB, free: 4.789 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.1849, allocations: 1.231 MB / 0.5698 GB, free: 3.555 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1849, allocations: 0 / 0.5698 GB, free: 3.555 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1849, allocations: 0 / 0.5698 GB, free: 3.555 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.1849, allocations: 0 / 0.5698 GB, free: 3.555 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.008705/0.1936, allocations: 2.509 MB / 0.5722 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.1937, allocations: 12.03 kB / 0.5722 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003172/0.194, allocations: 126.6 kB / 0.5723 GB, free: 0.832 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004854/0.1989, allocations: 0.7788 MB / 0.5731 GB, free: 52 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2991/0.498, allocations: 0.8393 MB / 0.5739 GB, free: 43.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003299/0.4984, allocations: 272 kB / 0.5742 GB, free: 43.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.4986, allocations: 84.28 kB / 0.5743 GB, free: 43.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.5008, allocations: 1.136 MB / 0.5754 GB, free: 43.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.5008, allocations: 1.719 kB / 0.5754 GB, free: 43.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.891e-05/0.5009, allocations: 28.31 kB / 0.5754 GB, free: 43.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.5009, allocations: 18.19 kB / 0.5754 GB, free: 43.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.5029, allocations: 1.046 MB / 0.5764 GB, free: 43.53 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.006569/0.5095, allocations: 3.905 MB / 0.5802 GB, free: 42.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008494/0.518, allocations: 2.901 MB / 0.5831 GB, free: 41.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/0.5198, allocations: 0.7378 MB / 0.5838 GB, free: 41.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.5199, allocations: 15.92 kB / 0.5838 GB, free: 41.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001785/0.5217, allocations: 0.8766 MB / 0.5847 GB, free: 41.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=95): time 4.007e-06/0.5218, allocations: 0 / 0.5847 GB, free: 41.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.03307/0.5548, allocations: 8.765 MB / 0.5932 GB, free: 41.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.5549, allocations: 119.2 kB / 0.5933 GB, free: 40.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.5566, allocations: 1.072 MB / 0.5944 GB, free: 40.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002971/0.5569, allocations: 43.67 kB / 0.5944 GB, free: 40.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.5573, allocations: 0.4917 MB / 0.5949 GB, free: 40.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.5576, allocations: 354.4 kB / 0.5953 GB, free: 40.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.135e-05/0.5577, allocations: 34.59 kB / 0.5953 GB, free: 40.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.5578, allocations: 359.1 kB / 0.5956 GB, free: 39.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.5592, allocations: 0.8134 MB / 0.5964 GB, free: 39.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.5608, allocations: 0.9865 MB / 0.5974 GB, free: 39.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.5623, allocations: 0.9412 MB / 0.5983 GB, free: 38.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.5623, allocations: 1.219 kB / 0.5983 GB, free: 38.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01379/0.5761, allocations: 5.143 MB / 0.6033 GB, free: 37.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/0.5762, allocations: 67.77 kB / 0.6034 GB, free: 37.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.5763, allocations: 3 kB / 0.6034 GB, free: 37.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006265/0.5825, allocations: 1.901 MB / 0.6053 GB, free: 37.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.5841, allocations: 294.3 kB / 0.6055 GB, free: 37.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02041/0.6045, allocations: 9.065 MB / 0.6144 GB, free: 33.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/0.6066, allocations: 228.9 kB / 0.6146 GB, free: 33.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.6068, allocations: 56.47 kB / 0.6147 GB, free: 33.22 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.0005749/0.6073, allocations: 309.8 kB / 0.615 GB, free: 32.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.6076, allocations: 121.8 kB / 0.6151 GB, free: 32.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01503/0.6226, allocations: 4.708 MB / 0.6197 GB, free: 31.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.6227, allocations: 10.84 kB / 0.6197 GB, free: 31.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-05/0.6227, allocations: 5.656 kB / 0.6197 GB, free: 31.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-05/0.6228, allocations: 6.484 kB / 0.6197 GB, free: 31.88 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.01815/0.6409, allocations: 6.302 MB / 0.6258 GB, free: 29.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.641, allocations: 0.5625 kB / 0.6258 GB, free: 29.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007315/0.6417, allocations: 97 kB / 0.6259 GB, free: 29.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005992/0.6477, allocations: 1.892 MB / 0.6278 GB, free: 29.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001791/0.6479, allocations: 25.55 kB / 0.6278 GB, free: 29.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01809/0.666, allocations: 9.667 MB / 0.6372 GB, free: 20.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6661, allocations: 1.938 kB / 0.6372 GB, free: 20.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/0.6806, allocations: 5.63 MB / 0.6427 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004774/0.6811, allocations: 231.2 kB / 0.643 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.6813, allocations: 24 kB / 0.643 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.6825, allocations: 139.9 kB / 0.6431 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004885/0.683, allocations: 196.6 kB / 0.6433 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.961e-05/0.6831, allocations: 28.09 kB / 0.6433 GB, free: 14.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009398/0.6841, allocations: 0.7275 MB / 0.644 GB, free: 13.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6841, allocations: 0 / 0.644 GB, free: 13.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001363/0.6855, allocations: 471.5 kB / 0.6445 GB, free: 13.31 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.01451/0.7, allocations: 6.211 MB / 0.6506 GB, free: 7.062 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006124/0.7061, allocations: 2.774 MB / 0.6533 GB, free: 4.262 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.7062, allocations: 3.938 kB / 0.6533 GB, free: 4.258 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004278/0.7104, allocations: 1.8 MB / 0.655 GB, free: 2.422 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.7115, allocations: 118.8 kB / 0.6551 GB, free: 2.309 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/0.7385, allocations: 11.95 MB / 0.6668 GB, free: 6.051 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/0.7393, allocations: 1.116 MB / 0.6679 GB, free: 4.902 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005889/0.7399, allocations: 120.4 kB / 0.668 GB, free: 4.785 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006738/0.7406, allocations: 479.2 kB / 0.6685 GB, free: 4.316 MB / 458.7 MB Notification: Performance of SimCode: time 8.32e-07/0.7406, allocations: 0 / 0.6685 GB, free: 4.316 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05423/0.7948, allocations: 32 MB / 0.6997 GB, free: 4.723 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.7951, allocations: 239.1 kB / 0.7 GB, free: 4.473 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.017/3.812, allocations: 0 / 0.7 GB, free: 4.473 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)