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.001285/0.001285, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.269/1.269, allocations: 222.9 MB / 239 MB, free: 4.645 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.001301/0.001301, allocations: 200.4 kB / 289.2 MB, free: 2.379 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4281/0.4281, allocations: 78.52 MB / 417.9 MB, free: 3.348 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 72.08 kB / 497 MB, free: 6.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1239, allocations: 68.17 MB / 0.552 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.1984/0.3223, allocations: 6.958 MB / 0.5588 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003496/0.3259, allocations: 2.015 MB / 0.5607 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007676/0.3267, allocations: 13.06 kB / 0.5607 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006215/0.3273, allocations: 183.4 kB / 0.5609 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.3289, allocations: 0.7212 MB / 0.5616 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.33, allocations: 0.588 MB / 0.5622 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.3312, allocations: 1.631 MB / 0.5638 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003806/0.3316, allocations: 330 kB / 0.5641 GB, free: 34.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006233/0.3323, allocations: 0.6789 MB / 0.5648 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006514/0.3329, allocations: 0.8535 MB / 0.5656 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.3331, allocations: 131.3 kB / 0.5657 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004182/0.3335, allocations: 269 kB / 0.566 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.3338, allocations: 339.9 kB / 0.5663 GB, free: 34.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004081/0.3342, allocations: 0.6956 MB / 0.567 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.3353, allocations: 1.677 MB / 0.5686 GB, free: 33.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3353, allocations: 0.7812 kB / 0.5686 GB, free: 33.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3353, allocations: 0 / 0.5686 GB, free: 33.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.3353, allocations: 0.5312 kB / 0.5686 GB, free: 33.64 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.007912/0.3432, allocations: 2.759 MB / 0.5713 GB, free: 32.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3433, allocations: 9.375 kB / 0.5713 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.3434, allocations: 130.1 kB / 0.5714 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004585/0.348, allocations: 0.7767 MB / 0.5722 GB, free: 32.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.3493, allocations: 0.9053 MB / 0.5731 GB, free: 32.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.3495, allocations: 263.4 kB / 0.5733 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.3497, allocations: 90.16 kB / 0.5734 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.3516, allocations: 1.098 MB / 0.5745 GB, free: 31.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.3516, allocations: 0.5312 kB / 0.5745 GB, free: 31.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-05/0.3517, allocations: 40.97 kB / 0.5745 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.3518, allocations: 18.12 kB / 0.5746 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.3537, allocations: 1.003 MB / 0.5755 GB, free: 31.81 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.006789/0.3605, allocations: 3.873 MB / 0.5793 GB, free: 29.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00702/0.3675, allocations: 2.391 MB / 0.5817 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.3689, allocations: 0.6929 MB / 0.5823 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.369, allocations: 15.7 kB / 0.5823 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001591/0.3706, allocations: 0.8309 MB / 0.5832 GB, free: 28.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 4.138e-06/0.3706, allocations: 0 / 0.5832 GB, free: 28.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02883/0.3995, allocations: 7.209 MB / 0.5902 GB, free: 27.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.3996, allocations: 117.8 kB / 0.5903 GB, free: 26.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/0.4017, allocations: 1.135 MB / 0.5914 GB, free: 26.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.402, allocations: 42.27 kB / 0.5915 GB, free: 26.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.4024, allocations: 0.4957 MB / 0.5919 GB, free: 26.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004653/0.4029, allocations: 370.5 kB / 0.5923 GB, free: 25.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007573/0.4036, allocations: 288.2 kB / 0.5926 GB, free: 25.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.342e-05/0.4037, allocations: 306.9 kB / 0.5929 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.4053, allocations: 0.7814 MB / 0.5936 GB, free: 25.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.4071, allocations: 0.9548 MB / 0.5946 GB, free: 24.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02497/0.4321, allocations: 5.812 MB / 0.6002 GB, free: 22.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.4321, allocations: 1.062 kB / 0.6002 GB, free: 22.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01518/0.4473, allocations: 4.456 MB / 0.6046 GB, free: 21.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.533e-05/0.4474, allocations: 63.25 kB / 0.6046 GB, free: 21.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.4475, allocations: 2.844 kB / 0.6046 GB, free: 21.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006131/0.4536, allocations: 1.636 MB / 0.6062 GB, free: 20.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.4553, allocations: 291.2 kB / 0.6065 GB, free: 20.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01903/0.4743, allocations: 8.604 MB / 0.6149 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.4765, allocations: 211 kB / 0.6151 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003059/0.4768, allocations: 59.97 kB / 0.6152 GB, free: 14.18 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.0008198/0.4777, allocations: 310.3 kB / 0.6155 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003712/0.478, allocations: 126.5 kB / 0.6156 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/0.4896, allocations: 3.903 MB / 0.6194 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.4897, allocations: 12 kB / 0.6194 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.298e-05/0.4897, allocations: 4 kB / 0.6194 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.679e-05/0.4898, allocations: 9.047 kB / 0.6194 GB, free: 9.789 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.01353/0.5033, allocations: 5.516 MB / 0.6248 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.5034, allocations: 4 kB / 0.6248 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/0.504, allocations: 99.89 kB / 0.6249 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004892/0.5089, allocations: 1.591 MB / 0.6265 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/0.5091, allocations: 20 kB / 0.6265 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01957/0.5287, allocations: 9.659 MB / 0.6359 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5287, allocations: 4 kB / 0.6359 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/0.543, allocations: 4.772 MB / 0.6406 GB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005294/0.5436, allocations: 235.3 kB / 0.6408 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003967/0.544, allocations: 27.88 kB / 0.6408 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.5455, allocations: 103.9 kB / 0.6409 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006903/0.5462, allocations: 196.7 kB / 0.6411 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.5464, allocations: 31.98 kB / 0.6412 GB, free: 3.074 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001271/0.5476, allocations: 0.7591 MB / 0.6419 GB, free: 2.309 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5476, allocations: 0 / 0.6419 GB, free: 2.309 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001763/0.5494, allocations: 483.5 kB / 0.6424 GB, free: 1.836 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.0147/0.5641, allocations: 5.361 MB / 0.6476 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00734/0.5715, allocations: 2.632 MB / 0.6502 GB, free: 9.766 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.5716, allocations: 0 / 0.6502 GB, free: 9.766 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004356/0.5759, allocations: 1.586 MB / 0.6517 GB, free: 8.145 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.5775, allocations: 109.3 kB / 0.6518 GB, free: 8.039 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04432/0.6218, allocations: 17.7 MB / 0.6691 GB, free: 5.926 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009653/0.6228, allocations: 1.128 MB / 0.6702 GB, free: 4.77 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006701/0.6235, allocations: 128.7 kB / 0.6703 GB, free: 4.645 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008183/0.6244, allocations: 475.3 kB / 0.6708 GB, free: 4.18 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6244, allocations: 0 / 0.6708 GB, free: 4.18 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07903/0.7034, allocations: 33.89 MB / 0.7039 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.7037, allocations: 240.3 kB / 0.7041 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/3.389, allocations: 0 / 0.7041 GB, free: 2.48 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)