Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.364/1.364, allocations: 223.3 MB / 239 MB, free: 5.434 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.0009083/0.0009083, allocations: 172.6 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5096/0.5096, allocations: 91.92 MB / 433.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 12 kB / 0.5042 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3371, allocations: 72.46 MB / 0.5749 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.00873/0.3458, allocations: 12.97 MB / 0.5876 GB, free: 27.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007427/0.3533, allocations: 3.485 MB / 0.591 GB, free: 25.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002469/0.3558, allocations: 34.47 kB / 0.591 GB, free: 25.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.357, allocations: 394.2 kB / 0.5914 GB, free: 24.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.3607, allocations: 1.209 MB / 0.5926 GB, free: 24.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.3636, allocations: 1.28 MB / 0.5938 GB, free: 23.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004182/0.3678, allocations: 3.382 MB / 0.5971 GB, free: 21.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.3689, allocations: 0.6882 MB / 0.5978 GB, free: 21.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.371, allocations: 1.323 MB / 0.5991 GB, free: 20.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.3729, allocations: 1.742 MB / 0.6008 GB, free: 20.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004151/0.3733, allocations: 143.5 kB / 0.6009 GB, free: 20.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007953/0.3741, allocations: 277.1 kB / 0.6012 GB, free: 20.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004176/0.3746, allocations: 0.5931 MB / 0.6018 GB, free: 19.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006127/0.3752, allocations: 0.5342 MB / 0.6023 GB, free: 19.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002591/0.3778, allocations: 2.976 MB / 0.6052 GB, free: 18.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3778, allocations: 0 / 0.6052 GB, free: 18.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3778, allocations: 3.938 kB / 0.6052 GB, free: 18.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.958e-05/0.3779, allocations: 0 / 0.6052 GB, free: 18.41 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02061/0.3985, allocations: 6.22 MB / 0.6113 GB, free: 16.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3986, allocations: 13.62 kB / 0.6113 GB, free: 16.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/0.4138, allocations: 2.296 MB / 0.6136 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004693/0.4186, allocations: 1.795 MB / 0.6153 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006786/0.4193, allocations: 0.7586 MB / 0.616 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006465/0.4199, allocations: 220.5 kB / 0.6163 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007273/0.4272, allocations: 3.227 MB / 0.6194 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/0.4273, allocations: 1.031 kB / 0.6194 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/0.4276, allocations: 81.38 kB / 0.6195 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-05/0.4276, allocations: 54.25 kB / 0.6195 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006275/0.4339, allocations: 2.978 MB / 0.6224 GB, free: 11.7 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.0172/0.4511, allocations: 10.19 MB / 0.6324 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.4614, allocations: 4.867 MB / 0.6371 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004512/0.4659, allocations: 2.171 MB / 0.6393 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003305/0.4663, allocations: 45.95 kB / 0.6393 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004627/0.4709, allocations: 2.435 MB / 0.6417 GB, free: 8.555 MB / 446.1 MB Notification: Performance of pre-optimization done (n=249): time 4.248e-06/0.471, allocations: 4 kB / 0.6417 GB, free: 8.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=249): time 0.1118/0.5827, allocations: 33.42 MB / 0.6743 GB, free: 7.004 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.846e-05/0.5829, allocations: 184.2 kB / 0.6745 GB, free: 6.785 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003491/0.5864, allocations: 2.298 MB / 0.6767 GB, free: 4.469 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008035/0.5872, allocations: 73.69 kB / 0.6768 GB, free: 4.391 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008557/0.588, allocations: 1.183 MB / 0.678 GB, free: 3.195 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.5891, allocations: 0.8703 MB / 0.6788 GB, free: 2.312 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.5894, allocations: 68 kB / 0.6789 GB, free: 2.246 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.5896, allocations: 432.9 kB / 0.6793 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004264/0.5939, allocations: 2.158 MB / 0.6814 GB, free: 15.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/0.5984, allocations: 2.526 MB / 0.6839 GB, free: 13.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004589/0.603, allocations: 2.427 MB / 0.6862 GB, free: 10.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.6031, allocations: 0 / 0.6862 GB, free: 10.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04049/0.6435, allocations: 15.21 MB / 0.7011 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.6437, allocations: 114.8 kB / 0.7012 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.6437, allocations: 8 kB / 0.7012 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01857/0.6623, allocations: 6.426 MB / 0.7075 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003186/0.6655, allocations: 0.589 MB / 0.7081 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05812/0.7237, allocations: 25.16 MB / 0.7326 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005072/0.7288, allocations: 0.587 MB / 0.7332 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006074/0.7294, allocations: 120 kB / 0.7333 GB, free: 10.11 MB / 0.5294 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (331): * Single equations (assignments): 326 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.00167/0.7311, allocations: 0.5354 MB / 0.7339 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007997/0.7319, allocations: 296.3 kB / 0.7341 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03938/0.7713, allocations: 14.76 MB / 0.7485 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.234e-05/0.7714, allocations: 28 kB / 0.7486 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.749e-05/0.7714, allocations: 16 kB / 0.7486 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.929e-05/0.7715, allocations: 15.95 kB / 0.7486 GB, free: 10.34 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.04489/0.8164, allocations: 18.38 MB / 0.7666 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/0.8165, allocations: 0 / 0.7666 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/0.8181, allocations: 247.6 kB / 0.7668 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0174/0.8355, allocations: 6.284 MB / 0.7729 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006855/0.8362, allocations: 51.98 kB / 0.773 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3008/1.137, allocations: 25.49 MB / 0.7979 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.137, allocations: 1.188 kB / 0.7979 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04559/1.183, allocations: 17.33 MB / 0.8148 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/1.184, allocations: 427.1 kB / 0.8152 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009057/1.185, allocations: 47.84 kB / 0.8152 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002964/1.188, allocations: 408.4 kB / 0.8156 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002145/1.19, allocations: 0.5769 MB / 0.8162 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/1.19, allocations: 69.7 kB / 0.8163 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002063/1.192, allocations: 1.509 MB / 0.8177 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.192, allocations: 3.781 kB / 0.8177 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003624/1.196, allocations: 1.184 MB / 0.8189 GB, free: 151.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(67,7.5%) 21} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004088/1.196, allocations: 182.2 kB / 0.8191 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01617/1.212, allocations: 7.535 MB / 0.8264 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.212, allocations: 1.75 kB / 0.8264 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01205/1.224, allocations: 5.118 MB / 0.8314 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/1.227, allocations: 266.8 kB / 0.8317 GB, free: 140 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008489/1.236, allocations: 6.377 MB / 0.8379 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009515/1.237, allocations: 1.817 MB / 0.8397 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001166/1.238, allocations: 264.2 kB / 0.8399 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005596/1.238, allocations: 159.4 kB / 0.8401 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/1.238, allocations: 0 / 0.8401 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.06848/1.307, allocations: 57.01 MB / 0.8958 GB, free: 75.27 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)