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.001286/0.001286, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.266/1.266, allocations: 222.9 MB / 239 MB, free: 4.746 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.001193/0.001193, allocations: 196.4 kB / 289.2 MB, free: 2.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4479/0.4479, allocations: 78.52 MB / 417.9 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 76.2 kB / 497 MB, free: 6.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1334, allocations: 68.17 MB / 0.552 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.2286/0.362, allocations: 14.6 MB / 0.5662 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007463/0.3695, allocations: 3.637 MB / 0.5698 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.3724, allocations: 30.62 kB / 0.5698 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.374, allocations: 448.5 kB / 0.5702 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004152/0.3782, allocations: 1.232 MB / 0.5714 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003025/0.3813, allocations: 1.433 MB / 0.5728 GB, free: 29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004332/0.3856, allocations: 3.787 MB / 0.5765 GB, free: 28.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.3868, allocations: 0.896 MB / 0.5774 GB, free: 27.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.389, allocations: 1.572 MB / 0.5789 GB, free: 27.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002108/0.3911, allocations: 2.003 MB / 0.5809 GB, free: 26.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004843/0.3916, allocations: 298.7 kB / 0.5812 GB, free: 26.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008763/0.3925, allocations: 438.8 kB / 0.5816 GB, free: 26.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.393, allocations: 0.7803 MB / 0.5824 GB, free: 26.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.3941, allocations: 1.675 MB / 0.584 GB, free: 25.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003491/0.3976, allocations: 3.991 MB / 0.5879 GB, free: 23.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3977, allocations: 1.25 kB / 0.5879 GB, free: 23.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3977, allocations: 0 / 0.5879 GB, free: 23.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001227/0.3978, allocations: 0 / 0.5879 GB, free: 23.23 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.0234/0.4212, allocations: 6.677 MB / 0.5944 GB, free: 20.58 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.4213, allocations: 8.375 kB / 0.5944 GB, free: 20.58 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003869/0.4217, allocations: 314.3 kB / 0.5947 GB, free: 20.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/0.4363, allocations: 2.277 MB / 0.597 GB, free: 19.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004453/0.4408, allocations: 1.902 MB / 0.5988 GB, free: 18.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006602/0.4415, allocations: 0.7289 MB / 0.5995 GB, free: 18.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000509/0.442, allocations: 219.3 kB / 0.5997 GB, free: 18.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006743/0.4488, allocations: 3.059 MB / 0.6027 GB, free: 16.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/0.4489, allocations: 5.438 kB / 0.6027 GB, free: 16.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/0.4491, allocations: 83.33 kB / 0.6028 GB, free: 16.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.757e-05/0.4492, allocations: 49.88 kB / 0.6029 GB, free: 16.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006101/0.4553, allocations: 2.806 MB / 0.6056 GB, free: 15.86 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.02029/0.4756, allocations: 9.961 MB / 0.6153 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.4863, allocations: 4.221 MB / 0.6194 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004121/0.4904, allocations: 1.994 MB / 0.6214 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004734/0.4909, allocations: 40.05 kB / 0.6214 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004875/0.4958, allocations: 2.248 MB / 0.6236 GB, free: 5.496 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 6.132e-06/0.4959, allocations: 0 / 0.6236 GB, free: 5.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.1223/0.6182, allocations: 28.82 MB / 0.6518 GB, free: 8.559 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.6183, allocations: 192.1 kB / 0.6519 GB, free: 8.332 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004294/0.6226, allocations: 2.333 MB / 0.6542 GB, free: 5.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007786/0.6234, allocations: 69.7 kB / 0.6543 GB, free: 5.906 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.6246, allocations: 1.184 MB / 0.6554 GB, free: 4.711 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001593/0.6262, allocations: 0.8858 MB / 0.6563 GB, free: 3.812 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002539/0.6287, allocations: 0.5699 MB / 0.6569 GB, free: 3.234 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.6288, allocations: 301.1 kB / 0.6572 GB, free: 2.938 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004724/0.6336, allocations: 1.99 MB / 0.6591 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004919/0.6385, allocations: 2.358 MB / 0.6614 GB, free: 14.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05705/0.6956, allocations: 14.42 MB / 0.6755 GB, free: 15.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-05/0.6957, allocations: 4 kB / 0.6755 GB, free: 15.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04392/0.7396, allocations: 12.61 MB / 0.6878 GB, free: 3.176 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.7397, allocations: 115.9 kB / 0.6879 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/0.7398, allocations: 13.78 kB / 0.6879 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01933/0.7591, allocations: 5.434 MB / 0.6932 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003264/0.7624, allocations: 0.5773 MB / 0.6938 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06344/0.8259, allocations: 23.67 MB / 0.7169 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005153/0.8311, allocations: 0.4931 MB / 0.7174 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008248/0.8319, allocations: 116 kB / 0.7175 GB, free: 4.586 MB / 0.5137 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.002095/0.8341, allocations: 0.5373 MB / 0.718 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/0.8353, allocations: 300.2 kB / 0.7183 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03993/0.8753, allocations: 11.95 MB / 0.73 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.995e-05/0.8754, allocations: 24 kB / 0.73 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.461e-05/0.8754, allocations: 20 kB / 0.73 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.749e-05/0.8755, allocations: 15.89 kB / 0.73 GB, free: 7.629 MB / 0.5294 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.04823/0.9238, allocations: 15.59 MB / 0.7453 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/0.9238, allocations: 0 / 0.7453 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/0.9256, allocations: 251.6 kB / 0.7455 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01767/0.9433, allocations: 5.285 MB / 0.7507 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000837/0.9442, allocations: 57.17 kB / 0.7507 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3066/1.251, allocations: 24.95 MB / 0.7751 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.251, allocations: 1.734 kB / 0.7751 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04147/1.292, allocations: 14.34 MB / 0.7891 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/1.293, allocations: 412 kB / 0.7895 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006742/1.294, allocations: 47.47 kB / 0.7895 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/1.297, allocations: 304.7 kB / 0.7898 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0022/1.299, allocations: 0.5791 MB / 0.7904 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/1.3, allocations: 65.73 kB / 0.7905 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002276/1.302, allocations: 1.545 MB / 0.792 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/1.302, allocations: 0 / 0.792 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003524/1.305, allocations: 1.197 MB / 0.7931 GB, free: 162.9 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.04508/1.35, allocations: 14.97 MB / 0.8078 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01966/1.37, allocations: 6.904 MB / 0.8145 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.37, allocations: 1.75 kB / 0.8145 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01191/1.382, allocations: 4.431 MB / 0.8188 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/1.385, allocations: 265.4 kB / 0.8191 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1064/1.492, allocations: 47.55 MB / 0.8655 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001761/1.494, allocations: 1.824 MB / 0.8673 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001683/1.495, allocations: 263 kB / 0.8675 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/1.497, allocations: 1.245 MB / 0.8688 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.343e-06/1.497, allocations: 4 kB / 0.8688 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1273/1.625, allocations: 87.28 MB / 0.954 GB, free: 21.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/1.625, allocations: 231 kB / 0.9542 GB, free: 20.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.318/5.942, allocations: 3.938 kB / 0.9542 GB, free: 20.82 MB / 0.5606 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)