Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009436/0.0009436, allocations: 175.3 kB / 15.78 MB, free: 6.348 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.469/1.469, allocations: 223.2 MB / 239.8 MB, free: 15.99 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.0007938/0.0007938, allocations: 101.8 kB / 290.9 MB, free: 4.629 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5272/0.5272, allocations: 78.61 MB / 420.7 MB, free: 36.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 8 kB / 0.4888 GB, free: 7.242 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1513, allocations: 69.37 MB / 0.5565 GB, free: 1.809 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.009101/0.1605, allocations: 6.079 MB / 0.5625 GB, free: 11.7 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005231/0.1658, allocations: 1.932 MB / 0.5644 GB, free: 9.766 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.1668, allocations: 12 kB / 0.5644 GB, free: 9.754 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008667/0.1677, allocations: 170.7 kB / 0.5645 GB, free: 9.586 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.1704, allocations: 0.6606 MB / 0.5652 GB, free: 8.922 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.1723, allocations: 0.5327 MB / 0.5657 GB, free: 8.395 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002605/0.1749, allocations: 1.46 MB / 0.5671 GB, free: 6.93 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006296/0.1755, allocations: 261.8 kB / 0.5674 GB, free: 6.66 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.1767, allocations: 0.5794 MB / 0.5679 GB, free: 6.078 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.178, allocations: 0.7506 MB / 0.5687 GB, free: 5.324 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.1782, allocations: 60 kB / 0.5687 GB, free: 5.266 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006768/0.1789, allocations: 191.8 kB / 0.5689 GB, free: 5.078 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003338/0.1792, allocations: 262.8 kB / 0.5692 GB, free: 4.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003623/0.1796, allocations: 237 kB / 0.5694 GB, free: 4.582 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.1814, allocations: 1.262 MB / 0.5706 GB, free: 3.316 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.1814, allocations: 4 kB / 0.5706 GB, free: 3.312 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1814, allocations: 0 / 0.5706 GB, free: 3.312 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.328e-05/0.1815, allocations: 0 / 0.5706 GB, free: 3.312 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.01349/0.195, allocations: 2.568 MB / 0.5731 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.195, allocations: 12.03 kB / 0.5731 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3013/0.4963, allocations: 0.7776 MB / 0.5739 GB, free: 44.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.4984, allocations: 0.8714 MB / 0.5748 GB, free: 44.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.4987, allocations: 272.3 kB / 0.575 GB, free: 43.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.4989, allocations: 83.84 kB / 0.5751 GB, free: 43.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.5011, allocations: 1.153 MB / 0.5762 GB, free: 43.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.5011, allocations: 0 / 0.5762 GB, free: 43.87 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.92e-05/0.5013, allocations: 29.88 kB / 0.5762 GB, free: 43.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.5013, allocations: 24.52 kB / 0.5763 GB, free: 43.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.5033, allocations: 1.054 MB / 0.5773 GB, free: 43.86 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 preOpt removeSimpleEquations (simulation): time 0.006587/0.5099, allocations: 3.957 MB / 0.5812 GB, free: 42.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008459/0.5183, allocations: 2.927 MB / 0.584 GB, free: 42.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.5201, allocations: 0.7525 MB / 0.5848 GB, free: 42.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.967e-05/0.5202, allocations: 18.14 kB / 0.5848 GB, free: 42.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001741/0.5219, allocations: 0.8871 MB / 0.5856 GB, free: 42.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 3.106e-06/0.5219, allocations: 0 / 0.5856 GB, free: 42.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.0333/0.5553, allocations: 8.795 MB / 0.5942 GB, free: 41.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.5553, allocations: 114 kB / 0.5943 GB, free: 41.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.5569, allocations: 1.12 MB / 0.5954 GB, free: 40.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002211/0.5571, allocations: 44.73 kB / 0.5955 GB, free: 40.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.5575, allocations: 0.4929 MB / 0.596 GB, free: 40.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.5578, allocations: 364.9 kB / 0.5963 GB, free: 40.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.325e-05/0.5579, allocations: 30.72 kB / 0.5963 GB, free: 40.22 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.578e-05/0.558, allocations: 360.6 kB / 0.5967 GB, free: 39.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.5595, allocations: 0.8407 MB / 0.5975 GB, free: 39.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.5612, allocations: 1.017 MB / 0.5985 GB, free: 39.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.563, allocations: 0.9714 MB / 0.5994 GB, free: 38.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.563, allocations: 2.875 kB / 0.5994 GB, free: 38.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01422/0.5773, allocations: 5.204 MB / 0.6045 GB, free: 37.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.604e-05/0.5774, allocations: 62.22 kB / 0.6046 GB, free: 37.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.5774, allocations: 7.062 kB / 0.6046 GB, free: 37.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006258/0.5837, allocations: 1.923 MB / 0.6065 GB, free: 37.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.5854, allocations: 316.5 kB / 0.6068 GB, free: 37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/0.6061, allocations: 8.966 MB / 0.6155 GB, free: 33.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.6084, allocations: 243.7 kB / 0.6158 GB, free: 33.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.6086, allocations: 56.22 kB / 0.6158 GB, free: 33.09 MB / 442.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006887/0.6093, allocations: 307.9 kB / 0.6161 GB, free: 32.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.6096, allocations: 128.2 kB / 0.6162 GB, free: 32.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/0.6247, allocations: 4.744 MB / 0.6209 GB, free: 31.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.6248, allocations: 15.22 kB / 0.6209 GB, free: 31.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/0.6248, allocations: 7.312 kB / 0.6209 GB, free: 31.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.435e-05/0.6249, allocations: 4.781 kB / 0.6209 GB, free: 31.73 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.01776/0.6426, allocations: 6.352 MB / 0.6271 GB, free: 29.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.6427, allocations: 4.031 kB / 0.6271 GB, free: 29.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008134/0.6435, allocations: 106.9 kB / 0.6272 GB, free: 29.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00566/0.6492, allocations: 1.875 MB / 0.629 GB, free: 29.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001974/0.6494, allocations: 19.88 kB / 0.629 GB, free: 29.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01783/0.6672, allocations: 9.699 MB / 0.6385 GB, free: 20.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6673, allocations: 0 / 0.6385 GB, free: 20.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/0.6818, allocations: 5.678 MB / 0.6441 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006595/0.6825, allocations: 223.3 kB / 0.6443 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.6827, allocations: 20 kB / 0.6443 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.6839, allocations: 152.9 kB / 0.6444 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000526/0.6845, allocations: 196.5 kB / 0.6446 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.246e-05/0.6846, allocations: 28 kB / 0.6447 GB, free: 13.99 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009752/0.6855, allocations: 0.7476 MB / 0.6454 GB, free: 13.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6856, allocations: 3.938 kB / 0.6454 GB, free: 13.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001459/0.687, allocations: 486 kB / 0.6458 GB, free: 12.76 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000269/0.6873, allocations: 133.9 kB / 0.646 GB, free: 12.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006034/0.6933, allocations: 2.848 MB / 0.6488 GB, free: 9.754 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6934, allocations: 1.219 kB / 0.6488 GB, free: 9.754 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003984/0.6974, allocations: 1.799 MB / 0.6505 GB, free: 7.918 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.6984, allocations: 114 kB / 0.6506 GB, free: 7.805 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.702, allocations: 2.813 MB / 0.6534 GB, free: 5.016 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.7024, allocations: 1.133 MB / 0.6545 GB, free: 3.852 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.7027, allocations: 79.42 kB / 0.6546 GB, free: 3.773 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.7027, allocations: 0 / 0.6546 GB, free: 3.773 MB / 442.7 MB Notification: Performance of Templates: time 0.02863/0.7314, allocations: 23.87 MB / 0.6779 GB, free: 12.01 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)