Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 113.7 kB / 16.42 MB, free: 6.496 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.316/1.316, allocations: 222.9 MB / 240.1 MB, free: 4.578 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.00133/0.00133, allocations: 192.5 kB / 290.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5084/0.5084, allocations: 91.89 MB / 432.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 79.16 kB / 0.5734 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.1001, allocations: 71.28 MB / 0.643 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI): time 0.006508/0.1067, allocations: 6.59 MB / 0.6495 GB, free: 13 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003505/0.1102, allocations: 2.048 MB / 0.6515 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004467/0.1107, allocations: 8 kB / 0.6515 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006151/0.1113, allocations: 242 kB / 0.6517 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.1131, allocations: 0.8606 MB / 0.6525 GB, free: 9.844 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.1144, allocations: 0.6658 MB / 0.6532 GB, free: 9.184 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001612/0.116, allocations: 1.647 MB / 0.6548 GB, free: 7.531 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000456/0.1165, allocations: 330.3 kB / 0.6551 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008517/0.1173, allocations: 0.6692 MB / 0.6558 GB, free: 6.527 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.1184, allocations: 0.8675 MB / 0.6566 GB, free: 5.656 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002697/0.1187, allocations: 128 kB / 0.6567 GB, free: 5.531 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005228/0.1192, allocations: 259.9 kB / 0.657 GB, free: 5.277 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003272/0.1195, allocations: 354.5 kB / 0.6573 GB, free: 4.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006594/0.1202, allocations: 0.6875 MB / 0.658 GB, free: 4.238 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.1218, allocations: 1.713 MB / 0.6597 GB, free: 2.52 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1218, allocations: 0 / 0.6597 GB, free: 2.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1219, allocations: 0 / 0.6597 GB, free: 2.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.395e-05/0.1219, allocations: 3.938 kB / 0.6597 GB, free: 2.516 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.009474/0.1314, allocations: 2.754 MB / 0.6624 GB, free: 15.69 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1314, allocations: 8.031 kB / 0.6624 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005316/0.1367, allocations: 0.7787 MB / 0.6631 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.1384, allocations: 0.9256 MB / 0.664 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.1386, allocations: 234.5 kB / 0.6642 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/0.1388, allocations: 80 kB / 0.6643 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.1411, allocations: 1.118 MB / 0.6654 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.1412, allocations: 0 / 0.6654 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.1413, allocations: 32 kB / 0.6654 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.1413, allocations: 16 kB / 0.6655 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.1435, allocations: 1.019 MB / 0.6665 GB, free: 11.38 MB / 478.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.006972/0.1505, allocations: 3.949 MB / 0.6703 GB, free: 7.242 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007754/0.1582, allocations: 2.374 MB / 0.6726 GB, free: 4.773 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.1597, allocations: 0.6938 MB / 0.6733 GB, free: 4.078 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.951e-05/0.1598, allocations: 24.97 kB / 0.6733 GB, free: 4.055 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.1598, allocations: 39.56 kB / 0.6734 GB, free: 4.004 MB / 478.1 MB Notification: Performance of pre-optimization done (n=95): time 2.935e-06/0.1599, allocations: 0 / 0.6734 GB, free: 4.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=95): time 0.02825/0.1881, allocations: 6.748 MB / 0.68 GB, free: 13.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.1882, allocations: 149.5 kB / 0.6801 GB, free: 13.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.1899, allocations: 1.131 MB / 0.6812 GB, free: 11.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.1901, allocations: 45.7 kB / 0.6813 GB, free: 11.85 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.1905, allocations: 0.493 MB / 0.6817 GB, free: 11.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003679/0.1909, allocations: 358.9 kB / 0.6821 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/0.1914, allocations: 287.4 kB / 0.6823 GB, free: 10.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.151e-05/0.1915, allocations: 301.1 kB / 0.6826 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.1932, allocations: 0.7973 MB / 0.6834 GB, free: 9.609 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.1951, allocations: 0.9663 MB / 0.6844 GB, free: 8.602 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0263/0.2214, allocations: 5.907 MB / 0.6901 GB, free: 2.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.2214, allocations: 3.938 kB / 0.6901 GB, free: 2.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01478/0.2362, allocations: 4.477 MB / 0.6945 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.2363, allocations: 67.39 kB / 0.6946 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2363, allocations: 0 / 0.6946 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006619/0.2429, allocations: 1.662 MB / 0.6962 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.2444, allocations: 283.5 kB / 0.6965 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02155/0.266, allocations: 8.619 MB / 0.7049 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.2679, allocations: 190.7 kB / 0.7051 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.2681, allocations: 63.97 kB / 0.7051 GB, free: 3.051 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002163/0.2702, allocations: 0.9775 MB / 0.7061 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001801/0.272, allocations: 0.9585 MB / 0.707 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02604/0.2981, allocations: 5.876 MB / 0.7127 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.203e-06/0.2981, allocations: 0 / 0.7127 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=194) (initialization_lambda0): time 0.01487/0.313, allocations: 4.456 MB / 0.7171 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.3131, allocations: 63.34 kB / 0.7172 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3131, allocations: 4 kB / 0.7172 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006578/0.3197, allocations: 1.66 MB / 0.7188 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.3212, allocations: 271.6 kB / 0.719 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02165/0.3428, allocations: 8.615 MB / 0.7275 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.3448, allocations: 174.9 kB / 0.7276 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.345, allocations: 63.97 kB / 0.7277 GB, free: 11.61 MB / 0.5294 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (161): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 2 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004455/0.3454, allocations: 296.6 kB / 0.728 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.3458, allocations: 122.5 kB / 0.7281 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/0.3587, allocations: 3.81 MB / 0.7318 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.3588, allocations: 3.984 kB / 0.7318 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.3588, allocations: 3.938 kB / 0.7318 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.3591, allocations: 231.2 kB / 0.732 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/0.3594, allocations: 16 kB / 0.732 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.3607, allocations: 107.9 kB / 0.7322 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009453/0.3616, allocations: 420.4 kB / 0.7326 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006667/0.3683, allocations: 2.229 MB / 0.7347 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004585/0.3729, allocations: 2.335 MB / 0.737 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001331/0.3743, allocations: 0.5895 MB / 0.7376 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001149/0.3754, allocations: 0.7633 MB / 0.7383 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of Backend: time 5.81e-07/0.3754, allocations: 4 kB / 0.7383 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01174/0.3872, allocations: 4.11 MB / 0.7423 GB, free: 12.39 MB / 0.545 GB Notification: Performance of SimCode: time 0.003607/0.3908, allocations: 3.04 MB / 0.7453 GB, free: 9.289 MB / 0.545 GB Notification: Performance of Templates: time 0.2743/0.6651, allocations: 34.85 MB / 0.7794 GB, free: 116 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)