Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 173.1 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 239.7 MB, free: 11.92 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009352/0.0009353, allocations: 100.9 kB / 290.5 MB, free: 11.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4537/0.4537, allocations: 78.42 MB / 419.6 MB, free: 9.828 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005286/0.0005287, allocations: 15.94 kB / 499.1 MB, free: 10.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2596, allocations: 68.75 MB / 0.5545 GB, free: 20.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI): time 0.005108/0.2648, allocations: 6.879 MB / 0.5612 GB, free: 13.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002823/0.2676, allocations: 2.091 MB / 0.5633 GB, free: 11.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004412/0.2681, allocations: 12 kB / 0.5633 GB, free: 11.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.2686, allocations: 186.8 kB / 0.5635 GB, free: 11.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.27, allocations: 0.7251 MB / 0.5642 GB, free: 10.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009781/0.271, allocations: 0.6299 MB / 0.5648 GB, free: 9.738 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.272, allocations: 1.542 MB / 0.5663 GB, free: 8.188 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.2723, allocations: 277.3 kB / 0.5666 GB, free: 7.906 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000524/0.2729, allocations: 0.5832 MB / 0.5671 GB, free: 7.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005728/0.2735, allocations: 0.7854 MB / 0.5679 GB, free: 6.531 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.2736, allocations: 64 kB / 0.5679 GB, free: 6.469 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.274, allocations: 187.9 kB / 0.5681 GB, free: 6.285 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.2742, allocations: 282.5 kB / 0.5684 GB, free: 6.008 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.2745, allocations: 0.6133 MB / 0.569 GB, free: 5.391 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007439/0.2753, allocations: 1.268 MB / 0.5702 GB, free: 4.121 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2753, allocations: 3.984 kB / 0.5702 GB, free: 4.117 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2753, allocations: 3.938 kB / 0.5702 GB, free: 4.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.2753, allocations: 4 kB / 0.5702 GB, free: 4.109 MB / 378.7 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.007363/0.2827, allocations: 2.494 MB / 0.5727 GB, free: 1.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.2827, allocations: 11.97 kB / 0.5727 GB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004781/0.2875, allocations: 0.7748 MB / 0.5734 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.289, allocations: 0.922 MB / 0.5744 GB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.2893, allocations: 226.5 kB / 0.5746 GB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.2895, allocations: 87.75 kB / 0.5746 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.2915, allocations: 1.115 MB / 0.5757 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.2916, allocations: 0 / 0.5757 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.991e-05/0.2917, allocations: 28 kB / 0.5758 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.2917, allocations: 20 kB / 0.5758 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.2937, allocations: 1.023 MB / 0.5768 GB, free: 13.25 MB / 394.7 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.006809/0.3005, allocations: 3.968 MB / 0.5807 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007043/0.3076, allocations: 2.375 MB / 0.583 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.3091, allocations: 0.7073 MB / 0.5837 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.3092, allocations: 20.98 kB / 0.5837 GB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3092, allocations: 39.56 kB / 0.5837 GB, free: 5.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=95): time 2.815e-06/0.3092, allocations: 0 / 0.5837 GB, free: 5.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=95): time 0.02543/0.3347, allocations: 6.763 MB / 0.5903 GB, free: 15.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.679e-05/0.3348, allocations: 141.5 kB / 0.5905 GB, free: 14.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/0.3365, allocations: 1.131 MB / 0.5916 GB, free: 13.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.3367, allocations: 45.7 kB / 0.5916 GB, free: 13.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.337, allocations: 0.493 MB / 0.5921 GB, free: 13.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.3374, allocations: 358.9 kB / 0.5924 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.3376, allocations: 141.6 kB / 0.5926 GB, free: 12.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.3377, allocations: 309.1 kB / 0.5929 GB, free: 12.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.3393, allocations: 0.7847 MB / 0.5936 GB, free: 11.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.341, allocations: 0.9702 MB / 0.5946 GB, free: 10.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0246/0.3656, allocations: 5.908 MB / 0.6004 GB, free: 4.574 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.3656, allocations: 0 / 0.6004 GB, free: 4.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01388/0.3795, allocations: 4.477 MB / 0.6047 GB, free: 68 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.3797, allocations: 230.8 kB / 0.6049 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.3797, allocations: 8 kB / 0.6049 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00609/0.3858, allocations: 1.67 MB / 0.6066 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.3872, allocations: 275.6 kB / 0.6068 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/0.4054, allocations: 7.944 MB / 0.6146 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.4073, allocations: 194.7 kB / 0.6148 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.4074, allocations: 59.97 kB / 0.6148 GB, free: 5.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.4074, allocations: 6.188 kB / 0.6149 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01306/0.4205, allocations: 4.32 MB / 0.6191 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.4205, allocations: 4 kB / 0.6191 GB, free: 1.152 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005941/0.4265, allocations: 1.664 MB / 0.6207 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.4279, allocations: 271.6 kB / 0.621 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/0.4459, allocations: 7.945 MB / 0.6287 GB, free: 7.125 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.4475, allocations: 175 kB / 0.6289 GB, free: 6.953 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.4476, allocations: 55.97 kB / 0.6289 GB, free: 6.898 MB / 442.7 MB 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.0006278/0.4483, allocations: 383.4 kB / 0.6293 GB, free: 6.508 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/0.4486, allocations: 134.3 kB / 0.6294 GB, free: 6.375 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/0.4601, allocations: 3.802 MB / 0.6331 GB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.4602, allocations: 8 kB / 0.6331 GB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.4602, allocations: 12 kB / 0.6332 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.4602, allocations: 7.969 kB / 0.6332 GB, free: 2.52 MB / 442.7 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 postOpt removeSimpleEquations (simulation): time 0.01364/0.4739, allocations: 5.496 MB / 0.6385 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.4739, allocations: 0 / 0.6385 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007157/0.4746, allocations: 119.8 kB / 0.6387 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00489/0.4795, allocations: 1.512 MB / 0.6401 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.4797, allocations: 23.98 kB / 0.6401 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/0.4947, allocations: 6.73 MB / 0.6467 GB, free: 4.375 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.4947, allocations: 7.938 kB / 0.6467 GB, free: 4.367 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/0.5083, allocations: 4.679 MB / 0.6513 GB, free: 15.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.5087, allocations: 231.1 kB / 0.6515 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.5089, allocations: 31.98 kB / 0.6515 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.5101, allocations: 99.88 kB / 0.6516 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005099/0.5106, allocations: 176.8 kB / 0.6518 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.089e-05/0.5107, allocations: 35.92 kB / 0.6518 GB, free: 15.07 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001054/0.5117, allocations: 0.7672 MB / 0.6526 GB, free: 14.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5117, allocations: 0 / 0.6526 GB, free: 14.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001887/0.5136, allocations: 0.7765 MB / 0.6534 GB, free: 13.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * 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,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002651/0.5139, allocations: 136.9 kB / 0.6535 GB, free: 13.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01137/0.5253, allocations: 4.543 MB / 0.6579 GB, free: 8.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/0.5253, allocations: 0 / 0.6579 GB, free: 8.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004048/0.5294, allocations: 1.464 MB / 0.6594 GB, free: 7.285 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.5305, allocations: 120.5 kB / 0.6595 GB, free: 7.164 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/0.5346, allocations: 2.935 MB / 0.6623 GB, free: 4.199 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006602/0.5353, allocations: 1.141 MB / 0.6634 GB, free: 3.031 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/0.5357, allocations: 87.34 kB / 0.6635 GB, free: 2.945 MB / 474.7 MB Notification: Performance of SimCode: time 1.993e-06/0.5357, allocations: 0 / 0.6635 GB, free: 2.945 MB / 474.7 MB Notification: Performance of Templates: time 0.244/0.7796, allocations: 22.47 MB / 0.6855 GB, free: 115.8 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)