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.001128/0.001128, allocations: 99.86 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.434/1.434, allocations: 223.2 MB / 238.9 MB, free: 5.496 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.001153/0.001152, allocations: 193 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.6043/0.6043, allocations: 78.53 MB / 419.8 MB, free: 4.312 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003947, allocations: 8 kB / 499.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.149, allocations: 69.36 MB / 0.5558 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.2832/0.4323, allocations: 5.678 MB / 0.5613 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004606/0.4369, allocations: 1.942 MB / 0.5632 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.438, allocations: 14.72 kB / 0.5632 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006911/0.4387, allocations: 169.6 kB / 0.5634 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.4408, allocations: 0.7071 MB / 0.5641 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.442, allocations: 0.5117 MB / 0.5646 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001822/0.4439, allocations: 0.9899 MB / 0.5655 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004512/0.4443, allocations: 261.4 kB / 0.5658 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008267/0.4452, allocations: 0.5608 MB / 0.5663 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007644/0.4459, allocations: 0.712 MB / 0.567 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.4461, allocations: 66.38 kB / 0.5671 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005458/0.4466, allocations: 166.7 kB / 0.5673 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003509/0.447, allocations: 246.4 kB / 0.5675 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.4473, allocations: 232.4 kB / 0.5677 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.4483, allocations: 1.181 MB / 0.5689 GB, free: 36.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.4483, allocations: 2.688 kB / 0.5689 GB, free: 36.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4483, allocations: 1.219 kB / 0.5689 GB, free: 36.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.4484, allocations: 0 / 0.5689 GB, free: 36.17 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.007835/0.4562, allocations: 2.513 MB / 0.5713 GB, free: 35.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.4563, allocations: 10.5 kB / 0.5713 GB, free: 35.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002986/0.4566, allocations: 123.4 kB / 0.5715 GB, free: 35.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004963/0.4615, allocations: 0.7929 MB / 0.5722 GB, free: 35.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.4636, allocations: 0.8454 MB / 0.5731 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002664/0.4639, allocations: 267.6 kB / 0.5733 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.464, allocations: 85.38 kB / 0.5734 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.4662, allocations: 1.133 MB / 0.5745 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.4662, allocations: 0 / 0.5745 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-05/0.4663, allocations: 31.3 kB / 0.5745 GB, free: 34.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.4664, allocations: 25.64 kB / 0.5745 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.4683, allocations: 1.04 MB / 0.5756 GB, free: 33.87 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.006189/0.4745, allocations: 4.098 MB / 0.5796 GB, free: 31.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007649/0.4821, allocations: 2.908 MB / 0.5824 GB, free: 30.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/0.4825, allocations: 15.17 kB / 0.5824 GB, free: 30.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002289/0.4848, allocations: 0.8692 MB / 0.5833 GB, free: 30.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 4.609e-06/0.4848, allocations: 0 / 0.5833 GB, free: 30.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.03354/0.5183, allocations: 8.767 MB / 0.5918 GB, free: 28.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/0.5185, allocations: 114.9 kB / 0.5919 GB, free: 28.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/0.521, allocations: 1.078 MB / 0.593 GB, free: 28.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003264/0.5214, allocations: 45.88 kB / 0.593 GB, free: 28.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/0.5218, allocations: 499.3 kB / 0.5935 GB, free: 27.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004166/0.5222, allocations: 359.9 kB / 0.5939 GB, free: 27.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.5223, allocations: 29.5 kB / 0.5939 GB, free: 27.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5224, allocations: 362.3 kB / 0.5942 GB, free: 26.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.5242, allocations: 0.8119 MB / 0.595 GB, free: 26.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/0.526, allocations: 0.9727 MB / 0.596 GB, free: 26.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.5278, allocations: 0.9479 MB / 0.5969 GB, free: 25.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.5278, allocations: 5.328 kB / 0.5969 GB, free: 25.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01517/0.543, allocations: 5.14 MB / 0.6019 GB, free: 24.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.404e-05/0.5431, allocations: 60.92 kB / 0.602 GB, free: 24.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.5431, allocations: 4.656 kB / 0.602 GB, free: 24.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006982/0.5501, allocations: 1.907 MB / 0.6038 GB, free: 24.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.5518, allocations: 293.7 kB / 0.6041 GB, free: 24.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02178/0.5736, allocations: 9.493 MB / 0.6134 GB, free: 18.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/0.576, allocations: 230.7 kB / 0.6136 GB, free: 18.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/0.5763, allocations: 63.97 kB / 0.6137 GB, free: 18.39 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.0007587/0.577, allocations: 301.6 kB / 0.614 GB, free: 18.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.5773, allocations: 122.4 kB / 0.6141 GB, free: 17.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/0.5897, allocations: 4.71 MB / 0.6187 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.5898, allocations: 12 kB / 0.6187 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.5898, allocations: 5.875 kB / 0.6187 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.829e-05/0.5899, allocations: 11.94 kB / 0.6187 GB, free: 13.21 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.01433/0.6042, allocations: 6.351 MB / 0.6249 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.6043, allocations: 0 / 0.6249 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/0.6049, allocations: 91.91 kB / 0.625 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005395/0.6103, allocations: 1.893 MB / 0.6269 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000201/0.6106, allocations: 23.98 kB / 0.6269 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01984/0.6304, allocations: 10.11 MB / 0.6368 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.6305, allocations: 1.438 kB / 0.6368 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01573/0.6462, allocations: 5.642 MB / 0.6423 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000755/0.647, allocations: 223.4 kB / 0.6425 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/0.6473, allocations: 24 kB / 0.6425 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.6485, allocations: 141.1 kB / 0.6426 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006261/0.6491, allocations: 196.7 kB / 0.6428 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-05/0.6492, allocations: 27.98 kB / 0.6428 GB, free: 4.035 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001097/0.6503, allocations: 0.7237 MB / 0.6436 GB, free: 3.305 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6503, allocations: 0 / 0.6436 GB, free: 3.305 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001668/0.652, allocations: 479.5 kB / 0.644 GB, free: 2.836 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.01582/0.6678, allocations: 6.291 MB / 0.6502 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006852/0.6747, allocations: 2.771 MB / 0.6529 GB, free: 9.688 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.6748, allocations: 0 / 0.6529 GB, free: 9.688 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004573/0.6794, allocations: 1.81 MB / 0.6546 GB, free: 7.844 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.6805, allocations: 101.9 kB / 0.6547 GB, free: 7.746 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006162/0.6866, allocations: 4.945 MB / 0.6596 GB, free: 2.727 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000768/0.6874, allocations: 1.143 MB / 0.6607 GB, free: 1.555 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004559/0.6879, allocations: 113.6 kB / 0.6608 GB, free: 1.445 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006195/0.6885, allocations: 479.3 kB / 0.6612 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6885, allocations: 0 / 0.6612 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05884/0.7474, allocations: 31.15 MB / 0.6917 GB, free: 2.262 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.7477, allocations: 217 kB / 0.6919 GB, free: 2.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.565/3.312, allocations: 0 / 0.6919 GB, free: 2.02 MB / 494.1 MB (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: