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: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001059, allocations: 110.7 kB / 16.37 MB, free: 6.438 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.344/1.344, allocations: 222.9 MB / 240 MB, free: 4.555 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.001249/0.001249, allocations: 196.4 kB / 290.3 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4948/0.4948, allocations: 91.9 MB / 432.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001496, allocations: 87.86 kB / 0.5033 GB, free: 7.004 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3243, allocations: 71.25 MB / 0.5729 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.009267/0.3336, allocations: 13.87 MB / 0.5864 GB, free: 27.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006386/0.3401, allocations: 3.531 MB / 0.5899 GB, free: 25.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.3419, allocations: 30.44 kB / 0.5899 GB, free: 25.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.3436, allocations: 0.5614 MB / 0.5904 GB, free: 24.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004087/0.3477, allocations: 1.443 MB / 0.5919 GB, free: 23.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.3509, allocations: 1.522 MB / 0.5933 GB, free: 23.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004672/0.3556, allocations: 3.818 MB / 0.5971 GB, free: 21.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.3571, allocations: 0.8948 MB / 0.5979 GB, free: 20.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.3595, allocations: 1.56 MB / 0.5995 GB, free: 20.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002786/0.3623, allocations: 2.002 MB / 0.6014 GB, free: 19.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.3634, allocations: 298.3 kB / 0.6017 GB, free: 19.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.3652, allocations: 445.2 kB / 0.6021 GB, free: 19.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.3663, allocations: 0.7713 MB / 0.6029 GB, free: 18.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002662/0.369, allocations: 1.666 MB / 0.6045 GB, free: 17.4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00491/0.3739, allocations: 4.039 MB / 0.6085 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3739, allocations: 0 / 0.6085 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.374, allocations: 1.438 kB / 0.6085 GB, free: 15.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001308/0.3741, allocations: 3.938 kB / 0.6085 GB, free: 15.55 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.02468/0.3988, allocations: 6.676 MB / 0.615 GB, free: 12.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3988, allocations: 7.344 kB / 0.615 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01532/0.4142, allocations: 2.274 MB / 0.6172 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004818/0.419, allocations: 1.913 MB / 0.6191 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000653/0.4197, allocations: 0.7324 MB / 0.6198 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007365/0.4204, allocations: 223.2 kB / 0.62 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006687/0.4271, allocations: 3.055 MB / 0.623 GB, free: 9.305 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-05/0.4272, allocations: 0 / 0.623 GB, free: 9.305 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002564/0.4275, allocations: 85.19 kB / 0.6231 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.534e-05/0.4275, allocations: 49.88 kB / 0.6231 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005795/0.4333, allocations: 2.8 MB / 0.6259 GB, free: 7.895 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.01972/0.4531, allocations: 9.903 MB / 0.6355 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/0.4644, allocations: 4.227 MB / 0.6396 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004622/0.4691, allocations: 1.987 MB / 0.6416 GB, free: 7.254 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005038/0.4696, allocations: 41.95 kB / 0.6416 GB, free: 7.215 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005576/0.4752, allocations: 2.252 MB / 0.6438 GB, free: 4.941 MB / 446.1 MB Notification: Performance of pre-optimization done (n=250): time 5.901e-06/0.4752, allocations: 0 / 0.6438 GB, free: 4.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=250): time 0.1184/0.5937, allocations: 28.82 MB / 0.672 GB, free: 8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.5938, allocations: 180.2 kB / 0.6721 GB, free: 7.785 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004152/0.598, allocations: 2.329 MB / 0.6744 GB, free: 5.438 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007275/0.5987, allocations: 73.7 kB / 0.6745 GB, free: 5.359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.5997, allocations: 1.176 MB / 0.6756 GB, free: 4.172 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001386/0.6011, allocations: 0.8897 MB / 0.6765 GB, free: 3.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002178/0.6033, allocations: 0.566 MB / 0.6771 GB, free: 2.695 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.037e-05/0.6034, allocations: 305.1 kB / 0.6774 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004436/0.6079, allocations: 1.982 MB / 0.6793 GB, free: 420 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004628/0.6125, allocations: 2.358 MB / 0.6816 GB, free: 13.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05484/0.6674, allocations: 14.38 MB / 0.6956 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/0.6674, allocations: 3.938 kB / 0.6956 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04241/0.7098, allocations: 12.62 MB / 0.708 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.974e-05/0.71, allocations: 110.8 kB / 0.7081 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.71, allocations: 8 kB / 0.7081 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01833/0.7283, allocations: 5.438 MB / 0.7134 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003003/0.7314, allocations: 0.5773 MB / 0.7139 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06071/0.7921, allocations: 23.63 MB / 0.737 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00519/0.7973, allocations: 0.493 MB / 0.7375 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009941/0.7983, allocations: 120 kB / 0.7376 GB, free: 4.098 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.002429/0.8008, allocations: 0.5408 MB / 0.7381 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/0.8021, allocations: 300.2 kB / 0.7384 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03956/0.8417, allocations: 11.95 MB / 0.7501 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/0.8417, allocations: 24 kB / 0.7501 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.765e-05/0.8418, allocations: 20 kB / 0.7501 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.721e-05/0.8419, allocations: 15.89 kB / 0.7502 GB, free: 7.141 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.0469/0.8888, allocations: 15.58 MB / 0.7654 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.743e-05/0.8889, allocations: 0 / 0.7654 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/0.8907, allocations: 251.7 kB / 0.7656 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01768/0.9084, allocations: 5.283 MB / 0.7708 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008185/0.9092, allocations: 55.92 kB / 0.7708 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2919/1.201, allocations: 24.92 MB / 0.7951 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/1.201, allocations: 1.156 kB / 0.7951 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04601/1.247, allocations: 14.35 MB / 0.8092 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/1.248, allocations: 412.9 kB / 0.8096 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/1.25, allocations: 52.44 kB / 0.8096 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003836/1.254, allocations: 295.2 kB / 0.8099 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002494/1.256, allocations: 0.5802 MB / 0.8105 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005566/1.257, allocations: 69.67 kB / 0.8105 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002976/1.26, allocations: 1.543 MB / 0.812 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/1.26, allocations: 0 / 0.812 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005105/1.265, allocations: 1.195 MB / 0.8132 GB, free: 152.5 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.0007554/1.266, allocations: 166.1 kB / 0.8134 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01668/1.282, allocations: 6.803 MB / 0.82 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.282, allocations: 0 / 0.82 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01209/1.294, allocations: 4.424 MB / 0.8243 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003459/1.298, allocations: 279.7 kB / 0.8246 GB, free: 146 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.309, allocations: 5.468 MB / 0.8299 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001772/1.311, allocations: 1.816 MB / 0.8317 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001758/1.313, allocations: 261.9 kB / 0.8319 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.314, allocations: 177.3 kB / 0.8321 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.983e-06/1.314, allocations: 4 kB / 0.8321 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.08743/1.402, allocations: 66.03 MB / 0.8966 GB, free: 73.28 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)