Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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 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_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_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.01207/0.01207, 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.451/1.451, allocations: 223.2 MB / 239 MB, free: 1.785 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.0009319/0.0009318, allocations: 100 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4977/0.4977, allocations: 78.51 MB / 419.8 MB, free: 44.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004021, allocations: 11.98 kB / 499.8 MB, free: 2.652 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4954/0.4958, allocations: 69.34 MB / 0.5558 GB, free: 38.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.6372, allocations: 98.59 MB / 0.6521 GB, free: 7.797 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.6375, allocations: 79.95 kB / 0.6522 GB, free: 7.719 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08136/0.7188, allocations: 31.34 MB / 0.6828 GB, free: 8.223 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.7189, allocations: 0 / 0.6828 GB, free: 8.223 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.939e-05/0.719, allocations: 27.94 kB / 0.6828 GB, free: 8.195 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.005275/0.7242, allocations: 2.002 MB / 0.6847 GB, free: 6.125 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.7243, allocations: 8.031 kB / 0.6848 GB, free: 6.117 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003058/0.7246, allocations: 126.6 kB / 0.6849 GB, free: 5.984 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003455/0.7281, allocations: 0.568 MB / 0.6854 GB, free: 5.414 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.7299, allocations: 0.7937 MB / 0.6862 GB, free: 4.566 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002896/0.7303, allocations: 264.2 kB / 0.6865 GB, free: 4.273 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.7304, allocations: 76 kB / 0.6865 GB, free: 4.199 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.7327, allocations: 1.133 MB / 0.6876 GB, free: 3.051 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.7327, allocations: 3.938 kB / 0.6876 GB, free: 3.047 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.452e-05/0.7328, allocations: 32 kB / 0.6877 GB, free: 3.016 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.7328, allocations: 16 kB / 0.6877 GB, free: 3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.7349, allocations: 1.054 MB / 0.6887 GB, free: 1.945 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.007156/0.7421, allocations: 3.79 MB / 0.6924 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007551/0.7497, allocations: 2.889 MB / 0.6952 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.7499, allocations: 16.98 kB / 0.6953 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001789/0.7517, allocations: 0.8723 MB / 0.6961 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=95): time 4.549e-06/0.7517, allocations: 0 / 0.6961 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95): time 0.0293/0.781, allocations: 8.546 MB / 0.7044 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.7812, allocations: 115.8 kB / 0.7046 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.7829, allocations: 0.9252 MB / 0.7055 GB, free: 412 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002812/0.7832, allocations: 41.7 kB / 0.7055 GB, free: 364 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/0.7836, allocations: 0.5091 MB / 0.706 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004175/0.7841, allocations: 339 kB / 0.7063 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.101e-05/0.7841, allocations: 24.03 kB / 0.7063 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.7843, allocations: 341.9 kB / 0.7067 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.7856, allocations: 0.6422 MB / 0.7073 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.787, allocations: 0.7713 MB / 0.7081 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.7884, allocations: 0.7462 MB / 0.7088 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.7885, allocations: 4 kB / 0.7088 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0136/0.8021, allocations: 4.669 MB / 0.7133 GB, free: 8.227 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.784e-05/0.8022, allocations: 63.39 kB / 0.7134 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.8022, allocations: 4 kB / 0.7134 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0066/0.8088, allocations: 1.901 MB / 0.7153 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.81, allocations: 183.8 kB / 0.7154 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/0.8314, allocations: 9.482 MB / 0.7247 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.8333, allocations: 203 kB / 0.7249 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.8335, allocations: 35.98 kB / 0.7249 GB, free: 12.21 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.0006844/0.8342, allocations: 285.7 kB / 0.7252 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003209/0.8345, allocations: 130.6 kB / 0.7253 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/0.8479, allocations: 4.721 MB / 0.7299 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.848, allocations: 12 kB / 0.7299 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.848, allocations: 4 kB / 0.7299 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-05/0.8481, allocations: 7.969 kB / 0.73 GB, free: 7.016 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.01598/0.8641, allocations: 6.281 MB / 0.7361 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.8641, allocations: 0 / 0.7361 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/0.8649, allocations: 103.8 kB / 0.7362 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005795/0.8707, allocations: 1.887 MB / 0.738 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003138/0.871, allocations: 19.98 kB / 0.7381 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0208/0.8918, allocations: 10.12 MB / 0.7479 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8919, allocations: 4 kB / 0.7479 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/0.9074, allocations: 5.65 MB / 0.7535 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006412/0.9081, allocations: 231.2 kB / 0.7537 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003164/0.9085, allocations: 19.95 kB / 0.7537 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.9098, allocations: 143.9 kB / 0.7538 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007112/0.9105, allocations: 200.6 kB / 0.754 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.9106, allocations: 24 kB / 0.754 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001308/0.912, allocations: 0.7275 MB / 0.7548 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.912, allocations: 0 / 0.7548 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001818/0.9138, allocations: 435.5 kB / 0.7552 GB, free: 12.73 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.0161/0.9299, allocations: 6.332 MB / 0.7614 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006284/0.9363, allocations: 2.464 MB / 0.7638 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.9363, allocations: 0 / 0.7638 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004596/0.9409, allocations: 1.814 MB / 0.7655 GB, free: 1.992 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.942, allocations: 104.1 kB / 0.7656 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.297/1.239, allocations: 5.008 MB / 0.7705 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009667/1.24, allocations: 1.146 MB / 0.7716 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006233/1.241, allocations: 96.94 kB / 0.7717 GB, free: 145 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007069/1.241, allocations: 476.4 kB / 0.7722 GB, free: 145 MB / 0.5573 GB Notification: Performance of SimCode: time 1.803e-06/1.241, allocations: 1.406 kB / 0.7722 GB, free: 145 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06743/1.309, allocations: 30.48 MB / 0.802 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/1.309, allocations: 214.5 kB / 0.8022 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.325/4.634, allocations: 4 kB / 0.8022 GB, free: 143.6 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)