Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.009492/0.009492, allocations: 171.6 kB / 15.12 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.417/1.417, 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.001157/0.001157, allocations: 102.1 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.5279/0.5279, allocations: 79.44 MB / 420.8 MB, free: 43.56 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004324, allocations: 8 kB / 0.4891 GB, free: 1.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5206/0.521, allocations: 69.5 MB / 0.557 GB, free: 38.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.6686, allocations: 99.17 MB / 0.6538 GB, free: 6.398 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.6689, allocations: 75.97 kB / 0.6539 GB, free: 6.324 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08758/0.7565, allocations: 31.58 MB / 0.6848 GB, free: 6.594 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.7566, allocations: 0 / 0.6848 GB, free: 6.594 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.926e-05/0.7566, allocations: 20 kB / 0.6848 GB, free: 6.574 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.005519/0.7622, allocations: 2.006 MB / 0.6867 GB, free: 4.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.7622, allocations: 12.03 kB / 0.6867 GB, free: 4.488 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003078/0.7625, allocations: 126.6 kB / 0.6869 GB, free: 4.355 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003625/0.7662, allocations: 0.568 MB / 0.6874 GB, free: 3.785 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/0.7682, allocations: 0.7898 MB / 0.6882 GB, free: 2.941 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/0.7685, allocations: 264.2 kB / 0.6884 GB, free: 2.648 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.7687, allocations: 83.94 kB / 0.6885 GB, free: 2.566 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.771, allocations: 1.129 MB / 0.6896 GB, free: 1.422 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.771, allocations: 3.938 kB / 0.6896 GB, free: 1.418 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.7711, allocations: 31.98 kB / 0.6897 GB, free: 1.387 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.7711, allocations: 20 kB / 0.6897 GB, free: 1.367 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.7733, allocations: 1.039 MB / 0.6907 GB, free: 336 kB / 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.007354/0.7807, allocations: 3.801 MB / 0.6944 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007985/0.7887, allocations: 2.889 MB / 0.6972 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.7889, allocations: 12.98 kB / 0.6972 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001818/0.7908, allocations: 0.8724 MB / 0.6981 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=95): time 3.597e-06/0.7908, allocations: 3.938 kB / 0.6981 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95): time 0.03106/0.8218, allocations: 8.542 MB / 0.7064 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/0.822, allocations: 115.8 kB / 0.7065 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.8239, allocations: 0.9291 MB / 0.7075 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003153/0.8243, allocations: 41.7 kB / 0.7075 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004224/0.8247, allocations: 0.5052 MB / 0.708 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003872/0.8251, allocations: 339 kB / 0.7083 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.408e-05/0.8252, allocations: 20 kB / 0.7083 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.8253, allocations: 345.9 kB / 0.7087 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.8267, allocations: 0.6422 MB / 0.7093 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.8281, allocations: 0.779 MB / 0.7101 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.8296, allocations: 0.7462 MB / 0.7108 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.8296, allocations: 0 / 0.7108 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01436/0.8439, allocations: 4.665 MB / 0.7153 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.8441, allocations: 60.03 kB / 0.7154 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.8441, allocations: 0 / 0.7154 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006787/0.8509, allocations: 1.912 MB / 0.7173 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.8521, allocations: 175.8 kB / 0.7174 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02192/0.874, allocations: 9.476 MB / 0.7267 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/0.8762, allocations: 210.9 kB / 0.7269 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.8763, allocations: 39.98 kB / 0.7269 GB, free: 10.59 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.0008396/0.8772, allocations: 288.9 kB / 0.7272 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.8775, allocations: 130.5 kB / 0.7273 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/0.8913, allocations: 4.725 MB / 0.7319 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.8914, allocations: 8 kB / 0.7319 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.8914, allocations: 8 kB / 0.7319 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.198e-05/0.8915, allocations: 3.984 kB / 0.732 GB, free: 5.387 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.01631/0.9078, allocations: 6.289 MB / 0.7381 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.9078, allocations: 0 / 0.7381 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007483/0.9086, allocations: 99.83 kB / 0.7382 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006034/0.9146, allocations: 1.88 MB / 0.74 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002493/0.9149, allocations: 31.94 kB / 0.7401 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02125/0.9362, allocations: 10.11 MB / 0.7499 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.9363, allocations: 0 / 0.7499 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/0.9524, allocations: 5.65 MB / 0.7554 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006826/0.9532, allocations: 227.2 kB / 0.7557 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/0.9534, allocations: 23.95 kB / 0.7557 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.9546, allocations: 143.9 kB / 0.7558 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006865/0.9553, allocations: 192.7 kB / 0.756 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.366e-05/0.9554, allocations: 31.98 kB / 0.756 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001211/0.9567, allocations: 0.7275 MB / 0.7568 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9567, allocations: 0 / 0.7568 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001498/0.9582, allocations: 443.5 kB / 0.7572 GB, free: 11.09 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.01599/0.9742, allocations: 6.32 MB / 0.7633 GB, free: 4.719 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006679/0.9809, allocations: 2.469 MB / 0.7658 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.9809, allocations: 0 / 0.7658 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004903/0.9859, allocations: 1.806 MB / 0.7675 GB, free: 380 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.9871, allocations: 119.9 kB / 0.7676 GB, free: 264 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2898/1.277, allocations: 5.006 MB / 0.7725 GB, free: 145 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000851/1.278, allocations: 1.145 MB / 0.7736 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004921/1.278, allocations: 96.81 kB / 0.7737 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006035/1.279, allocations: 478.7 kB / 0.7742 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.713e-06/1.279, allocations: 0 / 0.7742 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0621/1.341, allocations: 30.49 MB / 0.804 GB, free: 143 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/1.341, allocations: 222.7 kB / 0.8042 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.186/4.528, allocations: 1.156 kB / 0.8042 GB, free: 142.7 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)