Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006928/0.006927, allocations: 172 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 205.4 MB / 221.3 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008726/0.0008724, allocations: 94.86 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06495/0.06495, allocations: 12.2 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4061/0.4061, allocations: 78.52 MB / 459.6 MB, free: 3.996 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004735, allocations: 16.61 kB / 0.528 GB, free: 35.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1231, allocations: 69.24 MB / 0.5956 GB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.2402, allocations: 100 MB / 0.6933 GB, free: 124 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.2404, allocations: 79.95 kB / 0.6934 GB, free: 44 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3145/0.5549, allocations: 34.3 MB / 0.7269 GB, free: 84.67 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.555, allocations: 0 / 0.7269 GB, free: 84.67 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001154/0.5551, allocations: 23.94 kB / 0.7269 GB, free: 84.65 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.005429/0.5605, allocations: 1.979 MB / 0.7288 GB, free: 82.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.5606, allocations: 15.98 kB / 0.7289 GB, free: 82.59 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003878/0.561, allocations: 122.6 kB / 0.729 GB, free: 82.46 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003439/0.5644, allocations: 0.5758 MB / 0.7295 GB, free: 81.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.5663, allocations: 0.8111 MB / 0.7303 GB, free: 81.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.5665, allocations: 234.5 kB / 0.7306 GB, free: 80.75 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.5667, allocations: 75.98 kB / 0.7306 GB, free: 80.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.5687, allocations: 1.146 MB / 0.7317 GB, free: 79.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.5687, allocations: 4 kB / 0.7318 GB, free: 79.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.895e-05/0.5688, allocations: 32 kB / 0.7318 GB, free: 79.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.5688, allocations: 19.95 kB / 0.7318 GB, free: 79.46 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.5707, allocations: 1.066 MB / 0.7328 GB, free: 78.39 MB / 474.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.006268/0.577, allocations: 3.847 MB / 0.7366 GB, free: 74.36 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006999/0.584, allocations: 2.879 MB / 0.7394 GB, free: 71.38 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.5841, allocations: 24.94 kB / 0.7394 GB, free: 71.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.5841, allocations: 47.5 kB / 0.7395 GB, free: 71.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=93): time 2.955e-06/0.5841, allocations: 0 / 0.7395 GB, free: 71.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=93): time 0.02476/0.6089, allocations: 8.011 MB / 0.7473 GB, free: 63.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.609, allocations: 141.5 kB / 0.7474 GB, free: 63.08 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.611, allocations: 0.9054 MB / 0.7483 GB, free: 62.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001989/0.6112, allocations: 41.7 kB / 0.7484 GB, free: 62.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.6115, allocations: 0.5052 MB / 0.7489 GB, free: 61.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003756/0.6119, allocations: 331.2 kB / 0.7492 GB, free: 61.28 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.07e-05/0.612, allocations: 20 kB / 0.7492 GB, free: 61.26 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.331e-05/0.6121, allocations: 345.9 kB / 0.7495 GB, free: 60.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.6133, allocations: 0.6422 MB / 0.7501 GB, free: 60.27 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.6146, allocations: 0.7731 MB / 0.7509 GB, free: 59.46 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.6158, allocations: 0.7395 MB / 0.7516 GB, free: 58.71 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.6158, allocations: 8 kB / 0.7516 GB, free: 58.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01225/0.6281, allocations: 4.664 MB / 0.7562 GB, free: 54.01 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003107/0.6284, allocations: 1.198 MB / 0.7574 GB, free: 52.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.6284, allocations: 11.88 kB / 0.7574 GB, free: 52.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005544/0.634, allocations: 1.862 MB / 0.7592 GB, free: 50.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008968/0.6349, allocations: 163.7 kB / 0.7593 GB, free: 50.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01819/0.6531, allocations: 9.198 MB / 0.7683 GB, free: 41.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.6551, allocations: 187.1 kB / 0.7685 GB, free: 41.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003185/0.6555, allocations: 39.98 kB / 0.7685 GB, free: 41.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.6555, allocations: 4 kB / 0.7685 GB, free: 41.12 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0125/0.668, allocations: 4.504 MB / 0.7729 GB, free: 36.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.6681, allocations: 4 kB / 0.7729 GB, free: 36.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005302/0.6734, allocations: 1.859 MB / 0.7748 GB, free: 34.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000893/0.6743, allocations: 159.8 kB / 0.7749 GB, free: 34.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01767/0.692, allocations: 9.192 MB / 0.7839 GB, free: 25.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.6936, allocations: 187.1 kB / 0.7841 GB, free: 25.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.6938, allocations: 35.98 kB / 0.7841 GB, free: 25.02 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * 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 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007799/0.6946, allocations: 355.8 kB / 0.7844 GB, free: 24.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003995/0.695, allocations: 122.5 kB / 0.7846 GB, free: 24.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.7067, allocations: 4.614 MB / 0.7891 GB, free: 19.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.7067, allocations: 15.95 kB / 0.7891 GB, free: 19.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.7067, allocations: 12 kB / 0.7891 GB, free: 19.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.7067, allocations: 11.91 kB / 0.7891 GB, free: 19.87 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.01362/0.7204, allocations: 6.218 MB / 0.7952 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.7204, allocations: 4 kB / 0.7952 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007139/0.7211, allocations: 111.8 kB / 0.7953 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00491/0.7261, allocations: 1.789 MB / 0.797 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/0.7262, allocations: 23.98 kB / 0.7971 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01492/0.7412, allocations: 8.011 MB / 0.8049 GB, free: 3.453 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7412, allocations: 3.984 kB / 0.8049 GB, free: 3.449 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/0.7549, allocations: 5.536 MB / 0.8103 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006418/0.7556, allocations: 223.3 kB / 0.8105 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004274/0.7561, allocations: 19.98 kB / 0.8105 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.7575, allocations: 135.9 kB / 0.8107 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005661/0.7581, allocations: 184.6 kB / 0.8108 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.7582, allocations: 31.98 kB / 0.8109 GB, free: 13.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001329/0.7596, allocations: 0.7157 MB / 0.8116 GB, free: 12.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7596, allocations: 3.938 kB / 0.8116 GB, free: 12.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002304/0.7619, allocations: 0.6592 MB / 0.8122 GB, free: 11.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01466/0.7765, allocations: 6.21 MB / 0.8183 GB, free: 5.633 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01031/0.7869, allocations: 4.234 MB / 0.8224 GB, free: 1.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.7869, allocations: 0 / 0.8224 GB, free: 1.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004168/0.7911, allocations: 1.646 MB / 0.824 GB, free: 15.65 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.7923, allocations: 108.5 kB / 0.8241 GB, free: 15.54 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006529/0.7988, allocations: 5.164 MB / 0.8292 GB, free: 10.27 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007921/0.7996, allocations: 1.155 MB / 0.8303 GB, free: 9.086 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0005831/0.8002, allocations: 118.6 kB / 0.8304 GB, free: 8.965 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/0.8009, allocations: 467.3 kB / 0.8308 GB, free: 8.508 MB / 0.4949 GB Notification: Performance of SimCode: time 9.32e-07/0.8009, allocations: 0 / 0.8308 GB, free: 8.508 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06196/0.8629, allocations: 35.65 MB / 0.8657 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/0.8631, allocations: 224.7 kB / 0.8659 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.11/3.973, allocations: 0 / 0.8659 GB, free: 4.781 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)