Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07964/0.07964, allocations: 12.6 MB / 28.91 MB, free: 0.6211 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.00114/0.00114, allocations: 111.5 kB / 32.51 MB, free: 3.559 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.442/1.442, 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.00162/0.00162, allocations: 184.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4465/0.4465, allocations: 78.52 MB / 420 MB, free: 11.23 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.002806/0.002806, allocations: 143.8 kB / 0.5566 GB, free: 28.39 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1419, allocations: 68.13 MB / 0.6231 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI): time 0.01327/0.1552, allocations: 13.63 MB / 0.6364 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00954/0.1648, allocations: 3.484 MB / 0.6398 GB, free: 14.17 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003776/0.1687, allocations: 31.94 kB / 0.6399 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002928/0.1717, allocations: 0.5654 MB / 0.6404 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008058/0.1798, allocations: 1.565 MB / 0.6419 GB, free: 12 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004938/0.1847, allocations: 1.55 MB / 0.6435 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006091/0.1908, allocations: 3.718 MB / 0.6471 GB, free: 6.738 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.1927, allocations: 0.8306 MB / 0.6479 GB, free: 5.871 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.1955, allocations: 1.513 MB / 0.6494 GB, free: 4.352 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003151/0.1987, allocations: 1.972 MB / 0.6513 GB, free: 2.371 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001182/0.1999, allocations: 284 kB / 0.6516 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.2017, allocations: 423.9 kB / 0.652 GB, free: 1.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001237/0.2029, allocations: 0.7741 MB / 0.6527 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002906/0.2059, allocations: 1.639 MB / 0.6543 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005644/0.2115, allocations: 3.978 MB / 0.6582 GB, free: 11.26 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2115, allocations: 0 / 0.6582 GB, free: 11.26 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.2115, allocations: 4 kB / 0.6582 GB, free: 11.26 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001122/0.2117, allocations: 0 / 0.6582 GB, free: 11.26 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.02576/0.2374, allocations: 6.606 MB / 0.6647 GB, free: 4.555 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.2375, allocations: 11.98 kB / 0.6647 GB, free: 4.543 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01638/0.2539, allocations: 2.275 MB / 0.6669 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005649/0.2596, allocations: 1.91 MB / 0.6688 GB, free: 292 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009335/0.2606, allocations: 0.6633 MB / 0.6694 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/0.2619, allocations: 219.9 kB / 0.6696 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009004/0.271, allocations: 3.06 MB / 0.6726 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.657e-05/0.2711, allocations: 0 / 0.6726 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005183/0.2716, allocations: 91.94 kB / 0.6727 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.648e-05/0.2717, allocations: 48 kB / 0.6728 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007046/0.2787, allocations: 2.819 MB / 0.6755 GB, free: 9.188 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.02202/0.3008, allocations: 9.945 MB / 0.6852 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/0.3128, allocations: 4.111 MB / 0.6892 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005209/0.3181, allocations: 1.987 MB / 0.6912 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005114/0.3186, allocations: 47.12 kB / 0.6912 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.467e-05/0.3187, allocations: 60.56 kB / 0.6913 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=243): time 5.891e-06/0.3187, allocations: 0 / 0.6913 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=243): time 0.4211/0.7398, allocations: 28.17 MB / 0.7188 GB, free: 79.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.88e-05/0.74, allocations: 237.3 kB / 0.719 GB, free: 78.83 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004905/0.7449, allocations: 2.304 MB / 0.7213 GB, free: 78.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007898/0.7457, allocations: 70.08 kB / 0.7213 GB, free: 78.58 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.7468, allocations: 1.177 MB / 0.7225 GB, free: 78.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001283/0.7481, allocations: 0.86 MB / 0.7233 GB, free: 78.05 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001308/0.7494, allocations: 0.5402 MB / 0.7239 GB, free: 77.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.354e-05/0.7495, allocations: 302.6 kB / 0.7241 GB, free: 77.51 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005306/0.7548, allocations: 1.973 MB / 0.7261 GB, free: 76.79 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005704/0.7605, allocations: 2.331 MB / 0.7283 GB, free: 75.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05734/0.8179, allocations: 14.19 MB / 0.7422 GB, free: 71.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.252e-05/0.818, allocations: 0 / 0.7422 GB, free: 71.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=401) (initialization): time 0.04278/0.8608, allocations: 12.49 MB / 0.7544 GB, free: 64.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-05/0.8609, allocations: 114.8 kB / 0.7545 GB, free: 64.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/0.861, allocations: 8 kB / 0.7545 GB, free: 64.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01755/0.8785, allocations: 5.253 MB / 0.7596 GB, free: 58.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003203/0.8818, allocations: 0.5461 MB / 0.7602 GB, free: 58.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06077/0.9426, allocations: 23.16 MB / 0.7828 GB, free: 35.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005052/0.9477, allocations: 477.1 kB / 0.7833 GB, free: 34.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008133/0.9486, allocations: 112 kB / 0.7834 GB, free: 34.48 MB / 0.5137 GB Warning: Assuming fixed start value for the following 7 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.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00623/0.9548, allocations: 2.305 MB / 0.7856 GB, free: 32.17 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004905/0.9597, allocations: 2.3 MB / 0.7879 GB, free: 29.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05462/1.014, allocations: 14.13 MB / 0.8017 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.454e-05/1.014, allocations: 4 kB / 0.8017 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=401) (initialization_lambda0): time 0.0435/1.058, allocations: 12.45 MB / 0.8138 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.546e-05/1.058, allocations: 118.8 kB / 0.8139 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/1.058, allocations: 8 kB / 0.8139 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0185/1.077, allocations: 5.246 MB / 0.8191 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003391/1.08, allocations: 0.5422 MB / 0.8196 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07032/1.15, allocations: 23.16 MB / 0.8422 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004996/1.155, allocations: 442.6 kB / 0.8426 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008304/1.156, allocations: 112 kB / 0.8427 GB, free: 5.113 MB / 0.545 GB Warning: Assuming fixed start value for the following 7 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.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (314): * Single equations (assignments): 309 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001565/1.158, allocations: 389.9 kB / 0.8431 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/1.159, allocations: 296.3 kB / 0.8434 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04316/1.202, allocations: 11.71 MB / 0.8548 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001014/1.203, allocations: 15.95 kB / 0.8548 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/1.203, allocations: 0 / 0.8548 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.204, allocations: 408.8 kB / 0.8552 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001644/1.205, allocations: 48 kB / 0.8553 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004588/1.21, allocations: 291.5 kB / 0.8556 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005356/1.215, allocations: 1.383 MB / 0.8569 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02041/1.236, allocations: 5.742 MB / 0.8625 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01585/1.252, allocations: 5.948 MB / 0.8683 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004381/1.256, allocations: 1.632 MB / 0.8699 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003206/1.26, allocations: 1.531 MB / 0.8714 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of Backend: time 7.81e-07/1.26, allocations: 0 / 0.8714 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.03599/1.296, allocations: 9.834 MB / 0.881 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01217/1.308, allocations: 6.297 MB / 0.8872 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of Templates: time 0.1485/1.456, allocations: 87.22 MB / 0.9723 GB, free: 132 kB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)