Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.0009091/0.0009093, allocations: 97.33 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.523/1.523, allocations: 223.3 MB / 239.4 MB, free: 5.508 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.001141/0.001141, allocations: 180.5 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6485/0.6485, allocations: 91.93 MB / 433.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003883, allocations: 11.98 kB / 0.5049 GB, free: 7.176 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4297, allocations: 72.46 MB / 0.5756 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.0103/0.44, allocations: 13.98 MB / 0.5893 GB, free: 26.74 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008374/0.4485, allocations: 3.644 MB / 0.5929 GB, free: 24.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/0.4517, allocations: 29.91 kB / 0.5929 GB, free: 24.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.4534, allocations: 444.6 kB / 0.5933 GB, free: 23.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006023/0.4594, allocations: 1.23 MB / 0.5945 GB, free: 23.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004306/0.4638, allocations: 1.431 MB / 0.5959 GB, free: 22.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008191/0.472, allocations: 3.598 MB / 0.5994 GB, free: 20.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002222/0.4742, allocations: 0.7918 MB / 0.6002 GB, free: 20.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003684/0.4779, allocations: 1.356 MB / 0.6015 GB, free: 19.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004175/0.4821, allocations: 1.816 MB / 0.6033 GB, free: 18.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001618/0.4837, allocations: 145.5 kB / 0.6034 GB, free: 18.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.4864, allocations: 289 kB / 0.6037 GB, free: 18.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007928/0.4872, allocations: 0.6182 MB / 0.6043 GB, free: 18.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002084/0.4893, allocations: 1.513 MB / 0.6058 GB, free: 17.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005534/0.4948, allocations: 3.782 MB / 0.6095 GB, free: 15.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4948, allocations: 0 / 0.6095 GB, free: 15.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4949, allocations: 0 / 0.6095 GB, free: 15.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001623/0.495, allocations: 1.5 kB / 0.6095 GB, free: 15.84 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.02868/0.5237, allocations: 6.219 MB / 0.6155 GB, free: 13.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.532e-05/0.5238, allocations: 10.77 kB / 0.6156 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002007/0.5258, allocations: 307.3 kB / 0.6159 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01743/0.5433, allocations: 2.298 MB / 0.6181 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006616/0.5499, allocations: 1.906 MB / 0.62 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009922/0.551, allocations: 0.759 MB / 0.6207 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007701/0.5518, allocations: 224.6 kB / 0.6209 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009514/0.5613, allocations: 3.251 MB / 0.6241 GB, free: 9.844 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.874e-05/0.5614, allocations: 4.734 kB / 0.6241 GB, free: 9.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002932/0.5617, allocations: 85.94 kB / 0.6242 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.856e-05/0.5617, allocations: 50.17 kB / 0.6242 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007826/0.5696, allocations: 3 MB / 0.6272 GB, free: 8.449 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.02023/0.5898, allocations: 10.22 MB / 0.6371 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01254/0.6024, allocations: 4.915 MB / 0.6419 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005042/0.6075, allocations: 2.191 MB / 0.6441 GB, free: 6.691 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003163/0.6078, allocations: 37.97 kB / 0.6441 GB, free: 6.656 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005494/0.6133, allocations: 2.443 MB / 0.6465 GB, free: 4.191 MB / 446.1 MB Notification: Performance of pre-optimization done (n=250): time 4.057e-06/0.6134, allocations: 0 / 0.6465 GB, free: 4.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=250): time 0.142/0.7554, allocations: 35.57 MB / 0.6812 GB, free: 0.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000211/0.7557, allocations: 184.2 kB / 0.6814 GB, free: 288 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006321/0.762, allocations: 2.333 MB / 0.6837 GB, free: 13.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001589/0.7637, allocations: 77.77 kB / 0.6838 GB, free: 13.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001496/0.7652, allocations: 1.172 MB / 0.6849 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002887/0.7681, allocations: 0.8819 MB / 0.6858 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.7692, allocations: 296.7 kB / 0.6861 GB, free: 11.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.7694, allocations: 305.1 kB / 0.6863 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006314/0.7757, allocations: 2.185 MB / 0.6885 GB, free: 8.984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007716/0.7835, allocations: 2.561 MB / 0.691 GB, free: 6.332 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.07042/0.854, allocations: 15.82 MB / 0.7064 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-05/0.8541, allocations: 0 / 0.7064 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.05688/0.911, allocations: 15.43 MB / 0.7215 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.9112, allocations: 122.8 kB / 0.7216 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/0.9113, allocations: 4 kB / 0.7216 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02265/0.9339, allocations: 6.418 MB / 0.7279 GB, free: 216 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003639/0.9376, allocations: 0.5812 MB / 0.7284 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0802/1.018, allocations: 24.94 MB / 0.7528 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00801/1.026, allocations: 0.5909 MB / 0.7534 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001334/1.027, allocations: 120 kB / 0.7535 GB, free: 5.836 MB / 0.545 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.003751/1.031, allocations: 0.5334 MB / 0.754 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002062/1.033, allocations: 300.2 kB / 0.7543 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06837/1.102, allocations: 14.8 MB / 0.7688 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.946e-05/1.102, allocations: 28 kB / 0.7688 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001259/1.102, allocations: 16 kB / 0.7688 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00011/1.102, allocations: 15.95 kB / 0.7688 GB, free: 6.031 MB / 0.5606 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.3805/1.482, allocations: 18.44 MB / 0.7868 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.873e-05/1.483, allocations: 1.375 kB / 0.7868 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/1.485, allocations: 248.3 kB / 0.7871 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02321/1.508, allocations: 6.267 MB / 0.7932 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009008/1.509, allocations: 51.39 kB / 0.7932 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0652/1.574, allocations: 25.53 MB / 0.8181 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.574, allocations: 7.25 kB / 0.8182 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04935/1.623, allocations: 17.37 MB / 0.8351 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/1.625, allocations: 424.7 kB / 0.8355 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000877/1.626, allocations: 44 kB / 0.8356 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003524/1.629, allocations: 414.4 kB / 0.836 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002281/1.632, allocations: 0.5701 MB / 0.8365 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002067/1.632, allocations: 63.47 kB / 0.8366 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002289/1.634, allocations: 1.545 MB / 0.8381 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/1.634, allocations: 0 / 0.8381 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004403/1.639, allocations: 1.203 MB / 0.8393 GB, free: 133.6 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.04774/1.686, allocations: 18.02 MB / 0.8569 GB, free: 116 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02019/1.707, allocations: 7.571 MB / 0.8643 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.707, allocations: 1.75 kB / 0.8643 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01463/1.721, allocations: 5.117 MB / 0.8693 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/1.725, allocations: 264.4 kB / 0.8695 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1482/1.873, allocations: 53.56 MB / 0.9218 GB, free: 47.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/1.874, allocations: 1.811 MB / 0.9236 GB, free: 45.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001518/1.876, allocations: 270.7 kB / 0.9238 GB, free: 45.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/1.877, allocations: 1.233 MB / 0.925 GB, free: 44.14 MB / 0.5606 GB Notification: Performance of SimCode: time 6.62e-07/1.877, allocations: 0 / 0.925 GB, free: 44.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.72/4.597, allocations: 82.24 MB / 1.005 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/4.597, allocations: 239 kB / 1.006 GB, free: 188 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.52/9.118, allocations: 2.875 kB / 1.006 GB, free: 188 MB / 0.5919 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)