Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.009187/0.009187, allocations: 170.1 kB / 15.11 MB, free: 5.969 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.388/1.388, allocations: 205.4 MB / 221.3 MB, free: 13.81 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: 94.84 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06713/0.06713, allocations: 12.6 MB / 330.5 MB, free: 10.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4282/0.4282, allocations: 78.51 MB / 460 MB, free: 3.457 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005146/0.0005146, allocations: 21.59 kB / 0.5285 GB, free: 35.06 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1397, allocations: 69.33 MB / 0.5962 GB, free: 3.789 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4206/0.5604, allocations: 103.1 MB / 0.6969 GB, free: 36.39 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.5607, allocations: 81.56 kB / 0.6969 GB, free: 36.39 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2145/0.7751, allocations: 97.15 MB / 0.7918 GB, free: 2.855 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.7752, allocations: 0 / 0.7918 GB, free: 2.855 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002121/0.7754, allocations: 87.94 kB / 0.7919 GB, free: 2.77 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01983/0.7953, allocations: 6.545 MB / 0.7983 GB, free: 12.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.7953, allocations: 19.91 kB / 0.7983 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01774/0.8131, allocations: 2.804 MB / 0.801 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007028/0.8201, allocations: 2.265 MB / 0.8033 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009994/0.8212, allocations: 0.9902 MB / 0.8042 GB, free: 7.281 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008252/0.822, allocations: 343.1 kB / 0.8046 GB, free: 7.059 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009817/0.8319, allocations: 4.929 MB / 0.8094 GB, free: 2.191 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.707e-05/0.8319, allocations: 0 / 0.8094 GB, free: 2.191 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004325/0.8324, allocations: 151.8 kB / 0.8095 GB, free: 2.043 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-05/0.8324, allocations: 84 kB / 0.8096 GB, free: 1.961 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008604/0.8411, allocations: 4.482 MB / 0.814 GB, free: 13.47 MB / 0.4948 GB 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.03173/0.8728, allocations: 18.59 MB / 0.8321 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.885, allocations: 5.658 MB / 0.8376 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008491/0.8859, allocations: 74.89 kB / 0.8377 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00755/0.8934, allocations: 3.418 MB / 0.8411 GB, free: 432 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=382): time 7.594e-06/0.8935, allocations: 0 / 0.8411 GB, free: 432 kB / 0.5105 GB Notification: Performance of matching and sorting (n=382): time 0.3049/1.198, allocations: 78.4 MB / 0.9176 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.199, allocations: 145.8 kB / 0.9178 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3466/1.545, allocations: 2.711 MB / 0.9204 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001272/1.547, allocations: 89.25 kB / 0.9205 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001504/1.548, allocations: 2.006 MB / 0.9224 GB, free: 136.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001998/1.55, allocations: 1.303 MB / 0.9237 GB, free: 136 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003149/1.55, allocations: 70.5 kB / 0.9238 GB, free: 136 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001837/1.551, allocations: 438.4 kB / 0.9242 GB, free: 135.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005164/1.556, allocations: 2.661 MB / 0.9268 GB, free: 135.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00591/1.562, allocations: 3.228 MB / 0.93 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005611/1.567, allocations: 2.911 MB / 0.9328 GB, free: 135 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-05/1.567, allocations: 3.594 kB / 0.9328 GB, free: 135 MB / 0.5886 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05559/1.623, allocations: 20.17 MB / 0.9525 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/1.623, allocations: 66.2 kB / 0.9526 GB, free: 134.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.675e-05/1.623, allocations: 17.84 kB / 0.9526 GB, free: 134.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0266/1.65, allocations: 8.56 MB / 0.9609 GB, free: 134.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003254/1.653, allocations: 0.5545 MB / 0.9615 GB, free: 134.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09006/1.743, allocations: 37.09 MB / 0.9977 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006378/1.75, allocations: 0.705 MB / 0.9984 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.751, allocations: 136.6 kB / 0.9985 GB, free: 124.2 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (329): * Single equations (assignments): 326 * 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.003407/1.754, allocations: 0.643 MB / 0.9991 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001767/1.756, allocations: 462.3 kB / 0.9996 GB, free: 123.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05483/1.811, allocations: 20.55 MB / 1.02 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-05/1.811, allocations: 36 kB / 1.02 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001128/1.811, allocations: 28 kB / 1.02 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001358/1.811, allocations: 22.19 kB / 1.02 GB, free: 107.3 MB / 0.5886 GB 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.06331/1.874, allocations: 25.5 MB / 1.045 GB, free: 87.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-05/1.874, allocations: 0 / 1.045 GB, free: 87.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/1.877, allocations: 389.9 kB / 1.045 GB, free: 87.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02462/1.902, allocations: 8.616 MB / 1.053 GB, free: 81.02 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001206/1.903, allocations: 74.81 kB / 1.053 GB, free: 80.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07808/1.981, allocations: 34.32 MB / 1.087 GB, free: 50.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.981, allocations: 4 kB / 1.087 GB, free: 50.88 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06224/2.043, allocations: 24.19 MB / 1.111 GB, free: 26.61 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/2.045, allocations: 0.5532 MB / 1.111 GB, free: 26.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001939/2.047, allocations: 70.55 kB / 1.111 GB, free: 25.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00552/2.053, allocations: 495.6 kB / 1.112 GB, free: 25.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003558/2.056, allocations: 0.7802 MB / 1.112 GB, free: 24.69 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007637/2.057, allocations: 95.98 kB / 1.113 GB, free: 24.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00417/2.061, allocations: 2.074 MB / 1.115 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.1e-07/2.061, allocations: 4 kB / 1.115 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007468/2.069, allocations: 1.756 MB / 1.116 GB, free: 20.76 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.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 (246): * Single equations (assignments): 243 * 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.0009998/2.07, allocations: 208.8 kB / 1.117 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02328/2.093, allocations: 9.944 MB / 1.126 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/2.093, allocations: 448 / 1.126 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01813/2.111, allocations: 7.024 MB / 1.133 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/2.115, allocations: 310.8 kB / 1.133 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/2.134, allocations: 9.572 MB / 1.143 GB, free: 9.562 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003116/2.137, allocations: 2.536 MB / 1.145 GB, free: 6.988 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002165/2.14, allocations: 296.8 kB / 1.145 GB, free: 6.707 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/2.141, allocations: 199.4 kB / 1.146 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of SimCode: time 1.192e-06/2.141, allocations: 0 / 1.146 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of Templates: time 0.4238/2.565, allocations: 78.26 MB / 1.222 GB, free: 142.8 MB / 0.6042 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)