Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.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.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 221.5 MB / 229.6 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007851/0.0007851, allocations: 86.48 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4569/0.4569, allocations: 78.06 MB / 409.3 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.561e-05/1.572e-05, allocations: 0 / 484.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.134, allocations: 69.38 MB / 0.5413 GB, free: 6.805 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4131/0.5472, allocations: 101.5 MB / 0.6404 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.5474, allocations: 76.98 kB / 0.6404 GB, free: 14.01 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2479/0.7954, allocations: 98.28 MB / 0.7364 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7954, allocations: 0 / 0.7364 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002418/0.7957, allocations: 84 kB / 0.7365 GB, free: 11.25 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.01811/0.8138, allocations: 5.77 MB / 0.7421 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.8138, allocations: 12.03 kB / 0.7421 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01805/0.8319, allocations: 2.772 MB / 0.7449 GB, free: 2.609 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006099/0.838, allocations: 2.279 MB / 0.7471 GB, free: 260 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001005/0.8391, allocations: 0.8384 MB / 0.7479 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/0.8403, allocations: 207.9 kB / 0.7481 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007407/0.8477, allocations: 3.443 MB / 0.7515 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006782/0.8545, allocations: 3.594 MB / 0.755 GB, free: 8.012 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.71e-05/0.8546, allocations: 9.016 kB / 0.755 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003243/0.855, allocations: 2.312 kB / 0.755 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.225e-05/0.855, allocations: 84 kB / 0.7551 GB, free: 7.922 MB / 0.5573 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.3449/1.2, allocations: 18.16 MB / 0.7728 GB, free: 85.87 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009566/1.209, allocations: 4.659 MB / 0.7773 GB, free: 85.43 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003509/1.213, allocations: 2.123 MB / 0.7794 GB, free: 85.41 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004738/1.214, allocations: 73.53 kB / 0.7795 GB, free: 85.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/1.214, allocations: 69.92 kB / 0.7796 GB, free: 85.36 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=381): time 6.211e-06/1.214, allocations: 0 / 0.7796 GB, free: 85.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=381): time 0.05124/1.265, allocations: 17.18 MB / 0.7963 GB, free: 84.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/1.265, allocations: 169 kB / 0.7965 GB, free: 84.68 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00433/1.269, allocations: 2.465 MB / 0.7989 GB, free: 84.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009762/1.27, allocations: 28.42 kB / 0.7989 GB, free: 84.37 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/1.272, allocations: 2.01 MB / 0.8009 GB, free: 83.95 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001916/1.274, allocations: 1.249 MB / 0.8021 GB, free: 83.28 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/1.274, allocations: 4 kB / 0.8021 GB, free: 83.28 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002081/1.274, allocations: 442.2 kB / 0.8025 GB, free: 82.97 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002896/1.277, allocations: 1.76 MB / 0.8043 GB, free: 82.96 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003297/1.28, allocations: 2.318 MB / 0.8065 GB, free: 82.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003366/1.284, allocations: 1.961 MB / 0.8084 GB, free: 82.33 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/1.284, allocations: 4.219 kB / 0.8084 GB, free: 82.33 MB / 0.5573 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.05183/1.336, allocations: 17.27 MB / 0.8253 GB, free: 81.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001162/1.337, allocations: 6.673 MB / 0.8318 GB, free: 74.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.912e-05/1.337, allocations: 12.81 kB / 0.8318 GB, free: 74.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02226/1.359, allocations: 6.821 MB / 0.8385 GB, free: 73.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003067/1.362, allocations: 0.5605 MB / 0.839 GB, free: 73.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05076/1.413, allocations: 24.92 MB / 0.8634 GB, free: 64.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006286/1.419, allocations: 0.6247 MB / 0.864 GB, free: 64.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001219/1.421, allocations: 138 kB / 0.8641 GB, free: 64.81 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.421, allocations: 3.75 kB / 0.8641 GB, free: 64.81 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04667/1.467, allocations: 16.78 MB / 0.8805 GB, free: 61.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.068e-05/1.467, allocations: 17.03 kB / 0.8805 GB, free: 61.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02029/1.488, allocations: 6.819 MB / 0.8872 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/1.491, allocations: 0.5549 MB / 0.8877 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05058/1.541, allocations: 24.91 MB / 0.912 GB, free: 33.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005812/1.547, allocations: 0.5888 MB / 0.9126 GB, free: 33.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004765/1.548, allocations: 128.3 kB / 0.9127 GB, free: 33.13 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 order5.e1q:VARIABLE(start = order5.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 323 * 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 {92 43} Notification: Performance of prepare postOptimizeDAE: time 0.0009873/1.549, allocations: 215.3 kB / 0.9129 GB, free: 32.95 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009156/1.55, allocations: 458.3 kB / 0.9134 GB, free: 32.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04622/1.596, allocations: 17.62 MB / 0.9306 GB, free: 18.91 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.547e-05/1.596, allocations: 40 kB / 0.9306 GB, free: 18.87 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.776e-05/1.596, allocations: 28.56 kB / 0.9306 GB, free: 18.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001186/1.596, allocations: 23.17 kB / 0.9307 GB, free: 18.84 MB / 0.5573 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.05516/1.651, allocations: 22.56 MB / 0.9527 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/1.651, allocations: 0 / 0.9527 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/1.654, allocations: 409.6 kB / 0.9531 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03202/1.686, allocations: 7.758 MB / 0.9607 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001037/1.687, allocations: 19.98 kB / 0.9607 GB, free: 13.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05101/1.738, allocations: 22.28 MB / 0.9824 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/1.738, allocations: 4 kB / 0.9824 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3388/2.077, allocations: 20.49 MB / 1.002 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/2.079, allocations: 0.5537 MB / 1.003 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/2.08, allocations: 7.953 kB / 1.003 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004375/2.084, allocations: 434.4 kB / 1.003 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0024/2.086, allocations: 0.7636 MB / 1.004 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002923/2.087, allocations: 99.67 kB / 1.004 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002484/2.089, allocations: 1.822 MB / 1.006 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/2.089, allocations: 2.719 kB / 1.006 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01053/2.1, allocations: 2.616 MB / 1.009 GB, free: 109.1 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 249 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008862/2.101, allocations: 155.8 kB / 1.009 GB, free: 109 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03884/2.14, allocations: 13.99 MB / 1.022 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/2.14, allocations: 1.219 kB / 1.022 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0191/2.159, allocations: 5.853 MB / 1.028 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003535/2.162, allocations: 244.7 kB / 1.028 GB, free: 107.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/2.177, allocations: 5.966 MB / 1.034 GB, free: 105.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002245/2.179, allocations: 2.597 MB / 1.037 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00309/2.182, allocations: 0.6107 MB / 1.037 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006771/2.183, allocations: 174.7 kB / 1.037 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of SimCode: time 1.202e-06/2.183, allocations: 0 / 1.037 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.135/2.318, allocations: 104.3 MB / 1.139 GB, free: 61.89 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)