Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.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_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 112.6 kB / 16.42 MB, free: 6.492 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.363/1.363, allocations: 222.9 MB / 240.1 MB, free: 4.574 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.001409/0.001409, allocations: 200.3 kB / 290.4 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5136/0.5136, allocations: 91.91 MB / 432.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 79.83 kB / 0.5734 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 71.29 MB / 0.6431 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI): time 0.01214/0.1201, allocations: 13.6 MB / 0.6563 GB, free: 5.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007169/0.1273, allocations: 3.534 MB / 0.6598 GB, free: 2.359 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.1292, allocations: 28 kB / 0.6598 GB, free: 2.332 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.1307, allocations: 0.5615 MB / 0.6604 GB, free: 1.766 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004525/0.1353, allocations: 1.568 MB / 0.6619 GB, free: 200 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003671/0.1389, allocations: 1.55 MB / 0.6634 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0044/0.1434, allocations: 3.714 MB / 0.667 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.1446, allocations: 0.8228 MB / 0.6678 GB, free: 10.08 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002079/0.1467, allocations: 1.521 MB / 0.6693 GB, free: 8.551 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/0.1493, allocations: 1.972 MB / 0.6713 GB, free: 6.57 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009582/0.1503, allocations: 284 kB / 0.6715 GB, free: 6.293 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.1517, allocations: 423.9 kB / 0.6719 GB, free: 5.879 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001172/0.1529, allocations: 0.7741 MB / 0.6727 GB, free: 5.102 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002138/0.1551, allocations: 1.631 MB / 0.6743 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004829/0.1599, allocations: 3.974 MB / 0.6782 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.16, allocations: 3.828 kB / 0.6782 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.16, allocations: 0 / 0.6782 GB, free: 15.47 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001149/0.1601, allocations: 0 / 0.6782 GB, free: 15.47 MB / 494.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.02461/0.1847, allocations: 6.606 MB / 0.6846 GB, free: 8.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1848, allocations: 12.03 kB / 0.6846 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01635/0.2011, allocations: 2.279 MB / 0.6869 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003976/0.2051, allocations: 1.89 MB / 0.6887 GB, free: 4.516 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006646/0.2058, allocations: 0.6749 MB / 0.6894 GB, free: 3.738 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004995/0.2063, allocations: 208 kB / 0.6896 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006794/0.2131, allocations: 3.064 MB / 0.6926 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/0.2132, allocations: 0 / 0.6926 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002887/0.2135, allocations: 83.94 kB / 0.6926 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/0.2135, allocations: 48 kB / 0.6927 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007176/0.2207, allocations: 2.827 MB / 0.6954 GB, free: 13.41 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.02059/0.2414, allocations: 9.933 MB / 0.7051 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/0.2529, allocations: 4.115 MB / 0.7092 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004395/0.2573, allocations: 1.994 MB / 0.7111 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.2576, allocations: 43.14 kB / 0.7111 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.2576, allocations: 64.48 kB / 0.7112 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=243): time 5.07e-06/0.2577, allocations: 0 / 0.7112 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=243): time 0.1293/0.387, allocations: 28.17 MB / 0.7387 GB, free: 432 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.3871, allocations: 239.6 kB / 0.7389 GB, free: 144 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/0.391, allocations: 2.305 MB / 0.7412 GB, free: 13.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000564/0.3916, allocations: 69.7 kB / 0.7413 GB, free: 13.74 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009135/0.3925, allocations: 1.176 MB / 0.7424 GB, free: 12.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001155/0.3936, allocations: 0.8626 MB / 0.7433 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001419/0.3951, allocations: 0.5341 MB / 0.7438 GB, free: 11.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.3952, allocations: 305.1 kB / 0.7441 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004524/0.3997, allocations: 1.972 MB / 0.746 GB, free: 8.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004784/0.4045, allocations: 2.33 MB / 0.7483 GB, free: 6.426 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05798/0.4625, allocations: 14.2 MB / 0.7621 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.4625, allocations: 4 kB / 0.7621 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=401) (initialization): time 0.3073/0.7699, allocations: 12.48 MB / 0.7743 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.294e-05/0.77, allocations: 120.5 kB / 0.7744 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.77, allocations: 6.062 kB / 0.7744 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01929/0.7893, allocations: 5.245 MB / 0.7796 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003106/0.7925, allocations: 0.5476 MB / 0.7801 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05681/0.8493, allocations: 23.17 MB / 0.8027 GB, free: 99.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004051/0.8534, allocations: 469.6 kB / 0.8032 GB, free: 99.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/0.8537, allocations: 110.9 kB / 0.8033 GB, free: 99.18 MB / 0.5606 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.004676/0.8584, allocations: 2.306 MB / 0.8055 GB, free: 97.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003975/0.8624, allocations: 2.307 MB / 0.8078 GB, free: 96.19 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.052/0.9144, allocations: 14.12 MB / 0.8216 GB, free: 81.85 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.021e-05/0.9144, allocations: 4 kB / 0.8216 GB, free: 81.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=401) (initialization_lambda0): time 0.03865/0.9531, allocations: 12.44 MB / 0.8337 GB, free: 69.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/0.9532, allocations: 122.8 kB / 0.8338 GB, free: 69.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.9532, allocations: 8 kB / 0.8338 GB, free: 69.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01656/0.9698, allocations: 5.25 MB / 0.839 GB, free: 63.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/0.9727, allocations: 0.5422 MB / 0.8395 GB, free: 63.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05447/1.027, allocations: 23.17 MB / 0.8621 GB, free: 40.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004152/1.031, allocations: 447.1 kB / 0.8626 GB, free: 39.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005165/1.032, allocations: 108 kB / 0.8627 GB, free: 39.62 MB / 0.5606 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.0009742/1.033, allocations: 403.5 kB / 0.863 GB, free: 39.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007416/1.034, allocations: 300.3 kB / 0.8633 GB, free: 38.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03704/1.071, allocations: 11.7 MB / 0.8748 GB, free: 27.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.803e-05/1.071, allocations: 11.95 kB / 0.8748 GB, free: 27.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.071, allocations: 4 kB / 0.8748 GB, free: 27.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008482/1.072, allocations: 408.8 kB / 0.8752 GB, free: 26.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006771/1.072, allocations: 55.94 kB / 0.8752 GB, free: 26.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/1.075, allocations: 279.7 kB / 0.8755 GB, free: 26.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003741/1.079, allocations: 1.39 MB / 0.8768 GB, free: 25.01 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0153/1.094, allocations: 5.737 MB / 0.8824 GB, free: 19.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01145/1.106, allocations: 5.945 MB / 0.8882 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003414/1.109, allocations: 1.636 MB / 0.8898 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002155/1.112, allocations: 1.527 MB / 0.8913 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of Backend: time 6.41e-07/1.112, allocations: 2.344 kB / 0.8913 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02834/1.14, allocations: 9.822 MB / 0.9009 GB, free: 216 kB / 0.5606 GB Notification: Performance of SimCode: time 0.009029/1.149, allocations: 6.299 MB / 0.9071 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of Templates: time 0.1283/1.277, allocations: 87.25 MB / 0.9923 GB, free: 2.637 MB / 0.6544 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)