Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1246/0.1246, allocations: 12.6 MB / 28.91 MB, free: 432 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 115.5 kB / 32.51 MB, free: 3.426 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.429/1.429, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.002357/0.002357, allocations: 187.3 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.4451/0.4451, allocations: 78.51 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.002645/0.002645, allocations: 145.1 kB / 0.5565 GB, free: 28.57 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1343, allocations: 68.13 MB / 0.6231 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI): time 0.007556/0.1419, allocations: 6.647 MB / 0.6296 GB, free: 8.746 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004576/0.1465, allocations: 1.998 MB / 0.6315 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.1477, allocations: 11.94 kB / 0.6315 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.1488, allocations: 246 kB / 0.6318 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.1516, allocations: 0.8772 MB / 0.6326 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.1533, allocations: 0.6465 MB / 0.6332 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002333/0.1556, allocations: 1.651 MB / 0.6349 GB, free: 3.309 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006287/0.1562, allocations: 318.4 kB / 0.6352 GB, free: 2.984 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.1575, allocations: 0.6691 MB / 0.6358 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.1588, allocations: 0.8636 MB / 0.6367 GB, free: 1.445 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000442/0.1593, allocations: 128 kB / 0.6368 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008256/0.1601, allocations: 259.9 kB / 0.637 GB, free: 1.066 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005651/0.1607, allocations: 362.5 kB / 0.6374 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.1618, allocations: 0.6836 MB / 0.638 GB, free: 24 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.164, allocations: 1.717 MB / 0.6397 GB, free: 14.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.164, allocations: 4 kB / 0.6397 GB, free: 14.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1641, allocations: 3.938 kB / 0.6397 GB, free: 14.29 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.437e-05/0.1641, allocations: 4 kB / 0.6397 GB, free: 14.29 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.01012/0.1743, allocations: 2.75 MB / 0.6424 GB, free: 11.47 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.1743, allocations: 15.92 kB / 0.6424 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005499/0.1798, allocations: 0.7826 MB / 0.6432 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.182, allocations: 0.9297 MB / 0.6441 GB, free: 9.688 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003054/0.1824, allocations: 230.5 kB / 0.6443 GB, free: 9.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003263/0.1827, allocations: 87.89 kB / 0.6444 GB, free: 9.344 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/0.1856, allocations: 1.118 MB / 0.6455 GB, free: 8.211 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.1856, allocations: 4 kB / 0.6455 GB, free: 8.207 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.1857, allocations: 32 kB / 0.6455 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.1858, allocations: 16 kB / 0.6455 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.1883, allocations: 1.015 MB / 0.6465 GB, free: 7.145 MB / 462.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.009163/0.1975, allocations: 3.941 MB / 0.6504 GB, free: 3.016 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007835/0.2053, allocations: 2.375 MB / 0.6527 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.2069, allocations: 0.6996 MB / 0.6534 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.207, allocations: 16.91 kB / 0.6534 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.2071, allocations: 51.55 kB / 0.6535 GB, free: 15.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=95): time 3.897e-06/0.2071, allocations: 0 / 0.6535 GB, free: 15.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=95): time 0.02838/0.2355, allocations: 6.755 MB / 0.66 GB, free: 8.973 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/0.2356, allocations: 141.5 kB / 0.6602 GB, free: 8.805 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/0.2379, allocations: 1.127 MB / 0.6613 GB, free: 7.664 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000268/0.2382, allocations: 45.7 kB / 0.6613 GB, free: 7.613 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005064/0.2387, allocations: 0.5007 MB / 0.6618 GB, free: 7.105 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005973/0.2393, allocations: 359 kB / 0.6622 GB, free: 6.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009037/0.2402, allocations: 287.4 kB / 0.6624 GB, free: 6.465 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2403, allocations: 301.1 kB / 0.6627 GB, free: 6.168 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/0.2422, allocations: 0.8011 MB / 0.6635 GB, free: 5.363 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.2442, allocations: 0.9663 MB / 0.6644 GB, free: 4.352 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02645/0.2707, allocations: 5.899 MB / 0.6702 GB, free: 14.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.2707, allocations: 4 kB / 0.6702 GB, free: 14.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0162/0.2869, allocations: 4.481 MB / 0.6746 GB, free: 9.855 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.2871, allocations: 63.39 kB / 0.6746 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/0.2872, allocations: 4 kB / 0.6746 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007084/0.2943, allocations: 1.669 MB / 0.6763 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.2961, allocations: 275.6 kB / 0.6765 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02275/0.3189, allocations: 8.619 MB / 0.685 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/0.3211, allocations: 194.7 kB / 0.6851 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003496/0.3215, allocations: 59.97 kB / 0.6852 GB, free: 14.8 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.00265/0.3242, allocations: 0.9772 MB / 0.6862 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00202/0.3262, allocations: 0.9507 MB / 0.6871 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0269/0.3531, allocations: 5.883 MB / 0.6928 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.959e-06/0.3532, allocations: 0 / 0.6928 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=194) (initialization_lambda0): time 0.01597/0.3692, allocations: 4.453 MB / 0.6972 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-05/0.3693, allocations: 63.33 kB / 0.6972 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.3693, allocations: 8 kB / 0.6972 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00684/0.3762, allocations: 1.664 MB / 0.6989 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.3778, allocations: 275.6 kB / 0.6991 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02273/0.4005, allocations: 8.611 MB / 0.7075 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.4029, allocations: 178.9 kB / 0.7077 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003415/0.4032, allocations: 55.97 kB / 0.7078 GB, free: 7.363 MB / 0.5137 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.0007802/0.404, allocations: 286.5 kB / 0.708 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000534/0.4046, allocations: 130.4 kB / 0.7082 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/0.4179, allocations: 3.81 MB / 0.7119 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-05/0.418, allocations: 11.92 kB / 0.7119 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.418, allocations: 0 / 0.7119 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006675/0.4187, allocations: 223.2 kB / 0.7121 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00057/0.4193, allocations: 27.98 kB / 0.7121 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/0.4209, allocations: 103.9 kB / 0.7122 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001148/0.4221, allocations: 416.4 kB / 0.7126 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007511/0.4296, allocations: 2.228 MB / 0.7148 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3578/0.7875, allocations: 2.332 MB / 0.7171 GB, free: 84.78 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001542/0.7891, allocations: 0.5899 MB / 0.7177 GB, free: 84.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001567/0.7906, allocations: 0.767 MB / 0.7184 GB, free: 84.66 MB / 0.5137 GB Notification: Performance of Backend: time 8.51e-07/0.7907, allocations: 1.312 kB / 0.7184 GB, free: 84.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01305/0.8037, allocations: 4.099 MB / 0.7224 GB, free: 83.14 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004513/0.8083, allocations: 3.049 MB / 0.7254 GB, free: 81.42 MB / 0.5137 GB Notification: Performance of Templates: time 0.05851/0.8668, allocations: 34.87 MB / 0.7594 GB, free: 60.86 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)