Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001178/0.001178, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.219/1.219, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.000817/0.0008171, allocations: 103 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4244/0.4244, allocations: 78.03 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.368e-05/3.371e-05, allocations: 0 / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2803, allocations: 69.34 MB / 0.5479 GB, free: 20.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.3923, allocations: 99.2 MB / 0.6448 GB, free: 1.227 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.3926, allocations: 83.95 kB / 0.6449 GB, free: 1.145 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08635/0.479, allocations: 32.15 MB / 0.6763 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.479, allocations: 4 kB / 0.6763 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.662e-05/0.4791, allocations: 20 kB / 0.6763 GB, free: 0.7539 MB / 490.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.2641/0.7432, allocations: 1.721 MB / 0.678 GB, free: 103.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.7432, allocations: 15.59 kB / 0.678 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003793/0.747, allocations: 0.5632 MB / 0.6786 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.7487, allocations: 0.7893 MB / 0.6793 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/0.749, allocations: 270.3 kB / 0.6796 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.7492, allocations: 77.72 kB / 0.6797 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.7511, allocations: 0.9443 MB / 0.6806 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.7511, allocations: 3.656 kB / 0.6806 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-05/0.7512, allocations: 35.48 kB / 0.6806 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.7512, allocations: 18.84 kB / 0.6806 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.7529, allocations: 0.8481 MB / 0.6815 GB, free: 103.1 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.007122/0.76, allocations: 3.852 MB / 0.6852 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007368/0.7674, allocations: 2.681 MB / 0.6879 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009666/0.7684, allocations: 0.5536 MB / 0.6884 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.7686, allocations: 19.5 kB / 0.6884 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/0.7697, allocations: 0.6825 MB / 0.6891 GB, free: 101.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 4.538e-06/0.7697, allocations: 3.625 kB / 0.6891 GB, free: 101.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01164/0.7814, allocations: 4.04 MB / 0.693 GB, free: 101.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.7815, allocations: 117.5 kB / 0.6931 GB, free: 101 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.783, allocations: 0.9161 MB / 0.694 GB, free: 100.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002209/0.7832, allocations: 45.64 kB / 0.6941 GB, free: 100.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/0.7836, allocations: 0.5117 MB / 0.6946 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/0.784, allocations: 357 kB / 0.6949 GB, free: 99.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.7841, allocations: 19.78 kB / 0.6949 GB, free: 99.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.7842, allocations: 345.7 kB / 0.6953 GB, free: 99.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000791/0.785, allocations: 469.8 kB / 0.6957 GB, free: 99.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000812/0.7858, allocations: 0.5871 MB / 0.6963 GB, free: 98.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008402/0.7867, allocations: 0.5666 MB / 0.6968 GB, free: 98.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.7867, allocations: 3.953 kB / 0.6968 GB, free: 98.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01158/0.7983, allocations: 4.116 MB / 0.7009 GB, free: 97.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.7984, allocations: 61.06 kB / 0.7009 GB, free: 97.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.7984, allocations: 4 kB / 0.7009 GB, free: 97.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005162/0.8035, allocations: 1.542 MB / 0.7024 GB, free: 97.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.8048, allocations: 206.1 kB / 0.7026 GB, free: 97.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.8178, allocations: 6.727 MB / 0.7092 GB, free: 92.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.8198, allocations: 209.1 kB / 0.7094 GB, free: 92.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/0.8201, allocations: 39.77 kB / 0.7094 GB, free: 92.71 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * 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.0004343/0.8205, allocations: 192.2 kB / 0.7096 GB, free: 92.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003808/0.8209, allocations: 130.4 kB / 0.7097 GB, free: 92.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/0.8321, allocations: 4.173 MB / 0.7138 GB, free: 89.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.8321, allocations: 16 kB / 0.7138 GB, free: 89.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.8322, allocations: 8 kB / 0.7138 GB, free: 89.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.074e-05/0.8322, allocations: 7.125 kB / 0.7138 GB, free: 89.11 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01318/0.8454, allocations: 5.75 MB / 0.7195 GB, free: 84.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.8454, allocations: 3.938 kB / 0.7195 GB, free: 84.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006961/0.8461, allocations: 102.4 kB / 0.7196 GB, free: 84.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004407/0.8506, allocations: 1.499 MB / 0.721 GB, free: 83.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002078/0.8508, allocations: 23.19 kB / 0.7211 GB, free: 83.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/0.8629, allocations: 7.711 MB / 0.7286 GB, free: 75.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.863, allocations: 8.062 kB / 0.7286 GB, free: 75.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/0.8753, allocations: 4.91 MB / 0.7334 GB, free: 71.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005302/0.8759, allocations: 231.2 kB / 0.7336 GB, free: 71.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004751/0.8764, allocations: 20 kB / 0.7336 GB, free: 71.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/0.8779, allocations: 143.9 kB / 0.7338 GB, free: 70.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006249/0.8786, allocations: 188.7 kB / 0.7339 GB, free: 70.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.8787, allocations: 31.98 kB / 0.734 GB, free: 70.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009985/0.8797, allocations: 0.7136 MB / 0.7347 GB, free: 69.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.8797, allocations: 4 kB / 0.7347 GB, free: 69.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001496/0.8812, allocations: 452.7 kB / 0.7351 GB, free: 69.53 MB / 490.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 () * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003162/0.8816, allocations: 149.7 kB / 0.7352 GB, free: 69.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004713/0.8863, allocations: 2.114 MB / 0.7373 GB, free: 67.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.8863, allocations: 0.75 kB / 0.7373 GB, free: 67.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003736/0.8901, allocations: 1.609 MB / 0.7389 GB, free: 65.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009759/0.8911, allocations: 101.9 kB / 0.739 GB, free: 65.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.8944, allocations: 1.83 MB / 0.7408 GB, free: 63.67 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.8949, allocations: 1.151 MB / 0.7419 GB, free: 62.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004642/0.8954, allocations: 94.69 kB / 0.742 GB, free: 62.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.8957, allocations: 71.42 kB / 0.742 GB, free: 62.32 MB / 490.7 MB Notification: Performance of SimCode: time 6.62e-07/0.8957, allocations: 0 / 0.742 GB, free: 62.32 MB / 490.7 MB Notification: Performance of Templates: time 0.02776/0.9235, allocations: 20.93 MB / 0.7625 GB, free: 41.62 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)