Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.0009957/0.0009958, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.398/1.398, allocations: 223.3 MB / 239.4 MB, free: 5.402 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.001169/0.001169, allocations: 180.5 kB / 290.6 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.513/0.513, allocations: 78.56 MB / 420.3 MB, free: 4.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.0004058, allocations: 12 kB / 0.4888 GB, free: 5.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1773, allocations: 69.36 MB / 0.5565 GB, free: 488 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.3094/0.4867, allocations: 13.95 MB / 0.5701 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007427/0.4942, allocations: 3.616 MB / 0.5736 GB, free: 29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.4964, allocations: 33.31 kB / 0.5737 GB, free: 29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.4978, allocations: 437.7 kB / 0.5741 GB, free: 28.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003794/0.5016, allocations: 1.237 MB / 0.5753 GB, free: 28.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00293/0.5045, allocations: 1.416 MB / 0.5767 GB, free: 28.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003304/0.5078, allocations: 3.601 MB / 0.5802 GB, free: 27.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.5089, allocations: 0.7938 MB / 0.581 GB, free: 27.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.5102, allocations: 1.364 MB / 0.5823 GB, free: 26.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.5116, allocations: 1.811 MB / 0.5841 GB, free: 26.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002722/0.5119, allocations: 148.3 kB / 0.5842 GB, free: 26.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005619/0.5125, allocations: 280.1 kB / 0.5845 GB, free: 26.01 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003934/0.5129, allocations: 0.6255 MB / 0.5851 GB, free: 25.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.514, allocations: 1.508 MB / 0.5866 GB, free: 24.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002743/0.5167, allocations: 3.783 MB / 0.5903 GB, free: 23.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5167, allocations: 0 / 0.5903 GB, free: 23.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.5168, allocations: 0 / 0.5903 GB, free: 23.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.204e-05/0.5168, allocations: 3.938 kB / 0.5903 GB, free: 23.2 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02041/0.5372, allocations: 6.217 MB / 0.5963 GB, free: 20.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.5373, allocations: 9.281 kB / 0.5963 GB, free: 20.92 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005469/0.5379, allocations: 312.3 kB / 0.5966 GB, free: 20.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/0.5518, allocations: 2.297 MB / 0.5989 GB, free: 20.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.555, allocations: 1.901 MB / 0.6007 GB, free: 19.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006175/0.5556, allocations: 0.7509 MB / 0.6015 GB, free: 18.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004818/0.5561, allocations: 224.7 kB / 0.6017 GB, free: 18.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007196/0.5633, allocations: 3.255 MB / 0.6049 GB, free: 17.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.429e-05/0.5634, allocations: 4.938 kB / 0.6049 GB, free: 17.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002532/0.5637, allocations: 85.84 kB / 0.605 GB, free: 17.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.219e-05/0.5637, allocations: 51.31 kB / 0.605 GB, free: 17.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006352/0.5701, allocations: 2.996 MB / 0.6079 GB, free: 16.17 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.02027/0.5904, allocations: 10.23 MB / 0.6179 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.6023, allocations: 4.897 MB / 0.6227 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004055/0.6064, allocations: 2.189 MB / 0.6248 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/0.6066, allocations: 48.33 kB / 0.6249 GB, free: 6.996 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004084/0.6107, allocations: 2.447 MB / 0.6273 GB, free: 4.527 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 4.258e-06/0.6107, allocations: 4 kB / 0.6273 GB, free: 4.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.1321/0.7428, allocations: 35.57 MB / 0.662 GB, free: 0.832 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.743, allocations: 180.2 kB / 0.6622 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005513/0.7485, allocations: 2.333 MB / 0.6645 GB, free: 14.27 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000319/0.7489, allocations: 73.7 kB / 0.6645 GB, free: 14.19 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.75, allocations: 1.176 MB / 0.6657 GB, free: 13 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001306/0.7513, allocations: 0.8819 MB / 0.6666 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007009/0.752, allocations: 296.7 kB / 0.6668 GB, free: 11.81 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.7521, allocations: 305.1 kB / 0.6671 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00509/0.7572, allocations: 2.189 MB / 0.6693 GB, free: 9.316 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005299/0.7626, allocations: 2.553 MB / 0.6718 GB, free: 6.672 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05838/0.8209, allocations: 15.82 MB / 0.6872 GB, free: 6.633 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.821, allocations: 4 kB / 0.6872 GB, free: 6.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04662/0.8676, allocations: 15.42 MB / 0.7023 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.8678, allocations: 119.9 kB / 0.7024 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.652e-05/0.8678, allocations: 4 kB / 0.7024 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02024/0.8881, allocations: 6.422 MB / 0.7087 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002722/0.8908, allocations: 0.5864 MB / 0.7092 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06526/0.9561, allocations: 24.93 MB / 0.7336 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004854/0.9609, allocations: 0.5917 MB / 0.7342 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000407/0.9614, allocations: 120 kB / 0.7343 GB, free: 6.199 MB / 0.5294 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001915/0.9633, allocations: 0.5356 MB / 0.7348 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/0.9644, allocations: 300.2 kB / 0.7351 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0454/1.01, allocations: 14.8 MB / 0.7495 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.604e-05/1.01, allocations: 24 kB / 0.7496 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.422e-05/1.01, allocations: 21.12 kB / 0.7496 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-05/1.01, allocations: 11.95 kB / 0.7496 GB, free: 6.391 MB / 0.545 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.05026/1.06, allocations: 18.43 MB / 0.7676 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/1.06, allocations: 0 / 0.7676 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/1.062, allocations: 251.6 kB / 0.7678 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3016/1.363, allocations: 6.267 MB / 0.774 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001127/1.365, allocations: 54.77 kB / 0.774 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0618/1.426, allocations: 25.52 MB / 0.7989 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.426, allocations: 5.062 kB / 0.7989 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05416/1.481, allocations: 17.38 MB / 0.8159 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/1.482, allocations: 425.7 kB / 0.8163 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/1.483, allocations: 49.45 kB / 0.8164 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004088/1.487, allocations: 409.5 kB / 0.8167 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002178/1.489, allocations: 0.5634 MB / 0.8173 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000312/1.49, allocations: 67.48 kB / 0.8174 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003101/1.493, allocations: 1.543 MB / 0.8189 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.41e-07/1.493, allocations: 0 / 0.8189 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00434/1.497, allocations: 1.196 MB / 0.82 GB, free: 152.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.04553/1.543, allocations: 18.02 MB / 0.8376 GB, free: 142 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01781/1.561, allocations: 7.578 MB / 0.845 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.561, allocations: 0 / 0.845 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01286/1.573, allocations: 5.116 MB / 0.85 GB, free: 131 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/1.576, allocations: 269.9 kB / 0.8503 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1132/1.689, allocations: 53.55 MB / 0.9026 GB, free: 76.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/1.691, allocations: 1.819 MB / 0.9044 GB, free: 74.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001124/1.692, allocations: 266.5 kB / 0.9046 GB, free: 74.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/1.693, allocations: 1.233 MB / 0.9058 GB, free: 73.17 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/1.693, allocations: 4 kB / 0.9058 GB, free: 73.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/1.802, allocations: 82.24 MB / 0.9861 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/1.802, allocations: 236.7 kB / 0.9864 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.422/6.224, allocations: 7.609 kB / 0.9864 GB, free: 7.039 MB / 0.5762 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)