Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.335/1.335, allocations: 221.5 MB / 229.6 MB, free: 3.188 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.0008649/0.0008649, allocations: 97.97 kB / 280.5 MB, free: 1.164 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4614/0.4614, allocations: 78.94 MB / 410.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.473e-05/1.476e-05, allocations: 0 / 485.9 MB, free: 3.266 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4931/0.4931, allocations: 69.52 MB / 0.5424 GB, free: 21.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.6494, allocations: 102.4 MB / 0.6424 GB, free: 1.395 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.6497, allocations: 83.95 kB / 0.6425 GB, free: 1.312 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5686/1.218, allocations: 100.7 MB / 0.7408 GB, free: 67.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/1.218, allocations: 0 / 0.7408 GB, free: 67.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003056/1.219, allocations: 84 kB / 0.7409 GB, free: 67.37 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01939/1.238, allocations: 5.785 MB / 0.7465 GB, free: 61.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.238, allocations: 12.03 kB / 0.7465 GB, free: 61.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01787/1.256, allocations: 2.775 MB / 0.7492 GB, free: 58.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005747/1.262, allocations: 2.298 MB / 0.7515 GB, free: 56.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008446/1.263, allocations: 0.8423 MB / 0.7523 GB, free: 55.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/1.264, allocations: 204 kB / 0.7525 GB, free: 55.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006706/1.271, allocations: 3.447 MB / 0.7559 GB, free: 51.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006284/1.277, allocations: 3.606 MB / 0.7594 GB, free: 48.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.265e-05/1.277, allocations: 0 / 0.7594 GB, free: 48.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000351/1.277, allocations: 0 / 0.7594 GB, free: 48.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-05/1.277, allocations: 87.94 kB / 0.7595 GB, free: 48 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.0347/1.312, allocations: 18.21 MB / 0.7772 GB, free: 28.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01/1.322, allocations: 4.682 MB / 0.7818 GB, free: 23.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003887/1.326, allocations: 2.131 MB / 0.7839 GB, free: 21.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005839/1.327, allocations: 70.91 kB / 0.784 GB, free: 21.63 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/1.327, allocations: 73.5 kB / 0.784 GB, free: 21.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 5.66e-06/1.327, allocations: 0 / 0.784 GB, free: 21.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.05001/1.377, allocations: 17.19 MB / 0.8008 GB, free: 4.301 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/1.377, allocations: 175.4 kB / 0.801 GB, free: 4.098 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003241/1.38, allocations: 2.48 MB / 0.8034 GB, free: 1.605 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007535/1.381, allocations: 25.7 kB / 0.8034 GB, free: 1.574 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/1.382, allocations: 2.006 MB / 0.8054 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001503/1.384, allocations: 1.258 MB / 0.8066 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/1.384, allocations: 0 / 0.8066 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002381/1.384, allocations: 449.4 kB / 0.8071 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002861/1.387, allocations: 1.765 MB / 0.8088 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003282/1.39, allocations: 2.326 MB / 0.8111 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003148/1.393, allocations: 1.973 MB / 0.813 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/1.393, allocations: 4 kB / 0.813 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.05167/1.445, allocations: 17.34 MB / 0.8299 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002248/1.447, allocations: 6.676 MB / 0.8364 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/1.448, allocations: 20 kB / 0.8365 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0239/1.471, allocations: 6.919 MB / 0.8432 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/1.474, allocations: 0.5344 MB / 0.8437 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05698/1.531, allocations: 26.37 MB / 0.8695 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005875/1.537, allocations: 0.6333 MB / 0.8701 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006295/1.538, allocations: 131.9 kB / 0.8702 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/1.538, allocations: 4 kB / 0.8702 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04954/1.587, allocations: 16.87 MB / 0.8867 GB, free: 11.17 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.37e-05/1.588, allocations: 16 kB / 0.8867 GB, free: 11.15 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02338/1.611, allocations: 6.923 MB / 0.8935 GB, free: 4.219 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003207/1.614, allocations: 0.5304 MB / 0.894 GB, free: 3.688 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4289/2.043, allocations: 26.36 MB / 0.9197 GB, free: 137.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006148/2.049, allocations: 0.602 MB / 0.9203 GB, free: 137.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008711/2.05, allocations: 133.3 kB / 0.9205 GB, free: 137.2 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" 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 (325): * Single equations (assignments): 321 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.00102/2.051, allocations: 210.7 kB / 0.9207 GB, free: 137 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/2.053, allocations: 452.3 kB / 0.9211 GB, free: 136.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04963/2.102, allocations: 17.64 MB / 0.9383 GB, free: 135.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-05/2.102, allocations: 38.16 kB / 0.9384 GB, free: 135.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.523e-05/2.102, allocations: 25.56 kB / 0.9384 GB, free: 135.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001106/2.102, allocations: 28.08 kB / 0.9384 GB, free: 135.7 MB / 0.573 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.05895/2.161, allocations: 22.6 MB / 0.9605 GB, free: 130.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-05/2.161, allocations: 3.422 kB / 0.9605 GB, free: 130.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002791/2.164, allocations: 408.3 kB / 0.9609 GB, free: 130.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0217/2.186, allocations: 6.879 MB / 0.9676 GB, free: 126.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0012/2.187, allocations: 15.38 kB / 0.9676 GB, free: 126.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04604/2.233, allocations: 22.31 MB / 0.9894 GB, free: 107 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/2.233, allocations: 4 kB / 0.9894 GB, free: 107 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05572/2.289, allocations: 20.51 MB / 1.009 GB, free: 90.27 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0025/2.292, allocations: 0.5653 MB / 1.01 GB, free: 89.77 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002306/2.294, allocations: 4.766 kB / 1.01 GB, free: 89.76 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008864/2.303, allocations: 449.3 kB / 1.01 GB, free: 89.43 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005222/2.308, allocations: 0.7683 MB / 1.011 GB, free: 89.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009605/2.309, allocations: 95.84 kB / 1.011 GB, free: 88.93 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005063/2.314, allocations: 1.839 MB / 1.013 GB, free: 87.25 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.62e-07/2.314, allocations: 0 / 1.013 GB, free: 87.25 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0159/2.33, allocations: 2.639 MB / 1.016 GB, free: 84.73 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (252): * Single equations (assignments): 250 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/2.332, allocations: 160 kB / 1.016 GB, free: 84.58 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.06744/2.399, allocations: 14.28 MB / 1.03 GB, free: 71.66 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/2.399, allocations: 0.75 kB / 1.03 GB, free: 71.66 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02944/2.428, allocations: 5.84 MB / 1.035 GB, free: 66.52 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005146/2.434, allocations: 252.2 kB / 1.036 GB, free: 66.28 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02007/2.454, allocations: 6.069 MB / 1.042 GB, free: 60.76 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002304/2.456, allocations: 2.601 MB / 1.044 GB, free: 58.83 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.005371/2.462, allocations: 0.6165 MB / 1.045 GB, free: 58.41 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/2.463, allocations: 171 kB / 1.045 GB, free: 58.26 MB / 0.573 GB Notification: Performance of SimCode: time 1.352e-06/2.463, allocations: 0 / 1.045 GB, free: 58.26 MB / 0.573 GB Notification: Performance of Templates: time 0.4982/2.961, allocations: 105.1 MB / 1.148 GB, free: 158.2 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)