Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.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 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: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009501/0.0009504, allocations: 177.2 kB / 15.42 MB, free: 5.809 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.219/1.219, allocations: 222.9 MB / 239 MB, free: 15.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00074/0.00074, allocations: 96.11 kB / 289.8 MB, free: 4.555 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.2977/0.2977, allocations: 78.44 MB / 419 MB, free: 24 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003221, allocations: 8 kB / 498.4 MB, free: 8.262 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1027, allocations: 68.76 MB / 0.5539 GB, free: 3.445 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01194/0.1147, allocations: 14.6 MB / 0.5682 GB, free: 4.773 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007023/0.1217, allocations: 3.655 MB / 0.5717 GB, free: 1.102 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.1234, allocations: 35.94 kB / 0.5718 GB, free: 1.066 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.1245, allocations: 445.1 kB / 0.5722 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1992/0.3238, allocations: 1.239 MB / 0.5734 GB, free: 31.69 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.3267, allocations: 1.42 MB / 0.5748 GB, free: 31.69 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003389/0.3301, allocations: 3.598 MB / 0.5783 GB, free: 31.69 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009101/0.331, allocations: 0.7943 MB / 0.5791 GB, free: 31.52 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.3326, allocations: 1.359 MB / 0.5804 GB, free: 31.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.334, allocations: 1.817 MB / 0.5822 GB, free: 30.85 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003146/0.3344, allocations: 146.3 kB / 0.5823 GB, free: 30.85 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006386/0.335, allocations: 281.4 kB / 0.5826 GB, free: 30.85 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004539/0.3355, allocations: 0.6179 MB / 0.5832 GB, free: 30.7 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009855/0.3365, allocations: 1.496 MB / 0.5846 GB, free: 30.12 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003244/0.3397, allocations: 3.774 MB / 0.5883 GB, free: 29.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3397, allocations: 0 / 0.5883 GB, free: 29.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3397, allocations: 4 kB / 0.5883 GB, free: 29.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.538e-05/0.3398, allocations: 0 / 0.5883 GB, free: 29.39 MB / 442.7 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.01977/0.3596, allocations: 6.026 MB / 0.5942 GB, free: 27.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3597, allocations: 13.03 kB / 0.5942 GB, free: 27.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/0.374, allocations: 2.272 MB / 0.5965 GB, free: 27.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003795/0.3778, allocations: 1.907 MB / 0.5983 GB, free: 26.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000562/0.3784, allocations: 0.7269 MB / 0.599 GB, free: 26.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005717/0.379, allocations: 219.2 kB / 0.5992 GB, free: 26.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005223/0.3842, allocations: 3.058 MB / 0.6022 GB, free: 25.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.3843, allocations: 1.875 kB / 0.6022 GB, free: 25.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.3845, allocations: 83.95 kB / 0.6023 GB, free: 25.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.3845, allocations: 49.12 kB / 0.6023 GB, free: 25.94 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004786/0.3893, allocations: 2.8 MB / 0.6051 GB, free: 25.15 MB / 442.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.01497/0.4043, allocations: 9.967 MB / 0.6148 GB, free: 19.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009822/0.4142, allocations: 4.223 MB / 0.6189 GB, free: 18.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003891/0.4181, allocations: 1.984 MB / 0.6209 GB, free: 17.28 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.4184, allocations: 46.45 kB / 0.6209 GB, free: 17.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004393/0.4228, allocations: 2.257 MB / 0.6231 GB, free: 16.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 4.188e-06/0.4228, allocations: 0 / 0.6231 GB, free: 16.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=250): time 0.1064/0.5292, allocations: 28.82 MB / 0.6513 GB, free: 13.94 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.5294, allocations: 188.2 kB / 0.6515 GB, free: 13.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003641/0.5331, allocations: 2.333 MB / 0.6537 GB, free: 11.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007297/0.5338, allocations: 69.7 kB / 0.6538 GB, free: 11.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009766/0.5348, allocations: 1.182 MB / 0.655 GB, free: 10.11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001399/0.5362, allocations: 0.8778 MB / 0.6558 GB, free: 9.234 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004537/0.5367, allocations: 296.7 kB / 0.6561 GB, free: 8.938 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.5368, allocations: 305.1 kB / 0.6564 GB, free: 8.637 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00407/0.5408, allocations: 1.982 MB / 0.6583 GB, free: 6.652 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004176/0.545, allocations: 2.362 MB / 0.6606 GB, free: 4.199 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05168/0.5967, allocations: 14.39 MB / 0.6747 GB, free: 5.602 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.5968, allocations: 0 / 0.6747 GB, free: 5.602 MB / 474.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.0389/0.6357, allocations: 12.6 MB / 0.687 GB, free: 8.934 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.602e-05/0.6358, allocations: 114.8 kB / 0.6871 GB, free: 8.797 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.6358, allocations: 13.89 kB / 0.6871 GB, free: 8.785 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01727/0.6531, allocations: 5.43 MB / 0.6924 GB, free: 3.352 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/0.6561, allocations: 0.5773 MB / 0.693 GB, free: 2.773 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.052/0.7081, allocations: 21.75 MB / 0.7142 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004742/0.7129, allocations: 0.4892 MB / 0.7147 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005311/0.7134, allocations: 116 kB / 0.7148 GB, free: 12.29 MB / 0.5105 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.001407/0.7148, allocations: 0.5277 MB / 0.7153 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006949/0.7155, allocations: 300.2 kB / 0.7156 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03812/0.7537, allocations: 11.96 MB / 0.7273 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.727e-05/0.7537, allocations: 24 kB / 0.7273 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.699e-05/0.7538, allocations: 20 kB / 0.7273 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.818e-05/0.7538, allocations: 11.95 kB / 0.7273 GB, free: 15.34 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.042/0.7958, allocations: 15.59 MB / 0.7426 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.7959, allocations: 0 / 0.7426 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/0.7974, allocations: 255.6 kB / 0.7428 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01653/0.814, allocations: 5.281 MB / 0.748 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005815/0.8146, allocations: 51.98 kB / 0.748 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05109/0.8657, allocations: 22.68 MB / 0.7702 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8657, allocations: 1.5 kB / 0.7702 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04267/0.9084, allocations: 14.33 MB / 0.7842 GB, free: 4.453 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/0.9096, allocations: 420.6 kB / 0.7846 GB, free: 4.02 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007626/0.9104, allocations: 44 kB / 0.7846 GB, free: 3.977 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00291/0.9133, allocations: 299.6 kB / 0.7849 GB, free: 3.684 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001952/0.9153, allocations: 0.5655 MB / 0.7854 GB, free: 3.117 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/0.9155, allocations: 63.98 kB / 0.7855 GB, free: 3.055 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002214/0.9177, allocations: 1.543 MB / 0.787 GB, free: 1.508 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9177, allocations: 4 kB / 0.787 GB, free: 1.504 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002992/0.9207, allocations: 1.194 MB / 0.7882 GB, free: 316 kB / 0.573 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.0003839/0.9211, allocations: 186 kB / 0.7884 GB, free: 120 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.1979/1.119, allocations: 6.671 MB / 0.7949 GB, free: 179.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/1.119, allocations: 2.031 kB / 0.7949 GB, free: 179.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01183/1.131, allocations: 4.42 MB / 0.7992 GB, free: 179 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/1.133, allocations: 266.5 kB / 0.7994 GB, free: 179 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008523/1.142, allocations: 6.616 MB / 0.8059 GB, free: 175.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/1.143, allocations: 1.822 MB / 0.8077 GB, free: 175 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001076/1.144, allocations: 268.9 kB / 0.8079 GB, free: 175 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005369/1.145, allocations: 161.4 kB / 0.8081 GB, free: 175 MB / 0.573 GB Notification: Performance of SimCode: time 9.12e-07/1.145, allocations: 4 kB / 0.8081 GB, free: 175 MB / 0.573 GB Notification: Performance of Templates: time 0.07372/1.218, allocations: 58.63 MB / 0.8654 GB, free: 146.8 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)