Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 180.9 kB / 7.651 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.442/1.442, allocations: 221.5 MB / 229.6 MB, free: 7.551 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.0008456/0.0008456, allocations: 89.02 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4546/0.4546, allocations: 78.13 MB / 409.4 MB, free: 6.43 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.96e-05/1.955e-05, allocations: 7.938 kB / 485 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1325, allocations: 69.36 MB / 0.5413 GB, free: 6.941 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4097/0.5423, allocations: 99.28 MB / 0.6383 GB, free: 432 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.5426, allocations: 69.84 kB / 0.6383 GB, free: 364 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1868/0.7294, allocations: 72.33 MB / 0.709 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7294, allocations: 0 / 0.709 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001903/0.7296, allocations: 52 kB / 0.709 GB, free: 7.758 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: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.01165/0.7413, allocations: 3.453 MB / 0.7124 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.7414, allocations: 12.03 kB / 0.7124 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009695/0.7511, allocations: 1.456 MB / 0.7138 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004352/0.7555, allocations: 1.732 MB / 0.7155 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004307/0.7559, allocations: 374.8 kB / 0.7159 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000373/0.7563, allocations: 119.9 kB / 0.716 GB, free: 452 kB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003508/0.7598, allocations: 1.952 MB / 0.7179 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003375/0.7632, allocations: 1.773 MB / 0.7196 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.7632, allocations: 0 / 0.7196 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.7634, allocations: 3.938 kB / 0.7196 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/0.7635, allocations: 44 kB / 0.7197 GB, free: 12.65 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.01674/0.7802, allocations: 9.238 MB / 0.7287 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008948/0.7892, allocations: 4.248 MB / 0.7329 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/0.7914, allocations: 1.292 MB / 0.7341 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.7916, allocations: 37.95 kB / 0.7342 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.7917, allocations: 64.44 kB / 0.7342 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=223): time 3.858e-06/0.7917, allocations: 0 / 0.7342 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=223): time 0.02537/0.8171, allocations: 8.115 MB / 0.7421 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.8171, allocations: 73.41 kB / 0.7422 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004499/0.8217, allocations: 2.062 MB / 0.7442 GB, free: 2.836 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006582/0.8223, allocations: 27.02 kB / 0.7443 GB, free: 2.805 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.8234, allocations: 1.228 MB / 0.7455 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009153/0.8243, allocations: 0.7504 MB / 0.7462 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.8244, allocations: 0 / 0.7462 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.8246, allocations: 390.2 kB / 0.7466 GB, free: 424 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.8262, allocations: 1.016 MB / 0.7475 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.828, allocations: 1.272 MB / 0.7488 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.8297, allocations: 1.146 MB / 0.7499 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.8298, allocations: 4 kB / 0.7499 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01668/0.8464, allocations: 5.928 MB / 0.7557 GB, free: 6.887 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.8465, allocations: 4 kB / 0.7557 GB, free: 6.883 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.8465, allocations: 8 kB / 0.7557 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01259/0.8591, allocations: 3.245 MB / 0.7589 GB, free: 3.586 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006745/0.8659, allocations: 1.502 MB / 0.7603 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3307/1.197, allocations: 17.09 MB / 0.777 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003792/1.2, allocations: 316.6 kB / 0.7773 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/1.201, allocations: 81.08 kB / 0.7774 GB, free: 107.3 MB / 0.5573 GB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(start = g4.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(start = g3.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 9 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 2,(4,75.0%) 2,(1,100.0%) 1,(3,88.9%) 17,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {8 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005594/1.201, allocations: 163.5 kB / 0.7776 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006/1.202, allocations: 305.5 kB / 0.7779 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02334/1.225, allocations: 8.367 MB / 0.786 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-05/1.225, allocations: 23.28 kB / 0.7861 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.225, allocations: 2.531 kB / 0.7861 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.259e-05/1.226, allocations: 9.891 kB / 0.7861 GB, free: 106.8 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.03355/1.259, allocations: 12.13 MB / 0.7979 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.349e-05/1.259, allocations: 0.5625 kB / 0.7979 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/1.261, allocations: 220.9 kB / 0.7981 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01348/1.274, allocations: 3.942 MB / 0.802 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006687/1.275, allocations: 20.78 kB / 0.802 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03584/1.311, allocations: 13.02 MB / 0.8147 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/1.311, allocations: 0 / 0.8147 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03203/1.343, allocations: 10.11 MB / 0.8246 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/1.345, allocations: 471 kB / 0.825 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00152/1.346, allocations: 8.219 kB / 0.825 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004634/1.351, allocations: 180.7 kB / 0.8252 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002073/1.353, allocations: 382.7 kB / 0.8256 GB, free: 101.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000535/1.354, allocations: 56.62 kB / 0.8256 GB, free: 101.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005526/1.359, allocations: 1.551 MB / 0.8272 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.02e-07/1.359, allocations: 0 / 0.8272 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006969/1.366, allocations: 0.9065 MB / 0.828 GB, free: 100.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 24 (g1.order6_1.delta,g1.order6_1.w,g1.order6_1.e1q,g1.order6_1.e1d,g1.order6_1.e2q,g1.order6_1.e2d,g2.order6_1.delta,g2.order6_1.w,g2.order6_1.e1q,g2.order6_1.e1d,g2.order6_1.e2q,g2.order6_1.e2d,g3.order6_1.delta,g3.order6_1.w,g3.order6_1.e1q,g3.order6_1.e1d,g3.order6_1.e2q,g3.order6_1.e2d,g4.order6_1.delta,g4.order6_1.w,g4.order6_1.e1q,g4.order6_1.e1d,g4.order6_1.e2q,g4.order6_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * 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 {54 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.001239/1.368, allocations: 289.2 kB / 0.8283 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01528/1.383, allocations: 5.278 MB / 0.8335 GB, free: 97.43 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.383, allocations: 0 / 0.8335 GB, free: 97.43 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01104/1.394, allocations: 3.163 MB / 0.8366 GB, free: 96.32 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/1.397, allocations: 180.2 kB / 0.8367 GB, free: 96.21 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0096/1.406, allocations: 4.631 MB / 0.8412 GB, free: 93.87 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/1.408, allocations: 1.821 MB / 0.843 GB, free: 93.08 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001404/1.409, allocations: 203.4 kB / 0.8432 GB, free: 93.05 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009936/1.41, allocations: 129.3 kB / 0.8433 GB, free: 93.04 MB / 0.5573 GB Notification: Performance of SimCode: time 8.32e-07/1.41, allocations: 0 / 0.8433 GB, free: 93.04 MB / 0.5573 GB Notification: Performance of Templates: time 0.063/1.473, allocations: 44.1 MB / 0.8864 GB, free: 78.12 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)