Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.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_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09625/0.09625, allocations: 12.6 MB / 28.91 MB, free: 0.6172 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.00115/0.00115, allocations: 107.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.619/1.619, 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.001731/0.001731, allocations: 180.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.4992/0.4992, allocations: 78.51 MB / 420 MB, free: 11.25 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.002725/0.002725, allocations: 138.3 kB / 0.5566 GB, free: 28.48 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1731, allocations: 68.13 MB / 0.6231 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII): time 0.01387/0.1871, allocations: 13.04 MB / 0.6359 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009174/0.1963, allocations: 3.27 MB / 0.6391 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003258/0.1996, allocations: 24 kB / 0.6391 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.2015, allocations: 0.5033 MB / 0.6396 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005869/0.2074, allocations: 1.49 MB / 0.641 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003945/0.2114, allocations: 1.457 MB / 0.6424 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006517/0.2179, allocations: 3.355 MB / 0.6457 GB, free: 8.145 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.2198, allocations: 0.7509 MB / 0.6465 GB, free: 7.355 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.2226, allocations: 1.392 MB / 0.6478 GB, free: 5.957 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003292/0.2259, allocations: 1.824 MB / 0.6496 GB, free: 4.125 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.227, allocations: 256 kB / 0.6498 GB, free: 3.875 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.2292, allocations: 407.9 kB / 0.6502 GB, free: 3.477 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001293/0.2305, allocations: 0.6922 MB / 0.6509 GB, free: 2.781 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002103/0.2326, allocations: 1.507 MB / 0.6524 GB, free: 1.266 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004947/0.2375, allocations: 3.679 MB / 0.656 GB, free: 13.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2376, allocations: 0 / 0.656 GB, free: 13.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2376, allocations: 4 kB / 0.656 GB, free: 13.56 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001084/0.2377, allocations: 0 / 0.656 GB, free: 13.56 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: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.02476/0.2625, allocations: 6.264 MB / 0.6621 GB, free: 7.227 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/0.2625, allocations: 15.92 kB / 0.6621 GB, free: 7.211 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01558/0.2781, allocations: 2.265 MB / 0.6643 GB, free: 4.941 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00515/0.2833, allocations: 1.702 MB / 0.666 GB, free: 3.172 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009318/0.2843, allocations: 0.6552 MB / 0.6666 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/0.2855, allocations: 204 kB / 0.6668 GB, free: 2.219 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009105/0.2947, allocations: 2.906 MB / 0.6697 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-05/0.2948, allocations: 3.938 kB / 0.6697 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006732/0.2955, allocations: 79.94 kB / 0.6697 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.802e-05/0.2955, allocations: 44 kB / 0.6698 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00753/0.3031, allocations: 2.681 MB / 0.6724 GB, free: 12.48 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.02401/0.3271, allocations: 9.57 MB / 0.6817 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/0.3387, allocations: 4.053 MB / 0.6857 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004486/0.3433, allocations: 1.885 MB / 0.6875 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004353/0.3437, allocations: 33.97 kB / 0.6876 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.629e-05/0.3438, allocations: 56.56 kB / 0.6876 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 4.588e-06/0.3438, allocations: 0 / 0.6876 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=229): time 0.1104/0.4542, allocations: 25.56 MB / 0.7126 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/0.4543, allocations: 128.8 kB / 0.7127 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0043/0.4587, allocations: 2.029 MB / 0.7147 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007542/0.4594, allocations: 65.7 kB / 0.7147 GB, free: 472 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.4125/0.8719, allocations: 1.101 MB / 0.7158 GB, free: 78.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00152/0.8735, allocations: 0.8492 MB / 0.7167 GB, free: 78.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001245/0.8748, allocations: 0.5068 MB / 0.7171 GB, free: 78.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.15e-05/0.8748, allocations: 305.8 kB / 0.7174 GB, free: 77.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00465/0.8795, allocations: 1.895 MB / 0.7193 GB, free: 77.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004788/0.8843, allocations: 2.246 MB / 0.7215 GB, free: 76.85 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07352/0.9578, allocations: 13.9 MB / 0.7351 GB, free: 73.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.343e-05/0.9579, allocations: 2.75 kB / 0.7351 GB, free: 73.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.04179/0.9997, allocations: 12.22 MB / 0.747 GB, free: 70.63 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.365e-05/0.9998, allocations: 7.781 kB / 0.747 GB, free: 70.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/0.9998, allocations: 7.875 kB / 0.747 GB, free: 70.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01639/1.016, allocations: 5.258 MB / 0.7521 GB, free: 67.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/1.019, allocations: 0.4938 MB / 0.7526 GB, free: 66.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05595/1.075, allocations: 23.19 MB / 0.7753 GB, free: 43.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0046/1.08, allocations: 449.8 kB / 0.7757 GB, free: 43.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007965/1.081, allocations: 104 kB / 0.7758 GB, free: 43.16 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.005759/1.086, allocations: 2.2 MB / 0.7779 GB, free: 40.96 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004463/1.091, allocations: 2.228 MB / 0.7801 GB, free: 38.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05328/1.144, allocations: 13.84 MB / 0.7936 GB, free: 24.67 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.737e-05/1.144, allocations: 4 kB / 0.7936 GB, free: 24.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=381) (initialization_lambda0): time 0.03963/1.184, allocations: 12.16 MB / 0.8055 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/1.184, allocations: 8 kB / 0.8055 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/1.184, allocations: 8 kB / 0.8055 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01636/1.2, allocations: 5.257 MB / 0.8107 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003124/1.203, allocations: 496.1 kB / 0.8111 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06192/1.265, allocations: 23.2 MB / 0.8338 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/1.27, allocations: 410.2 kB / 0.8342 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008196/1.271, allocations: 108 kB / 0.8343 GB, free: 14.91 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 (294): * Single equations (assignments): 293 * Array equations: 0 * Algorithm blocks: 0 * 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.001477/1.272, allocations: 338.6 kB / 0.8346 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/1.273, allocations: 290.1 kB / 0.8349 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03675/1.31, allocations: 11.47 MB / 0.8461 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.518e-05/1.31, allocations: 15.89 kB / 0.8461 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.31, allocations: 0 / 0.8461 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/1.311, allocations: 388.7 kB / 0.8465 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008782/1.312, allocations: 39.98 kB / 0.8465 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002723/1.315, allocations: 259.7 kB / 0.8468 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004287/1.319, allocations: 1.371 MB / 0.8481 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01595/1.335, allocations: 5.232 MB / 0.8532 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01178/1.347, allocations: 5.447 MB / 0.8585 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003581/1.351, allocations: 1.508 MB / 0.86 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002113/1.353, allocations: 1.326 MB / 0.8613 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of Backend: time 1.052e-06/1.353, allocations: 0 / 0.8613 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02934/1.382, allocations: 9.258 MB / 0.8703 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01082/1.393, allocations: 5.882 MB / 0.8761 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of Templates: time 0.1428/1.536, allocations: 83.33 MB / 0.9574 GB, free: 0.7656 MB / 0.6544 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)