Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_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.001551/0.001551, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.319/1.319, allocations: 222.9 MB / 238.8 MB, free: 4.77 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.001371/0.001371, allocations: 196.5 kB / 289.1 MB, free: 2.512 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.472/0.472, allocations: 78.53 MB / 417.8 MB, free: 3.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001385, allocations: 75.89 kB / 496.9 MB, free: 6.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1297, allocations: 68.17 MB / 0.5518 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.2918/0.4216, allocations: 6.948 MB / 0.5586 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004312/0.426, allocations: 2.036 MB / 0.5606 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007504/0.4268, allocations: 12.78 kB / 0.5606 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006858/0.4275, allocations: 190.5 kB / 0.5608 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.4292, allocations: 0.7162 MB / 0.5615 GB, free: 35.42 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.4303, allocations: 0.6007 MB / 0.562 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.4316, allocations: 1.546 MB / 0.5636 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003842/0.432, allocations: 292.4 kB / 0.5638 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006625/0.4327, allocations: 0.611 MB / 0.5644 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006683/0.4334, allocations: 0.8168 MB / 0.5652 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.4335, allocations: 72.84 kB / 0.5653 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004816/0.434, allocations: 214.3 kB / 0.5655 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.4343, allocations: 277.7 kB / 0.5658 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004688/0.4347, allocations: 0.6415 MB / 0.5664 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.4358, allocations: 1.632 MB / 0.568 GB, free: 34.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4358, allocations: 0 / 0.568 GB, free: 34.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.4358, allocations: 0.5938 kB / 0.568 GB, free: 34.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.4359, allocations: 2.406 kB / 0.568 GB, free: 34.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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.008278/0.4441, allocations: 2.756 MB / 0.5707 GB, free: 33.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.4442, allocations: 14.27 kB / 0.5707 GB, free: 33.15 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/0.4443, allocations: 124.2 kB / 0.5708 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004614/0.449, allocations: 0.7825 MB / 0.5716 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.4505, allocations: 0.9133 MB / 0.5725 GB, free: 32.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002696/0.4507, allocations: 260.6 kB / 0.5727 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.4509, allocations: 86.62 kB / 0.5728 GB, free: 32.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.4528, allocations: 1.101 MB / 0.5739 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.4528, allocations: 0 / 0.5739 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.871e-05/0.4529, allocations: 35.5 kB / 0.5739 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.4529, allocations: 18.72 kB / 0.5739 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.4547, allocations: 0.9981 MB / 0.5749 GB, free: 32.3 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.005556/0.4603, allocations: 3.879 MB / 0.5787 GB, free: 30.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006575/0.4669, allocations: 2.382 MB / 0.581 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.4683, allocations: 0.689 MB / 0.5817 GB, free: 29.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.4684, allocations: 19.11 kB / 0.5817 GB, free: 29.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001659/0.4701, allocations: 0.8288 MB / 0.5825 GB, free: 29.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 5.37e-06/0.4701, allocations: 0 / 0.5825 GB, free: 29.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02839/0.4985, allocations: 7.211 MB / 0.5896 GB, free: 27.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.4986, allocations: 119 kB / 0.5897 GB, free: 27.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/0.501, allocations: 1.127 MB / 0.5908 GB, free: 27.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002537/0.5013, allocations: 43.08 kB / 0.5908 GB, free: 27.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.5017, allocations: 0.4957 MB / 0.5913 GB, free: 26.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005239/0.5022, allocations: 369.8 kB / 0.5916 GB, free: 26.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009103/0.5032, allocations: 294.7 kB / 0.5919 GB, free: 26.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.241e-05/0.5032, allocations: 301.8 kB / 0.5922 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.5051, allocations: 0.7774 MB / 0.593 GB, free: 25.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.507, allocations: 0.9601 MB / 0.5939 GB, free: 25.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0256/0.5327, allocations: 5.795 MB / 0.5996 GB, free: 23.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.5327, allocations: 0 / 0.5996 GB, free: 23.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01521/0.548, allocations: 4.458 MB / 0.6039 GB, free: 22.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.863e-05/0.5481, allocations: 58.95 kB / 0.604 GB, free: 22.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.5481, allocations: 4.969 kB / 0.604 GB, free: 22.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006227/0.5543, allocations: 1.633 MB / 0.6056 GB, free: 21.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.5559, allocations: 291.6 kB / 0.6059 GB, free: 21.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/0.5738, allocations: 7.941 MB / 0.6136 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.576, allocations: 202.6 kB / 0.6138 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003017/0.5763, allocations: 63.97 kB / 0.6139 GB, free: 15.55 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 order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008676/0.5772, allocations: 306 kB / 0.6142 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003902/0.5776, allocations: 126.4 kB / 0.6143 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/0.5886, allocations: 3.904 MB / 0.6181 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.5886, allocations: 12 kB / 0.6181 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-05/0.5887, allocations: 8 kB / 0.6181 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/0.5887, allocations: 4.672 kB / 0.6181 GB, free: 11.17 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.01326/0.602, allocations: 5.52 MB / 0.6235 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/0.602, allocations: 3.984 kB / 0.6235 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006756/0.6027, allocations: 103.9 kB / 0.6236 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004869/0.6076, allocations: 1.591 MB / 0.6252 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001983/0.6078, allocations: 24.8 kB / 0.6252 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01788/0.6257, allocations: 8.804 MB / 0.6338 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.6258, allocations: 0 / 0.6338 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/0.6403, allocations: 4.772 MB / 0.6384 GB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/0.641, allocations: 231.2 kB / 0.6387 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004703/0.6415, allocations: 20.94 kB / 0.6387 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/0.643, allocations: 107.9 kB / 0.6388 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007162/0.6437, allocations: 188.7 kB / 0.639 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/0.6439, allocations: 31.98 kB / 0.639 GB, free: 5.336 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00136/0.6452, allocations: 0.7592 MB / 0.6397 GB, free: 4.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6452, allocations: 0 / 0.6397 GB, free: 4.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001888/0.6471, allocations: 487.5 kB / 0.6402 GB, free: 4.094 MB / 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01458/0.6617, allocations: 5.359 MB / 0.6454 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007015/0.6688, allocations: 2.593 MB / 0.648 GB, free: 12.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.6689, allocations: 0 / 0.648 GB, free: 12.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004281/0.6731, allocations: 1.592 MB / 0.6495 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.6748, allocations: 115.4 kB / 0.6496 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0428/0.7176, allocations: 17.68 MB / 0.6669 GB, free: 8.227 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008789/0.7185, allocations: 1.138 MB / 0.668 GB, free: 7.062 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006484/0.7192, allocations: 116.4 kB / 0.6681 GB, free: 6.949 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007702/0.72, allocations: 471.3 kB / 0.6686 GB, free: 6.488 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/0.72, allocations: 0 / 0.6686 GB, free: 6.488 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05701/0.777, allocations: 32.53 MB / 0.7003 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/0.7773, allocations: 242.5 kB / 0.7006 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/3.428, allocations: 3.938 kB / 0.7006 GB, free: 6.094 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)