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.0008265/0.0008266, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.3 MB / 240 MB, free: 5.395 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.001222/0.001222, allocations: 172.5 kB / 291.3 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5168/0.5168, allocations: 91.92 MB / 434.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003836, allocations: 12 kB / 0.5054 GB, free: 7.211 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.383, allocations: 72.47 MB / 0.5762 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI): time 0.005142/0.3881, allocations: 6.433 MB / 0.5825 GB, free: 32.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003763/0.3919, allocations: 2.073 MB / 0.5845 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006035/0.3926, allocations: 13.59 kB / 0.5845 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006043/0.3932, allocations: 191.2 kB / 0.5847 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.3949, allocations: 0.7257 MB / 0.5854 GB, free: 30.33 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.3961, allocations: 0.6083 MB / 0.586 GB, free: 30.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.3974, allocations: 1.547 MB / 0.5875 GB, free: 29.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004004/0.3978, allocations: 285.5 kB / 0.5878 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006475/0.3984, allocations: 0.5811 MB / 0.5883 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007553/0.3992, allocations: 0.7848 MB / 0.5891 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.3994, allocations: 62.31 kB / 0.5892 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004162/0.3998, allocations: 194.9 kB / 0.5893 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.4, allocations: 277.4 kB / 0.5896 GB, free: 28.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004571/0.4005, allocations: 0.6375 MB / 0.5902 GB, free: 27.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009978/0.4015, allocations: 1.269 MB / 0.5915 GB, free: 27.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4015, allocations: 1.25 kB / 0.5915 GB, free: 27.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4015, allocations: 0 / 0.5915 GB, free: 27.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.4015, allocations: 0 / 0.5915 GB, free: 27.57 MB / 430.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.008665/0.4102, allocations: 2.568 MB / 0.594 GB, free: 26.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.4103, allocations: 7.75 kB / 0.594 GB, free: 26.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005221/0.4155, allocations: 0.7875 MB / 0.5948 GB, free: 26.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.4172, allocations: 0.9262 MB / 0.5957 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.4175, allocations: 242.6 kB / 0.5959 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.4177, allocations: 82.72 kB / 0.596 GB, free: 25.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.4201, allocations: 1.185 MB / 0.5971 GB, free: 25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.4202, allocations: 0 / 0.5971 GB, free: 25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.4203, allocations: 30.12 kB / 0.5972 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.4203, allocations: 22.66 kB / 0.5972 GB, free: 24.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.4226, allocations: 1.089 MB / 0.5982 GB, free: 24.62 MB / 430.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.007507/0.4301, allocations: 4.037 MB / 0.6022 GB, free: 22.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008967/0.4391, allocations: 2.925 MB / 0.605 GB, free: 21.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/0.4411, allocations: 0.7703 MB / 0.6058 GB, free: 21.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.4412, allocations: 20.91 kB / 0.6058 GB, free: 21.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.4412, allocations: 44.16 kB / 0.6059 GB, free: 21.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 3.927e-06/0.4412, allocations: 0 / 0.6059 GB, free: 21.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.03263/0.4739, allocations: 8.295 MB / 0.614 GB, free: 19.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.474, allocations: 141 kB / 0.6141 GB, free: 19.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/0.476, allocations: 1.13 MB / 0.6152 GB, free: 19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002799/0.4763, allocations: 51.62 kB / 0.6152 GB, free: 18.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.4767, allocations: 0.4958 MB / 0.6157 GB, free: 18.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000377/0.4771, allocations: 353.5 kB / 0.6161 GB, free: 18.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.4773, allocations: 143.4 kB / 0.6162 GB, free: 18.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.188e-05/0.4774, allocations: 302.9 kB / 0.6165 GB, free: 17.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.4792, allocations: 0.8542 MB / 0.6173 GB, free: 17.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/0.481, allocations: 1.039 MB / 0.6183 GB, free: 17.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02518/0.5062, allocations: 6.366 MB / 0.6246 GB, free: 11.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.5063, allocations: 4 kB / 0.6246 GB, free: 11.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01423/0.5205, allocations: 5.324 MB / 0.6298 GB, free: 6.172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.5207, allocations: 234.8 kB / 0.63 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.5207, allocations: 4 kB / 0.63 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006485/0.5272, allocations: 1.943 MB / 0.6319 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.5288, allocations: 279.6 kB / 0.6322 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0215/0.5503, allocations: 8.952 MB / 0.6409 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.5527, allocations: 234.7 kB / 0.6411 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003003/0.553, allocations: 51.98 kB / 0.6412 GB, free: 10.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.553, allocations: 7.938 kB / 0.6412 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01597/0.569, allocations: 5.16 MB / 0.6462 GB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.5691, allocations: 4 kB / 0.6462 GB, free: 5.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007057/0.5762, allocations: 1.945 MB / 0.6481 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.5777, allocations: 271.6 kB / 0.6484 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02205/0.5998, allocations: 8.949 MB / 0.6571 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.602, allocations: 210.9 kB / 0.6573 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002772/0.6023, allocations: 55.97 kB / 0.6574 GB, free: 9.516 MB / 462.1 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.0009562/0.6032, allocations: 384.2 kB / 0.6577 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004469/0.6037, allocations: 134.3 kB / 0.6579 GB, free: 9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/0.6178, allocations: 4.65 MB / 0.6624 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.6179, allocations: 8 kB / 0.6624 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/0.6179, allocations: 8 kB / 0.6624 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.084e-05/0.618, allocations: 3.984 kB / 0.6624 GB, free: 4.305 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 postOpt removeSimpleEquations (simulation): time 0.01747/0.6354, allocations: 6.347 MB / 0.6686 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/0.6355, allocations: 0 / 0.6686 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009719/0.6365, allocations: 123.8 kB / 0.6687 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006115/0.6426, allocations: 1.794 MB / 0.6705 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003521/0.643, allocations: 24 kB / 0.6705 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01841/0.6615, allocations: 7.61 MB / 0.678 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6615, allocations: 0 / 0.678 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01651/0.678, allocations: 5.595 MB / 0.6834 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006391/0.6787, allocations: 235.1 kB / 0.6836 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004726/0.6792, allocations: 20 kB / 0.6837 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/0.6808, allocations: 139.9 kB / 0.6838 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006458/0.6815, allocations: 180.7 kB / 0.684 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.6816, allocations: 27.98 kB / 0.684 GB, free: 13.92 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001351/0.683, allocations: 0.7672 MB / 0.6847 GB, free: 13.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.683, allocations: 0 / 0.6847 GB, free: 13.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002813/0.6858, allocations: 0.7842 MB / 0.6855 GB, free: 12.36 MB / 494.1 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.000331/0.6862, allocations: 139.1 kB / 0.6856 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01335/0.6995, allocations: 5.048 MB / 0.6906 GB, free: 7.094 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.6996, allocations: 4.125 kB / 0.6906 GB, free: 7.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004786/0.7044, allocations: 1.694 MB / 0.6922 GB, free: 5.371 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.7058, allocations: 124.5 kB / 0.6923 GB, free: 5.246 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00506/0.7109, allocations: 3.038 MB / 0.6953 GB, free: 2.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000768/0.7117, allocations: 1.149 MB / 0.6964 GB, free: 1.004 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.7121, allocations: 79.42 kB / 0.6965 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7121, allocations: 0 / 0.6965 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of Templates: time 0.03213/0.7443, allocations: 22.48 MB / 0.7185 GB, free: 10.45 MB / 0.5137 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)