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.001037/0.001037, allocations: 98.53 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.409/1.409, 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.001501/0.001501, allocations: 180.2 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5141/0.5141, allocations: 78.52 MB / 419.8 MB, free: 4.297 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003926, allocations: 19.98 kB / 499.8 MB, free: 6.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1644, allocations: 69.35 MB / 0.5558 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.2967/0.4611, allocations: 5.794 MB / 0.5614 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004307/0.4655, allocations: 1.976 MB / 0.5634 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006666/0.4662, allocations: 12.06 kB / 0.5634 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005599/0.4667, allocations: 171.6 kB / 0.5635 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.4686, allocations: 0.724 MB / 0.5642 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.4698, allocations: 0.5225 MB / 0.5647 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.4712, allocations: 1.022 MB / 0.5657 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003861/0.4716, allocations: 262 kB / 0.566 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006939/0.4723, allocations: 0.5851 MB / 0.5666 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007948/0.4731, allocations: 0.7336 MB / 0.5673 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.4732, allocations: 62.81 kB / 0.5673 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.4736, allocations: 177.9 kB / 0.5675 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.4739, allocations: 264.2 kB / 0.5678 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.4741, allocations: 231.7 kB / 0.568 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.4751, allocations: 1.22 MB / 0.5692 GB, free: 36.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.4751, allocations: 0 / 0.5692 GB, free: 36.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4751, allocations: 1.125 kB / 0.5692 GB, free: 36.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.4751, allocations: 0.5625 kB / 0.5692 GB, free: 36.16 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.007921/0.4831, allocations: 2.583 MB / 0.5717 GB, free: 35.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4831, allocations: 8.562 kB / 0.5717 GB, free: 35.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002037/0.4833, allocations: 131.5 kB / 0.5718 GB, free: 35.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004682/0.488, allocations: 0.7854 MB / 0.5726 GB, free: 35.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.4896, allocations: 0.8568 MB / 0.5734 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000266/0.4899, allocations: 277.2 kB / 0.5737 GB, free: 34.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.49, allocations: 91.06 kB / 0.5738 GB, free: 34.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.492, allocations: 1.143 MB / 0.5749 GB, free: 34.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.492, allocations: 0 / 0.5749 GB, free: 34.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/0.4921, allocations: 33.36 kB / 0.5749 GB, free: 34.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.4922, allocations: 23.23 kB / 0.575 GB, free: 34.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.494, allocations: 1.059 MB / 0.576 GB, free: 33.68 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.005762/0.4998, allocations: 4.16 MB / 0.5801 GB, free: 31.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00748/0.5073, allocations: 2.921 MB / 0.5829 GB, free: 30.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.5074, allocations: 23.88 kB / 0.5829 GB, free: 30.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001709/0.5091, allocations: 0.8899 MB / 0.5838 GB, free: 29.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.156e-06/0.5091, allocations: 0 / 0.5838 GB, free: 29.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.03252/0.5417, allocations: 8.793 MB / 0.5924 GB, free: 28.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.5418, allocations: 114.7 kB / 0.5925 GB, free: 28.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.5439, allocations: 1.112 MB / 0.5936 GB, free: 27.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002379/0.5441, allocations: 45.86 kB / 0.5936 GB, free: 27.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/0.5445, allocations: 0.4957 MB / 0.5941 GB, free: 27.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003787/0.5449, allocations: 362.1 kB / 0.5945 GB, free: 27.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.396e-05/0.545, allocations: 30.88 kB / 0.5945 GB, free: 27.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5451, allocations: 362.8 kB / 0.5948 GB, free: 26.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/0.5469, allocations: 0.8371 MB / 0.5956 GB, free: 26.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.5487, allocations: 1.003 MB / 0.5966 GB, free: 25.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/0.5506, allocations: 0.9893 MB / 0.5976 GB, free: 25.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.5506, allocations: 3.953 kB / 0.5976 GB, free: 25.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01559/0.5662, allocations: 5.197 MB / 0.6027 GB, free: 24.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/0.5663, allocations: 59.38 kB / 0.6027 GB, free: 24.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.5663, allocations: 3.703 kB / 0.6027 GB, free: 24.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007143/0.5735, allocations: 1.923 MB / 0.6046 GB, free: 23.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.5754, allocations: 319.4 kB / 0.6049 GB, free: 23.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/0.5973, allocations: 9.417 MB / 0.6141 GB, free: 17.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.5995, allocations: 235.4 kB / 0.6143 GB, free: 17.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.5996, allocations: 59.97 kB / 0.6144 GB, free: 17.67 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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-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 (168): * Single equations (assignments): 165 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.000628/0.6003, allocations: 308.6 kB / 0.6147 GB, free: 17.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.6005, allocations: 130.4 kB / 0.6148 GB, free: 17.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/0.613, allocations: 4.736 MB / 0.6194 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.613, allocations: 13.83 kB / 0.6195 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.613, allocations: 4 kB / 0.6195 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/0.613, allocations: 11.98 kB / 0.6195 GB, free: 12.44 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.01414/0.6272, allocations: 6.403 MB / 0.6257 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.6272, allocations: 0 / 0.6257 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/0.6279, allocations: 104.4 kB / 0.6258 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005325/0.6332, allocations: 1.873 MB / 0.6276 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.6334, allocations: 27.98 kB / 0.6277 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0202/0.6536, allocations: 10.13 MB / 0.6376 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6536, allocations: 0 / 0.6376 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/0.6695, allocations: 5.685 MB / 0.6431 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006302/0.6702, allocations: 239.7 kB / 0.6433 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.6704, allocations: 25.77 kB / 0.6434 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.6717, allocations: 139.9 kB / 0.6435 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005995/0.6723, allocations: 201.7 kB / 0.6437 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.081e-05/0.6724, allocations: 31.98 kB / 0.6437 GB, free: 3.133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001137/0.6735, allocations: 0.7435 MB / 0.6445 GB, free: 2.383 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.482e-06/0.6735, allocations: 4.109 kB / 0.6445 GB, free: 2.379 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001598/0.6751, allocations: 483.5 kB / 0.6449 GB, free: 1.906 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 (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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01634/0.6915, allocations: 6.34 MB / 0.6511 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007442/0.699, allocations: 2.845 MB / 0.6539 GB, free: 8.637 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.699, allocations: 0 / 0.6539 GB, free: 8.637 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004654/0.7037, allocations: 1.799 MB / 0.6556 GB, free: 6.805 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.7048, allocations: 92.25 kB / 0.6557 GB, free: 6.715 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00597/0.7108, allocations: 5.158 MB / 0.6608 GB, free: 1.504 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006833/0.7115, allocations: 1.147 MB / 0.6619 GB, free: 332 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004537/0.712, allocations: 124.8 kB / 0.662 GB, free: 208 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006174/0.7126, allocations: 475.3 kB / 0.6625 GB, free: 15.73 MB / 478.1 MB Notification: Performance of SimCode: time 1.373e-06/0.7126, allocations: 0 / 0.6625 GB, free: 15.73 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05665/0.7693, allocations: 31.73 MB / 0.6934 GB, free: 440 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.7695, allocations: 224.4 kB / 0.6937 GB, free: 184 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.82/3.59, allocations: 0 / 0.6937 GB, free: 184 kB / 494.1 MB (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/linux/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) Environment - environmentSimulation: