Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.22/1.22, allocations: 222.9 MB / 238.9 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.001134/0.001134, allocations: 192.5 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4093/0.4093, allocations: 78.52 MB / 417.8 MB, free: 3.324 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 75.88 kB / 496.8 MB, free: 6.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1246, allocations: 68.19 MB / 0.5517 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.2079/0.3325, allocations: 14.36 MB / 0.5657 GB, free: 31.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007007/0.3396, allocations: 3.605 MB / 0.5692 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/0.3424, allocations: 30 kB / 0.5693 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.3444, allocations: 433 kB / 0.5697 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004694/0.3492, allocations: 1.22 MB / 0.5709 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.3527, allocations: 1.415 MB / 0.5723 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004255/0.357, allocations: 3.512 MB / 0.5757 GB, free: 28.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.3582, allocations: 0.7985 MB / 0.5765 GB, free: 28.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.36, allocations: 1.402 MB / 0.5778 GB, free: 27.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.3619, allocations: 1.86 MB / 0.5797 GB, free: 27.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004833/0.3624, allocations: 177.7 kB / 0.5798 GB, free: 27.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008376/0.3632, allocations: 309.7 kB / 0.5801 GB, free: 27.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004146/0.3636, allocations: 0.6639 MB / 0.5808 GB, free: 26.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.3648, allocations: 1.523 MB / 0.5823 GB, free: 26.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.3675, allocations: 3.8 MB / 0.586 GB, free: 24.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3675, allocations: 0 / 0.586 GB, free: 24.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3675, allocations: 0 / 0.586 GB, free: 24.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.079e-05/0.3676, allocations: 0 / 0.586 GB, free: 24.38 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02333/0.3909, allocations: 6.583 MB / 0.5924 GB, free: 21.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.391, allocations: 13.22 kB / 0.5924 GB, free: 21.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01453/0.4055, allocations: 2.272 MB / 0.5946 GB, free: 21.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003948/0.4095, allocations: 1.876 MB / 0.5965 GB, free: 20.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005794/0.4102, allocations: 0.7267 MB / 0.5972 GB, free: 19.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006721/0.4108, allocations: 214.4 kB / 0.5974 GB, free: 19.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007095/0.4179, allocations: 3.025 MB / 0.6003 GB, free: 18.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/0.418, allocations: 3.812 kB / 0.6003 GB, free: 18.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/0.4183, allocations: 85.14 kB / 0.6004 GB, free: 18.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/0.4183, allocations: 50.94 kB / 0.6005 GB, free: 18.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006137/0.4245, allocations: 2.787 MB / 0.6032 GB, free: 17.26 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.02181/0.4463, allocations: 9.869 MB / 0.6128 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.4567, allocations: 4.191 MB / 0.6169 GB, free: 9.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003883/0.4606, allocations: 1.966 MB / 0.6188 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.4609, allocations: 39.23 kB / 0.6189 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004129/0.465, allocations: 2.234 MB / 0.621 GB, free: 7.609 MB / 430.1 MB Notification: Performance of pre-optimization done (n=247): time 4.919e-06/0.4651, allocations: 0 / 0.621 GB, free: 7.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=247): time 0.1161/0.5812, allocations: 29.47 MB / 0.6498 GB, free: 10.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.5813, allocations: 184.2 kB / 0.65 GB, free: 10.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003223/0.5845, allocations: 2.281 MB / 0.6522 GB, free: 7.934 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006462/0.5852, allocations: 69.7 kB / 0.6523 GB, free: 7.859 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008524/0.5861, allocations: 1.176 MB / 0.6534 GB, free: 6.672 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008797/0.587, allocations: 0.8665 MB / 0.6543 GB, free: 5.793 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/0.588, allocations: 0.5539 MB / 0.6548 GB, free: 5.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.5881, allocations: 301.1 kB / 0.6551 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003832/0.5919, allocations: 1.951 MB / 0.657 GB, free: 2.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004251/0.5962, allocations: 2.321 MB / 0.6593 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05019/0.6464, allocations: 14 MB / 0.673 GB, free: 2.352 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.6464, allocations: 0 / 0.673 GB, free: 2.352 MB / 478.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.03878/0.6852, allocations: 12.28 MB / 0.685 GB, free: 5.996 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.6854, allocations: 114.8 kB / 0.6851 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.6854, allocations: 11.94 kB / 0.6851 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01744/0.7028, allocations: 5.313 MB / 0.6903 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/0.7057, allocations: 0.5633 MB / 0.6908 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05476/0.7605, allocations: 21.6 MB / 0.7119 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004474/0.765, allocations: 481.1 kB / 0.7124 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000683/0.7657, allocations: 120 kB / 0.7125 GB, free: 9.629 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 order3_1.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 (325): * Single equations (assignments): 320 * 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,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001669/0.7674, allocations: 0.5352 MB / 0.713 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009279/0.7683, allocations: 296.3 kB / 0.7133 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03822/0.8066, allocations: 11.9 MB / 0.7249 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.188e-05/0.8066, allocations: 24 kB / 0.7249 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-05/0.8067, allocations: 20 kB / 0.725 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.548e-05/0.8068, allocations: 16.92 kB / 0.725 GB, free: 12.78 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.04401/0.8508, allocations: 15.49 MB / 0.7401 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.851e-05/0.8509, allocations: 4 kB / 0.7401 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/0.8525, allocations: 239.7 kB / 0.7403 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01685/0.8693, allocations: 5.288 MB / 0.7455 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007674/0.8702, allocations: 55.98 kB / 0.7456 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05517/0.9253, allocations: 22.69 MB / 0.7677 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.9254, allocations: 0 / 0.7677 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2559/1.181, allocations: 14.25 MB / 0.7816 GB, free: 166 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008905/1.182, allocations: 401.5 kB / 0.782 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004953/1.183, allocations: 48.53 kB / 0.7821 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002736/1.185, allocations: 300.7 kB / 0.7823 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001898/1.187, allocations: 0.5654 MB / 0.7829 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001934/1.188, allocations: 67.36 kB / 0.783 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00197/1.19, allocations: 1.505 MB / 0.7844 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.19, allocations: 0 / 0.7844 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002987/1.193, allocations: 1.179 MB / 0.7856 GB, free: 165.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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.0003639/1.193, allocations: 173.2 kB / 0.7858 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01597/1.209, allocations: 6.592 MB / 0.7922 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.209, allocations: 2.156 kB / 0.7922 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01199/1.221, allocations: 4.394 MB / 0.7965 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/1.223, allocations: 263.8 kB / 0.7967 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008836/1.232, allocations: 6.413 MB / 0.803 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/1.233, allocations: 1.808 MB / 0.8048 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001083/1.234, allocations: 263.3 kB / 0.805 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005518/1.235, allocations: 160.2 kB / 0.8052 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/1.235, allocations: 1.719 kB / 0.8052 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.06511/1.3, allocations: 59.07 MB / 0.8629 GB, free: 116.5 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)