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.01057/0.01057, allocations: 168.8 kB / 15.12 MB, free: 5.559 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.559/1.559, allocations: 223.2 MB / 239 MB, free: 1.773 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000864/0.0008638, allocations: 105.7 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4489/0.4489, allocations: 78.58 MB / 419.9 MB, free: 44.27 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.000407, allocations: 12 kB / 499.9 MB, free: 2.82 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4671/0.4675, allocations: 69.34 MB / 0.5559 GB, free: 39.11 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007871/0.4755, allocations: 5.685 MB / 0.5614 GB, free: 38.02 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00541/0.4809, allocations: 1.943 MB / 0.5633 GB, free: 36.64 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009929/0.4819, allocations: 10.88 kB / 0.5633 GB, free: 36.64 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000829/0.4828, allocations: 171.1 kB / 0.5635 GB, free: 36.57 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002952/0.4858, allocations: 0.7146 MB / 0.5642 GB, free: 36.09 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.4878, allocations: 0.5247 MB / 0.5647 GB, free: 35.84 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002534/0.4903, allocations: 0.9808 MB / 0.5656 GB, free: 35.31 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006265/0.491, allocations: 268.3 kB / 0.5659 GB, free: 35.2 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.4923, allocations: 0.5573 MB / 0.5664 GB, free: 34.95 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.4938, allocations: 0.7132 MB / 0.5671 GB, free: 34.64 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002875/0.4941, allocations: 63.06 kB / 0.5672 GB, free: 34.64 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007776/0.4949, allocations: 171.2 kB / 0.5674 GB, free: 34.6 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003549/0.4953, allocations: 247.3 kB / 0.5676 GB, free: 34.46 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003622/0.4957, allocations: 229.9 kB / 0.5678 GB, free: 34.32 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.4972, allocations: 1.186 MB / 0.569 GB, free: 33.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.4973, allocations: 2.938 kB / 0.569 GB, free: 33.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4973, allocations: 0 / 0.569 GB, free: 33.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.4973, allocations: 0 / 0.569 GB, free: 33.97 MB / 426.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.01311/0.5104, allocations: 2.511 MB / 0.5714 GB, free: 32.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.5105, allocations: 12.91 kB / 0.5714 GB, free: 32.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003869/0.5109, allocations: 122.2 kB / 0.5716 GB, free: 32.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008959/0.5199, allocations: 0.7941 MB / 0.5723 GB, free: 32.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/0.5225, allocations: 0.8444 MB / 0.5732 GB, free: 32.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003414/0.5228, allocations: 268.2 kB / 0.5734 GB, free: 31.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/0.5231, allocations: 84.41 kB / 0.5735 GB, free: 31.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00333/0.5264, allocations: 1.132 MB / 0.5746 GB, free: 31.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.5265, allocations: 0 / 0.5746 GB, free: 31.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.5266, allocations: 29.88 kB / 0.5746 GB, free: 31.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.5266, allocations: 21.64 kB / 0.5746 GB, free: 31.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003298/0.5299, allocations: 1.053 MB / 0.5757 GB, free: 30.99 MB / 426.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.01023/0.5402, allocations: 4.092 MB / 0.5797 GB, free: 28.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01286/0.5531, allocations: 2.902 MB / 0.5825 GB, free: 27.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/0.5533, allocations: 23.94 kB / 0.5825 GB, free: 27.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00283/0.5562, allocations: 0.8654 MB / 0.5834 GB, free: 27.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=95): time 5.07e-06/0.5562, allocations: 0 / 0.5834 GB, free: 27.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.04569/0.6019, allocations: 8.76 MB / 0.5919 GB, free: 25.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.466e-05/0.602, allocations: 117.3 kB / 0.592 GB, free: 25.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.6038, allocations: 1.081 MB / 0.5931 GB, free: 25.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002319/0.6041, allocations: 45.61 kB / 0.5931 GB, free: 25.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/0.6045, allocations: 489.7 kB / 0.5936 GB, free: 24.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003893/0.6049, allocations: 353.1 kB / 0.5939 GB, free: 24.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.16e-05/0.605, allocations: 34.03 kB / 0.594 GB, free: 24.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.6051, allocations: 360.9 kB / 0.5943 GB, free: 24.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.6068, allocations: 0.8124 MB / 0.5951 GB, free: 23.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.6085, allocations: 0.9859 MB / 0.5961 GB, free: 23.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.6103, allocations: 0.9467 MB / 0.597 GB, free: 22.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.6103, allocations: 1.438 kB / 0.597 GB, free: 22.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01532/0.6257, allocations: 5.14 MB / 0.602 GB, free: 21.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.809e-05/0.6258, allocations: 60.05 kB / 0.6021 GB, free: 21.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.6258, allocations: 2.656 kB / 0.6021 GB, free: 21.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00725/0.6331, allocations: 1.907 MB / 0.6039 GB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.6348, allocations: 297 kB / 0.6042 GB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/0.656, allocations: 9.496 MB / 0.6135 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/0.6581, allocations: 234.7 kB / 0.6137 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.6583, allocations: 56.14 kB / 0.6138 GB, free: 14.39 MB / 426.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.0005531/0.6589, allocations: 310.3 kB / 0.6141 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.6591, allocations: 126.4 kB / 0.6142 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/0.6715, allocations: 4.709 MB / 0.6188 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.6715, allocations: 8 kB / 0.6188 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/0.6715, allocations: 11.95 kB / 0.6188 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.485e-05/0.6716, allocations: 7.969 kB / 0.6188 GB, free: 9.191 MB / 426.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.01406/0.6856, allocations: 6.345 MB / 0.625 GB, free: 2.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.6857, allocations: 4.031 kB / 0.625 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/0.6864, allocations: 103.8 kB / 0.6251 GB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005449/0.6918, allocations: 1.879 MB / 0.627 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/0.6921, allocations: 31.92 kB / 0.627 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02246/0.7146, allocations: 10.11 MB / 0.6369 GB, free: 6.305 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.7146, allocations: 4.25 kB / 0.6369 GB, free: 6.301 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/0.7311, allocations: 5.642 MB / 0.6424 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000572/0.7317, allocations: 223.4 kB / 0.6426 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004721/0.7322, allocations: 20 kB / 0.6426 GB, free: 368 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.7337, allocations: 143.9 kB / 0.6427 GB, free: 224 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007442/0.7344, allocations: 200.6 kB / 0.6429 GB, free: 24 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.7346, allocations: 20 kB / 0.643 GB, free: 4 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001392/0.736, allocations: 0.7276 MB / 0.6437 GB, free: 15.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.736, allocations: 0 / 0.6437 GB, free: 15.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002042/0.7381, allocations: 475.5 kB / 0.6441 GB, free: 14.8 MB / 458.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.01716/0.7552, allocations: 6.297 MB / 0.6503 GB, free: 8.449 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007839/0.7631, allocations: 2.765 MB / 0.653 GB, free: 5.652 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.7632, allocations: 0.75 kB / 0.653 GB, free: 5.652 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004984/0.7681, allocations: 1.802 MB / 0.6547 GB, free: 3.812 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.7692, allocations: 102.6 kB / 0.6548 GB, free: 3.715 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006684/0.776, allocations: 4.95 MB / 0.6597 GB, free: 14.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/0.7767, allocations: 1.147 MB / 0.6608 GB, free: 13.49 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005076/0.7773, allocations: 116.1 kB / 0.6609 GB, free: 13.37 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006508/0.7779, allocations: 479.2 kB / 0.6614 GB, free: 12.9 MB / 474.7 MB Notification: Performance of SimCode: time 9.02e-07/0.7779, allocations: 0 / 0.6614 GB, free: 12.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05597/0.8339, allocations: 31.15 MB / 0.6918 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/0.8342, allocations: 229.7 kB / 0.692 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.073/3.907, allocations: 0 / 0.692 GB, free: 13.74 MB / 0.4948 GB (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)