Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001764/0.001764, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.26/1.26, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008035/0.0008035, allocations: 78.83 kB / 266.6 MB, free: 9.27 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.06754/0.06754, allocations: 12.59 MB / 327.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2841/0.2841, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.881e-05/2.884e-05, allocations: 7.984 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.09723, allocations: 69.33 MB / 0.5895 GB, free: 2.492 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3532/0.4505, allocations: 103.8 MB / 0.6908 GB, free: 11.77 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.4507, allocations: 77.7 kB / 0.6909 GB, free: 11.73 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2523/0.7031, allocations: 96.96 MB / 0.7856 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7031, allocations: 0 / 0.7856 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002681/0.7034, allocations: 91.88 kB / 0.7857 GB, free: 4.965 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01796/0.7213, allocations: 5.751 MB / 0.7913 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.7214, allocations: 11.98 kB / 0.7913 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01781/0.7392, allocations: 2.791 MB / 0.794 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005205/0.7444, allocations: 2.267 MB / 0.7962 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/0.7455, allocations: 0.9886 MB / 0.7972 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009483/0.7464, allocations: 340 kB / 0.7975 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008274/0.7547, allocations: 4.08 MB / 0.8015 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.894e-05/0.7548, allocations: 0 / 0.8015 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004539/0.7553, allocations: 140 kB / 0.8016 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-05/0.7553, allocations: 87.95 kB / 0.8017 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007255/0.7626, allocations: 3.617 MB / 0.8052 GB, free: 0.5703 MB / 0.5261 GB 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.03652/0.7991, allocations: 18.57 MB / 0.8234 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.8104, allocations: 4.809 MB / 0.8281 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0039/0.8143, allocations: 2.217 MB / 0.8302 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005162/0.8149, allocations: 74.91 kB / 0.8303 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004691/0.8196, allocations: 2.601 MB / 0.8328 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=383): time 6.062e-06/0.8196, allocations: 4 kB / 0.8329 GB, free: 2.969 MB / 0.5573 GB Notification: Performance of matching and sorting (n=383): time 0.05304/0.8726, allocations: 17.57 MB / 0.85 GB, free: 1.336 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.468e-05/0.8728, allocations: 141.8 kB / 0.8501 GB, free: 1.172 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/0.877, allocations: 2.638 MB / 0.8527 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0007685/0.8778, allocations: 89.64 kB / 0.8528 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001506/0.8793, allocations: 2.002 MB / 0.8548 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001587/0.8809, allocations: 1.313 MB / 0.856 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003218/0.8813, allocations: 68 kB / 0.8561 GB, free: 11 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002347/0.8815, allocations: 445.8 kB / 0.8565 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003484/0.885, allocations: 1.831 MB / 0.8583 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004076/0.8891, allocations: 2.418 MB / 0.8607 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003807/0.8929, allocations: 2.095 MB / 0.8627 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.8929, allocations: 4 kB / 0.8627 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.3067/1.2, allocations: 17.74 MB / 0.8801 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.17e-05/1.2, allocations: 62.44 kB / 0.8801 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/1.2, allocations: 17 kB / 0.8801 GB, free: 130.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0235/1.223, allocations: 6.971 MB / 0.8869 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002859/1.226, allocations: 0.5606 MB / 0.8875 GB, free: 130.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05492/1.281, allocations: 25.74 MB / 0.9126 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005386/1.287, allocations: 0.7113 MB / 0.9133 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005043/1.287, allocations: 130.7 kB / 0.9134 GB, free: 128.5 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (331): * Single equations (assignments): 328 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008362/1.288, allocations: 339.2 kB / 0.9138 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009726/1.289, allocations: 457.6 kB / 0.9142 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04925/1.338, allocations: 18.12 MB / 0.9319 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.14e-05/1.338, allocations: 36.91 kB / 0.9319 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.764e-05/1.338, allocations: 26.5 kB / 0.932 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-05/1.338, allocations: 28.47 kB / 0.932 GB, free: 126.3 MB / 0.5886 GB 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.05498/1.393, allocations: 23.07 MB / 0.9545 GB, free: 119.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/1.393, allocations: 0 / 0.9545 GB, free: 119.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002198/1.396, allocations: 391.2 kB / 0.9549 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02104/1.417, allocations: 7.038 MB / 0.9618 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007669/1.417, allocations: 71.67 kB / 0.9618 GB, free: 113.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05026/1.468, allocations: 24.51 MB / 0.9858 GB, free: 91.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.468, allocations: 10.94 kB / 0.9858 GB, free: 91.81 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05436/1.522, allocations: 20.94 MB / 1.006 GB, free: 74.68 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/1.523, allocations: 0.56 MB / 1.007 GB, free: 74.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009129/1.524, allocations: 64 kB / 1.007 GB, free: 74.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004416/1.529, allocations: 0.495 MB / 1.007 GB, free: 73.73 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002877/1.532, allocations: 0.7782 MB / 1.008 GB, free: 73.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004097/1.532, allocations: 91.42 kB / 1.008 GB, free: 73.22 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002663/1.535, allocations: 2.008 MB / 1.01 GB, free: 71.36 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.61e-07/1.535, allocations: 0 / 1.01 GB, free: 71.36 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00476/1.54, allocations: 1.756 MB / 1.012 GB, free: 69.68 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006231/1.54, allocations: 215.5 kB / 1.012 GB, free: 69.49 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01948/1.56, allocations: 8.224 MB / 1.02 GB, free: 62.02 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.56, allocations: 4.062 kB / 1.02 GB, free: 62.02 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01612/1.576, allocations: 6.115 MB / 1.026 GB, free: 56.59 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/1.578, allocations: 302.1 kB / 1.026 GB, free: 56.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/1.589, allocations: 5.886 MB / 1.032 GB, free: 50.93 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/1.59, allocations: 2.539 MB / 1.035 GB, free: 49.03 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001495/1.592, allocations: 297.1 kB / 1.035 GB, free: 48.83 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007827/1.593, allocations: 196.7 kB / 1.035 GB, free: 48.65 MB / 0.5886 GB Notification: Performance of SimCode: time 7.01e-07/1.593, allocations: 3.938 kB / 1.035 GB, free: 48.65 MB / 0.5886 GB Notification: Performance of Templates: time 0.3624/1.955, allocations: 77.98 MB / 1.111 GB, free: 141 MB / 0.6042 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)