Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 173.4 kB / 12.73 MB, free: 2.586 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.221/1.221, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008504/0.0008505, allocations: 98.05 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4252/0.4252, allocations: 78.03 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.659e-05/2.67e-05, allocations: 7.984 kB / 491.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2725, allocations: 69.34 MB / 0.548 GB, free: 20.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1092/0.3818, allocations: 100.2 MB / 0.6458 GB, free: 172 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.382, allocations: 75.95 kB / 0.6459 GB, free: 96 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4082/0.7902, allocations: 67.45 MB / 0.7118 GB, free: 96.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.7903, allocations: 0 / 0.7118 GB, free: 96.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000136/0.7904, allocations: 62.47 kB / 0.7118 GB, free: 96.66 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.0102/0.8006, allocations: 4.024 MB / 0.7158 GB, free: 92.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.8007, allocations: 15.97 kB / 0.7158 GB, free: 92.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009106/0.8098, allocations: 1.607 MB / 0.7174 GB, free: 91.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/0.8124, allocations: 1.647 MB / 0.719 GB, free: 89.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004621/0.8128, allocations: 0.6867 MB / 0.7196 GB, free: 88.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003885/0.8132, allocations: 211.9 kB / 0.7198 GB, free: 88.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003891/0.8171, allocations: 2.573 MB / 0.7224 GB, free: 85.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.8172, allocations: 11.86 kB / 0.7224 GB, free: 85.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002445/0.8174, allocations: 84 kB / 0.7224 GB, free: 85.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.8175, allocations: 48 kB / 0.7225 GB, free: 85.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003655/0.8211, allocations: 2.324 MB / 0.7248 GB, free: 83.29 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.01482/0.836, allocations: 10.08 MB / 0.7346 GB, free: 72.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00836/0.8444, allocations: 4.029 MB / 0.7385 GB, free: 68.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00201/0.8464, allocations: 1.542 MB / 0.74 GB, free: 67.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002875/0.8467, allocations: 38.05 kB / 0.7401 GB, free: 67.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.8467, allocations: 64.56 kB / 0.7401 GB, free: 66.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=243): time 4.498e-06/0.8467, allocations: 0 / 0.7401 GB, free: 66.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=243): time 0.03444/0.8812, allocations: 12.3 MB / 0.7522 GB, free: 54.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.8813, allocations: 239.6 kB / 0.7524 GB, free: 54.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/0.8839, allocations: 1.862 MB / 0.7542 GB, free: 52.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000549/0.8844, allocations: 69.7 kB / 0.7543 GB, free: 52.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006316/0.8851, allocations: 1.216 MB / 0.7555 GB, free: 51.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008276/0.8859, allocations: 0.8392 MB / 0.7563 GB, free: 50.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.8861, allocations: 48 kB / 0.7563 GB, free: 50.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.8862, allocations: 398.6 kB / 0.7567 GB, free: 49.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001927/0.8881, allocations: 1.231 MB / 0.7579 GB, free: 48.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002122/0.8903, allocations: 1.543 MB / 0.7594 GB, free: 46.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/0.8924, allocations: 1.462 MB / 0.7608 GB, free: 45.44 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.8924, allocations: 4 kB / 0.7608 GB, free: 45.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.0319/0.9243, allocations: 11.65 MB / 0.7722 GB, free: 33.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004873/0.9249, allocations: 2.875 MB / 0.775 GB, free: 30.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.9249, allocations: 4 kB / 0.775 GB, free: 30.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01434/0.9393, allocations: 4.792 MB / 0.7797 GB, free: 25.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003551/0.9428, allocations: 0.6944 MB / 0.7804 GB, free: 25.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03341/0.9763, allocations: 16.64 MB / 0.7966 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003961/0.9803, allocations: 0.5289 MB / 0.7972 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004619/0.9808, allocations: 83.98 kB / 0.7972 GB, free: 7.695 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.9808, allocations: 5.719 kB / 0.7972 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03164/1.012, allocations: 11.38 MB / 0.8084 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/1.012, allocations: 8 kB / 0.8084 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01505/1.028, allocations: 4.792 MB / 0.813 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00356/1.031, allocations: 0.6827 MB / 0.8137 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03658/1.068, allocations: 16.64 MB / 0.83 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/1.072, allocations: 0.5056 MB / 0.8305 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/1.072, allocations: 79.98 kB / 0.8305 GB, free: 5.352 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.0006619/1.073, allocations: 298.3 kB / 0.8308 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007156/1.073, allocations: 296.2 kB / 0.8311 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03729/1.111, allocations: 12.65 MB / 0.8435 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/1.111, allocations: 32 kB / 0.8435 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/1.111, allocations: 16 kB / 0.8435 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-05/1.111, allocations: 19.94 kB / 0.8435 GB, free: 7.988 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 postOpt removeSimpleEquations (simulation): time 0.04302/1.154, allocations: 16.39 MB / 0.8595 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/1.154, allocations: 0 / 0.8595 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/1.156, allocations: 283.7 kB / 0.8598 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01504/1.171, allocations: 4.794 MB / 0.8645 GB, free: 2.367 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006222/1.172, allocations: 51.98 kB / 0.8645 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03999/1.212, allocations: 15.39 MB / 0.8796 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.212, allocations: 0 / 0.8796 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0474/1.259, allocations: 14.59 MB / 0.8938 GB, free: 4.102 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.26, allocations: 420.8 kB / 0.8942 GB, free: 3.668 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008557/1.261, allocations: 44 kB / 0.8942 GB, free: 3.625 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003481/1.264, allocations: 395.7 kB / 0.8946 GB, free: 3.238 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002083/1.267, allocations: 0.5524 MB / 0.8952 GB, free: 2.688 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003302/1.267, allocations: 63.98 kB / 0.8952 GB, free: 2.625 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002377/1.269, allocations: 1.429 MB / 0.8966 GB, free: 1.188 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.4e-07/1.269, allocations: 0 / 0.8966 GB, free: 1.188 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.2702/1.54, allocations: 1.742 MB / 0.8983 GB, free: 176.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 161 * 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: 1 {(62,8.3%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007901/1.54, allocations: 184 kB / 0.8985 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0276/1.568, allocations: 9.993 MB / 0.9083 GB, free: 174.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.568, allocations: 0 / 0.9083 GB, free: 174.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01171/1.58, allocations: 4.058 MB / 0.9122 GB, free: 174.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/1.582, allocations: 238 kB / 0.9124 GB, free: 174.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008138/1.59, allocations: 4.27 MB / 0.9166 GB, free: 173.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/1.591, allocations: 1.904 MB / 0.9185 GB, free: 172.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002197/1.594, allocations: 460.8 kB / 0.9189 GB, free: 172.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000495/1.594, allocations: 120.6 kB / 0.919 GB, free: 172.5 MB / 0.573 GB Notification: Performance of SimCode: time 6.91e-07/1.594, allocations: 0 / 0.919 GB, free: 172.5 MB / 0.573 GB Notification: Performance of Templates: time 0.08881/1.683, allocations: 74.65 MB / 0.9919 GB, free: 117.4 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)