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.009747/0.009747, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.345/1.345, allocations: 223.2 MB / 239 MB, free: 1.801 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.0008867/0.0008867, allocations: 95.36 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4793/0.4793, allocations: 78.59 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003903, allocations: 16 kB / 499.9 MB, free: 2.852 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4133, allocations: 69.35 MB / 0.5559 GB, free: 39.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.162/0.5754, allocations: 98.58 MB / 0.6521 GB, free: 7.914 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.5757, allocations: 82.67 kB / 0.6522 GB, free: 7.836 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1244/0.7001, allocations: 31.34 MB / 0.6828 GB, free: 8.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.7002, allocations: 4 kB / 0.6828 GB, free: 8.336 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.318e-05/0.7003, allocations: 20 kB / 0.6828 GB, free: 8.316 MB / 490.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.008401/0.7087, allocations: 2.002 MB / 0.6848 GB, free: 6.246 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.475e-05/0.7087, allocations: 8.031 kB / 0.6848 GB, free: 6.238 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003502/0.7091, allocations: 130.6 kB / 0.6849 GB, free: 6.102 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00574/0.7149, allocations: 0.5641 MB / 0.6855 GB, free: 5.535 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/0.7173, allocations: 0.7976 MB / 0.6863 GB, free: 4.684 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004115/0.7178, allocations: 268.2 kB / 0.6865 GB, free: 4.387 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.718, allocations: 72 kB / 0.6866 GB, free: 4.316 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003498/0.7215, allocations: 1.133 MB / 0.6877 GB, free: 3.168 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.7216, allocations: 3.938 kB / 0.6877 GB, free: 3.164 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.7217, allocations: 32 kB / 0.6877 GB, free: 3.133 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.7218, allocations: 20 kB / 0.6877 GB, free: 3.113 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003322/0.7251, allocations: 1.046 MB / 0.6888 GB, free: 2.066 MB / 490.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.0108/0.7359, allocations: 3.793 MB / 0.6925 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/0.7485, allocations: 2.885 MB / 0.6953 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.7488, allocations: 17 kB / 0.6953 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00293/0.7517, allocations: 0.8801 MB / 0.6962 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=95): time 3.847e-06/0.7518, allocations: 0 / 0.6962 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95): time 0.04495/0.7967, allocations: 8.542 MB / 0.7045 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.7969, allocations: 115.8 kB / 0.7046 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.7995, allocations: 0.929 MB / 0.7055 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002935/0.7998, allocations: 41.7 kB / 0.7056 GB, free: 476 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006379/0.8004, allocations: 0.5052 MB / 0.7061 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005292/0.801, allocations: 335.1 kB / 0.7064 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.8011, allocations: 16 kB / 0.7064 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.8013, allocations: 341.9 kB / 0.7067 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002187/0.8035, allocations: 0.6461 MB / 0.7073 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002266/0.8058, allocations: 0.7718 MB / 0.7081 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/0.8081, allocations: 0.7501 MB / 0.7088 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.8082, allocations: 0 / 0.7088 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.02176/0.8299, allocations: 4.673 MB / 0.7134 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.174e-05/0.8301, allocations: 55.41 kB / 0.7135 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.8301, allocations: 7.938 kB / 0.7135 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009173/0.8393, allocations: 1.904 MB / 0.7153 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.8408, allocations: 179.8 kB / 0.7155 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03363/0.8745, allocations: 9.489 MB / 0.7248 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.8767, allocations: 203 kB / 0.7249 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/0.8769, allocations: 35.98 kB / 0.725 GB, free: 12.33 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(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 (94): * Single equations (assignments): 91 * 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.0008575/0.8778, allocations: 282.2 kB / 0.7253 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004272/0.8782, allocations: 130.6 kB / 0.7254 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/0.8927, allocations: 4.728 MB / 0.73 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.8928, allocations: 12 kB / 0.73 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-05/0.8928, allocations: 4 kB / 0.73 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.365e-05/0.8928, allocations: 7.984 kB / 0.73 GB, free: 7.129 MB / 0.5261 GB 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.01767/0.9105, allocations: 6.277 MB / 0.7361 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.9106, allocations: 0 / 0.7361 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008179/0.9114, allocations: 103.8 kB / 0.7362 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006418/0.9179, allocations: 1.883 MB / 0.7381 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002962/0.9182, allocations: 23.98 kB / 0.7381 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02284/0.941, allocations: 10.13 MB / 0.748 GB, free: 4.324 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9411, allocations: 0 / 0.748 GB, free: 4.324 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/0.9578, allocations: 5.65 MB / 0.7535 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006668/0.9585, allocations: 227.2 kB / 0.7537 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004755/0.959, allocations: 23.95 kB / 0.7538 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/0.9606, allocations: 143.9 kB / 0.7539 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000715/0.9613, allocations: 200.6 kB / 0.7541 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.9615, allocations: 20 kB / 0.7541 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001533/0.963, allocations: 0.7314 MB / 0.7548 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9631, allocations: 0 / 0.7548 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001993/0.9651, allocations: 435.5 kB / 0.7552 GB, free: 12.85 MB / 0.5573 GB 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.01713/0.9822, allocations: 6.328 MB / 0.7614 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007634/0.9899, allocations: 2.468 MB / 0.7638 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.9899, allocations: 0 / 0.7638 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005075/0.995, allocations: 1.814 MB / 0.7656 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.9964, allocations: 107.3 kB / 0.7657 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2554/1.252, allocations: 4.998 MB / 0.7706 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007991/1.253, allocations: 1.147 MB / 0.7717 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004797/1.253, allocations: 94.8 kB / 0.7718 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005934/1.254, allocations: 476.3 kB / 0.7722 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.773e-06/1.254, allocations: 0 / 0.7722 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05969/1.314, allocations: 30.5 MB / 0.802 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/1.314, allocations: 220.3 kB / 0.8022 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.032/4.346, allocations: 0 / 0.8022 GB, free: 143.7 MB / 0.5573 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)