Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1092/0.1092, allocations: 12.6 MB / 28.91 MB, free: 0.5938 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 107.5 kB / 32.51 MB, free: 3.535 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.1 MB / 241.1 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 195.3 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4613/0.4613, allocations: 78.52 MB / 420 MB, free: 11.24 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00276/0.002761, allocations: 148 kB / 0.5566 GB, free: 28.31 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1777, allocations: 68.13 MB / 0.6231 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01536/0.1931, allocations: 13.86 MB / 0.6367 GB, free: 1.316 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.2036, allocations: 3.493 MB / 0.6401 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003795/0.2075, allocations: 28 kB / 0.6401 GB, free: 13.78 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002073/0.2096, allocations: 0.5576 MB / 0.6406 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006358/0.216, allocations: 1.598 MB / 0.6422 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004173/0.2202, allocations: 1.527 MB / 0.6437 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007674/0.2279, allocations: 3.812 MB / 0.6474 GB, free: 6.289 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.2296, allocations: 0.909 MB / 0.6483 GB, free: 5.332 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.2326, allocations: 1.56 MB / 0.6498 GB, free: 3.766 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002695/0.2353, allocations: 2.003 MB / 0.6518 GB, free: 1.754 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005701/0.2359, allocations: 296 kB / 0.6521 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.237, allocations: 439.9 kB / 0.6525 GB, free: 1.035 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000762/0.2378, allocations: 0.7741 MB / 0.6532 GB, free: 264 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002004/0.2398, allocations: 1.662 MB / 0.6549 GB, free: 14.58 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006758/0.2466, allocations: 4.068 MB / 0.6588 GB, free: 10.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.2466, allocations: 0 / 0.6588 GB, free: 10.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.2466, allocations: 0 / 0.6588 GB, free: 10.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001379/0.2468, allocations: 4 kB / 0.6588 GB, free: 10.5 MB / 478.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.02779/0.2746, allocations: 6.779 MB / 0.6655 GB, free: 3.617 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.2747, allocations: 19.92 kB / 0.6655 GB, free: 3.598 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/0.2904, allocations: 2.292 MB / 0.6677 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005836/0.2963, allocations: 1.924 MB / 0.6696 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001018/0.2973, allocations: 0.7329 MB / 0.6703 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/0.2986, allocations: 220 kB / 0.6705 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009953/0.3086, allocations: 3.051 MB / 0.6735 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.036e-05/0.3087, allocations: 0 / 0.6735 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007343/0.3094, allocations: 91.75 kB / 0.6736 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.716e-05/0.3095, allocations: 48 kB / 0.6736 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007576/0.3171, allocations: 2.803 MB / 0.6764 GB, free: 8.164 MB / 494.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.02467/0.3418, allocations: 9.91 MB / 0.6861 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/0.3537, allocations: 4.224 MB / 0.6902 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005255/0.359, allocations: 1.979 MB / 0.6921 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006183/0.3597, allocations: 45.95 kB / 0.6922 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006067/0.3658, allocations: 2.248 MB / 0.6943 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=250): time 1.061e-05/0.3658, allocations: 0 / 0.6943 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=250): time 0.5148/0.8807, allocations: 28.83 MB / 0.7225 GB, free: 81.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.8809, allocations: 187.9 kB / 0.7227 GB, free: 81.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006186/0.8871, allocations: 2.337 MB / 0.725 GB, free: 81.14 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009436/0.888, allocations: 73.94 kB / 0.725 GB, free: 81.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.8891, allocations: 1.19 MB / 0.7262 GB, free: 80.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/0.8903, allocations: 0.935 MB / 0.7271 GB, free: 79.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001322/0.8917, allocations: 0.5713 MB / 0.7277 GB, free: 79.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 7.185e-05/0.8918, allocations: 303.3 kB / 0.728 GB, free: 79.37 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005006/0.8968, allocations: 1.991 MB / 0.7299 GB, free: 78.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005423/0.9022, allocations: 2.356 MB / 0.7322 GB, free: 77.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05474/0.957, allocations: 14.36 MB / 0.7462 GB, free: 71.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.099e-05/0.9571, allocations: 3.719 kB / 0.7462 GB, free: 71.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04042/0.9975, allocations: 12.62 MB / 0.7586 GB, free: 60.44 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-05/0.9976, allocations: 110.8 kB / 0.7587 GB, free: 60.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.9977, allocations: 11.98 kB / 0.7587 GB, free: 60.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01683/1.015, allocations: 5.438 MB / 0.764 GB, free: 54.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003088/1.018, allocations: 0.5773 MB / 0.7646 GB, free: 54.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05706/1.075, allocations: 23.67 MB / 0.7877 GB, free: 30.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004821/1.08, allocations: 0.4961 MB / 0.7882 GB, free: 30.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008079/1.08, allocations: 120 kB / 0.7883 GB, free: 29.92 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 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.002102/1.083, allocations: 0.5356 MB / 0.7888 GB, free: 29.37 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.084, allocations: 317.9 kB / 0.7891 GB, free: 29.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03606/1.12, allocations: 11.95 MB / 0.8008 GB, free: 17.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.755e-05/1.12, allocations: 11.95 kB / 0.8008 GB, free: 17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.12, allocations: 4.5 kB / 0.8008 GB, free: 17 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.121, allocations: 427.3 kB / 0.8012 GB, free: 16.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001471/1.123, allocations: 48 kB / 0.8012 GB, free: 16.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003743/1.127, allocations: 302.3 kB / 0.8015 GB, free: 16.26 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004886/1.131, allocations: 1.414 MB / 0.8029 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01844/1.15, allocations: 5.995 MB / 0.8088 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01304/1.163, allocations: 5.984 MB / 0.8146 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003453/1.166, allocations: 1.628 MB / 0.8162 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002874/1.169, allocations: 1.544 MB / 0.8177 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of Backend: time 6.31e-07/1.169, allocations: 0 / 0.8177 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01787/1.187, allocations: 5.267 MB / 0.8228 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01077/1.198, allocations: 6.541 MB / 0.8292 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of Templates: time 0.1082/1.306, allocations: 61.84 MB / 0.8896 GB, free: 5.832 MB / 0.5919 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)