Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.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.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_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.00101/0.00101, allocations: 100 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.34/1.34, allocations: 223.2 MB / 238.9 MB, free: 5.484 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.001119/0.001119, allocations: 185 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4817/0.4817, allocations: 79.45 MB / 420.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005677/0.0005678, allocations: 12 kB / 0.4891 GB, free: 5.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.355, allocations: 69.51 MB / 0.557 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.009542/0.3646, allocations: 12.05 MB / 0.5687 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007136/0.3717, allocations: 3.589 MB / 0.5722 GB, free: 32.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/0.3743, allocations: 31.16 kB / 0.5723 GB, free: 32.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.3758, allocations: 387.7 kB / 0.5726 GB, free: 32.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004249/0.38, allocations: 1.332 MB / 0.5739 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003273/0.3833, allocations: 1.269 MB / 0.5752 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004652/0.388, allocations: 2.368 MB / 0.5775 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.3892, allocations: 0.6941 MB / 0.5782 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.391, allocations: 1.315 MB / 0.5795 GB, free: 28.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.3928, allocations: 1.665 MB / 0.5811 GB, free: 27.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004022/0.3932, allocations: 140.3 kB / 0.5812 GB, free: 27.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007646/0.394, allocations: 263.4 kB / 0.5815 GB, free: 27.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004228/0.3944, allocations: 0.5771 MB / 0.582 GB, free: 27.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005242/0.395, allocations: 0.5217 MB / 0.5825 GB, free: 27.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002469/0.3974, allocations: 2.813 MB / 0.5853 GB, free: 26.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3974, allocations: 0 / 0.5853 GB, free: 26.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3975, allocations: 2.719 kB / 0.5853 GB, free: 26.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.541e-05/0.3976, allocations: 0 / 0.5853 GB, free: 26.14 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02207/0.4196, allocations: 6.159 MB / 0.5913 GB, free: 23.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.4197, allocations: 9.938 kB / 0.5913 GB, free: 23.88 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00124/0.421, allocations: 304.1 kB / 0.5916 GB, free: 23.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/0.4369, allocations: 2.301 MB / 0.5939 GB, free: 23.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004967/0.442, allocations: 1.773 MB / 0.5956 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008131/0.4428, allocations: 0.7476 MB / 0.5963 GB, free: 21.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/0.4439, allocations: 218.3 kB / 0.5965 GB, free: 21.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007764/0.4517, allocations: 3.201 MB / 0.5996 GB, free: 20.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.869e-05/0.4518, allocations: 1.156 kB / 0.5997 GB, free: 20.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002668/0.4521, allocations: 83.84 kB / 0.5997 GB, free: 20.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/0.4521, allocations: 53.27 kB / 0.5998 GB, free: 20.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007149/0.4593, allocations: 2.964 MB / 0.6027 GB, free: 19.28 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.02253/0.4819, allocations: 10.42 MB / 0.6128 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/0.4943, allocations: 4.848 MB / 0.6176 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004636/0.4948, allocations: 45.67 kB / 0.6176 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005383/0.5002, allocations: 2.416 MB / 0.62 GB, free: 10.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=247): time 7.254e-06/0.5002, allocations: 0 / 0.62 GB, free: 10.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=247): time 0.1355/0.6358, allocations: 36.34 MB / 0.6555 GB, free: 7.266 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.522e-05/0.6359, allocations: 180.2 kB / 0.6556 GB, free: 7.051 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003774/0.6397, allocations: 2.269 MB / 0.6579 GB, free: 4.762 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007008/0.6404, allocations: 73.7 kB / 0.6579 GB, free: 4.684 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009481/0.6414, allocations: 1.176 MB / 0.6591 GB, free: 3.496 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001244/0.6426, allocations: 0.8665 MB / 0.6599 GB, free: 2.617 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004706/0.6431, allocations: 60 kB / 0.66 GB, free: 2.559 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.6433, allocations: 432.8 kB / 0.6604 GB, free: 2.129 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004682/0.648, allocations: 2.13 MB / 0.6625 GB, free: 15.99 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004866/0.6529, allocations: 2.49 MB / 0.6649 GB, free: 13.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004871/0.6578, allocations: 2.4 MB / 0.6672 GB, free: 10.97 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.6578, allocations: 4 kB / 0.6673 GB, free: 10.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04479/0.7026, allocations: 15.16 MB / 0.6821 GB, free: 11.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.28e-05/0.7027, allocations: 111.9 kB / 0.6822 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.7028, allocations: 8 kB / 0.6822 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02032/0.7231, allocations: 6.36 MB / 0.6884 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/0.7261, allocations: 0.5617 MB / 0.6889 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06869/0.7948, allocations: 26.53 MB / 0.7148 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005273/0.8002, allocations: 0.587 MB / 0.7154 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008939/0.8011, allocations: 116 kB / 0.7155 GB, free: 9.328 MB / 0.5137 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.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 order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 318 * Array equations: 0 * Algorithm blocks: 4 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.002793/0.8039, allocations: 0.5377 MB / 0.716 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/0.8053, allocations: 292.3 kB / 0.7163 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04671/0.8521, allocations: 14.73 MB / 0.7307 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.454e-05/0.8522, allocations: 24 kB / 0.7307 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.327e-05/0.8523, allocations: 20 kB / 0.7308 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-05/0.8524, allocations: 15.89 kB / 0.7308 GB, free: 9.645 MB / 0.5294 GB 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.05574/0.9081, allocations: 18.41 MB / 0.7487 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.549e-05/0.9082, allocations: 6.516 kB / 0.7488 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/0.9098, allocations: 243.7 kB / 0.749 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01979/0.9296, allocations: 6.26 MB / 0.7551 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006968/0.9303, allocations: 55.98 kB / 0.7552 GB, free: 492 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3125/1.243, allocations: 26.86 MB / 0.7814 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.243, allocations: 2.969 kB / 0.7814 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04986/1.293, allocations: 17.32 MB / 0.7983 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.294, allocations: 413 kB / 0.7987 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/1.295, allocations: 44.48 kB / 0.7987 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003705/1.299, allocations: 406.6 kB / 0.7991 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002239/1.301, allocations: 0.5807 MB / 0.7997 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003939/1.301, allocations: 63.86 kB / 0.7998 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00275/1.304, allocations: 1.488 MB / 0.8012 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.042e-06/1.304, allocations: 0 / 0.8012 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004175/1.308, allocations: 1.186 MB / 0.8024 GB, free: 160.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.051/1.359, allocations: 18.07 MB / 0.82 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01861/1.378, allocations: 7.478 MB / 0.8273 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.378, allocations: 0 / 0.8273 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01362/1.392, allocations: 5.079 MB / 0.8323 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/1.394, allocations: 216.1 kB / 0.8325 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/1.406, allocations: 11.64 MB / 0.8438 GB, free: 135 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/1.408, allocations: 1.866 MB / 0.8457 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001217/1.409, allocations: 263.2 kB / 0.8459 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/1.41, allocations: 1.219 MB / 0.8471 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.653e-06/1.41, allocations: 0 / 0.8471 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/1.512, allocations: 78.95 MB / 0.9242 GB, free: 54.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/1.512, allocations: 216.1 kB / 0.9244 GB, free: 54.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.011/5.523, allocations: 0 / 0.9244 GB, free: 54.22 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: