Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 221.8 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 105.9 kB / 269.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06923/0.06923, allocations: 12.6 MB / 329.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2974/0.2974, allocations: 78.52 MB / 457.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 114.2 kB / 0.5254 GB, free: 19.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.16, allocations: 68.13 MB / 0.592 GB, free: 15.63 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008819/0.1689, allocations: 6.847 MB / 0.5987 GB, free: 8.742 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006139/0.1751, allocations: 1.979 MB / 0.6006 GB, free: 6.754 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/0.1771, allocations: 15.94 kB / 0.6006 GB, free: 6.738 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.1786, allocations: 182.8 kB / 0.6008 GB, free: 6.559 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004043/0.1827, allocations: 0.7022 MB / 0.6015 GB, free: 5.859 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.1847, allocations: 0.5994 MB / 0.6021 GB, free: 5.27 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002593/0.1873, allocations: 1.507 MB / 0.6035 GB, free: 3.758 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005098/0.1878, allocations: 293.2 kB / 0.6038 GB, free: 3.461 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008063/0.1886, allocations: 0.5948 MB / 0.6044 GB, free: 2.863 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008065/0.1894, allocations: 0.7815 MB / 0.6051 GB, free: 2.078 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.1896, allocations: 72 kB / 0.6052 GB, free: 2.008 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006843/0.1903, allocations: 203.9 kB / 0.6054 GB, free: 1.809 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003221/0.1906, allocations: 278.6 kB / 0.6057 GB, free: 1.535 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005218/0.1912, allocations: 0.6172 MB / 0.6063 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.1929, allocations: 1.588 MB / 0.6078 GB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1929, allocations: 4 kB / 0.6078 GB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1929, allocations: 3.984 kB / 0.6078 GB, free: 15.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.193, allocations: 0 / 0.6078 GB, free: 15.31 MB / 410.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.00922/0.2022, allocations: 2.688 MB / 0.6105 GB, free: 12.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.2023, allocations: 15.98 kB / 0.6105 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004659/0.2069, allocations: 0.771 MB / 0.6112 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.2085, allocations: 0.8902 MB / 0.6121 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002936/0.2088, allocations: 260.1 kB / 0.6123 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.209, allocations: 80 kB / 0.6124 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.2112, allocations: 1.086 MB / 0.6135 GB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.2112, allocations: 0 / 0.6135 GB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.993e-05/0.2113, allocations: 36 kB / 0.6135 GB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.2113, allocations: 16 kB / 0.6135 GB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.2133, allocations: 0.9877 MB / 0.6145 GB, free: 8.316 MB / 410.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.006672/0.22, allocations: 3.816 MB / 0.6182 GB, free: 4.324 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007401/0.2274, allocations: 2.365 MB / 0.6205 GB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.229, allocations: 0.6684 MB / 0.6212 GB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.2292, allocations: 24.98 kB / 0.6212 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/0.2308, allocations: 0.8099 MB / 0.622 GB, free: 352 kB / 410.7 MB Notification: Performance of pre-optimization done (n=95): time 3.727e-06/0.2308, allocations: 7.875 kB / 0.622 GB, free: 344 kB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.02915/0.26, allocations: 7.194 MB / 0.629 GB, free: 9.078 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/0.2601, allocations: 119.7 kB / 0.6292 GB, free: 8.938 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.2619, allocations: 1.099 MB / 0.6302 GB, free: 7.824 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002886/0.2622, allocations: 41.7 kB / 0.6303 GB, free: 7.777 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/0.2626, allocations: 0.489 MB / 0.6307 GB, free: 7.281 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003932/0.263, allocations: 347.1 kB / 0.6311 GB, free: 6.938 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004842/0.2635, allocations: 287.4 kB / 0.6313 GB, free: 6.652 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2636, allocations: 301.1 kB / 0.6316 GB, free: 6.355 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.2651, allocations: 0.7574 MB / 0.6324 GB, free: 5.598 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.2668, allocations: 0.9226 MB / 0.6333 GB, free: 4.633 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3089/0.5757, allocations: 5.546 MB / 0.6387 GB, free: 48.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/0.5758, allocations: 2 kB / 0.6387 GB, free: 48.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01564/0.5914, allocations: 4.359 MB / 0.6429 GB, free: 48.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.074e-05/0.5916, allocations: 59.59 kB / 0.643 GB, free: 48.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.5916, allocations: 3.594 kB / 0.643 GB, free: 48.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006393/0.598, allocations: 1.591 MB / 0.6446 GB, free: 47.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.5997, allocations: 280.3 kB / 0.6448 GB, free: 47.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02123/0.621, allocations: 7.848 MB / 0.6525 GB, free: 44.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.6231, allocations: 200.5 kB / 0.6527 GB, free: 44.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.6233, allocations: 60.09 kB / 0.6527 GB, free: 44.22 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006633/0.6239, allocations: 293.3 kB / 0.653 GB, free: 43.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.6242, allocations: 128.9 kB / 0.6531 GB, free: 43.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/0.6374, allocations: 3.863 MB / 0.6569 GB, free: 43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.6375, allocations: 17.47 kB / 0.6569 GB, free: 42.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-05/0.6375, allocations: 6.719 kB / 0.6569 GB, free: 42.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/0.6375, allocations: 4.891 kB / 0.6569 GB, free: 42.99 MB / 426.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.01448/0.652, allocations: 5.453 MB / 0.6623 GB, free: 40.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.6521, allocations: 3.906 kB / 0.6623 GB, free: 40.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/0.6527, allocations: 94.7 kB / 0.6624 GB, free: 40.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005126/0.6578, allocations: 1.605 MB / 0.6639 GB, free: 39.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/0.658, allocations: 20.67 kB / 0.664 GB, free: 39.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01687/0.6748, allocations: 8.792 MB / 0.6725 GB, free: 33.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6749, allocations: 4 kB / 0.6725 GB, free: 33.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08668/0.7616, allocations: 33.02 MB / 0.7048 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005462/0.7622, allocations: 223.3 kB / 0.705 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005132/0.7627, allocations: 16 kB / 0.705 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/0.7642, allocations: 107.9 kB / 0.7051 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008197/0.7651, allocations: 200.6 kB / 0.7053 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000188/0.7653, allocations: 27.69 kB / 0.7053 GB, free: 14.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00155/0.7668, allocations: 0.7407 MB / 0.7061 GB, free: 14.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.7668, allocations: 1.031 kB / 0.7061 GB, free: 14.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002887/0.7697, allocations: 0.6508 MB / 0.7067 GB, free: 13.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004005/0.7702, allocations: 127.2 kB / 0.7068 GB, free: 13.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007333/0.7775, allocations: 2.522 MB / 0.7093 GB, free: 10.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.7775, allocations: 4.25 kB / 0.7093 GB, free: 10.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004777/0.7823, allocations: 1.587 MB / 0.7108 GB, free: 9.254 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.7841, allocations: 112.6 kB / 0.7109 GB, free: 9.141 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.7948, allocations: 4.067 MB / 0.7149 GB, free: 5.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/0.7961, allocations: 1.156 MB / 0.716 GB, free: 3.832 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008421/0.797, allocations: 124 kB / 0.7162 GB, free: 3.707 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/0.7975, allocations: 79.41 kB / 0.7162 GB, free: 3.629 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7975, allocations: 4 kB / 0.7162 GB, free: 3.625 MB / 442.7 MB Notification: Performance of Templates: time 0.05729/0.8548, allocations: 31.78 MB / 0.7473 GB, free: 3.902 MB / 474.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)