Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001308, allocations: 102 kB / 16.35 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 240 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 200.3 kB / 290.3 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4908/0.4908, allocations: 91.89 MB / 432.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 75.88 kB / 0.5033 GB, free: 6.898 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2997, allocations: 71.26 MB / 0.5729 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.009238/0.309, allocations: 14.06 MB / 0.5866 GB, free: 27.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005952/0.315, allocations: 4.121 MB / 0.5906 GB, free: 24.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009825/0.316, allocations: 20.97 kB / 0.5906 GB, free: 24.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.3172, allocations: 0.6708 MB / 0.5913 GB, free: 24.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002772/0.32, allocations: 1.598 MB / 0.5929 GB, free: 23.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.322, allocations: 1.27 MB / 0.5941 GB, free: 22.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003387/0.3254, allocations: 4.075 MB / 0.5981 GB, free: 20.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008805/0.3263, allocations: 0.7703 MB / 0.5988 GB, free: 20.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.3284, allocations: 1.634 MB / 0.6004 GB, free: 19.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.3305, allocations: 2.125 MB / 0.6025 GB, free: 18.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005891/0.3311, allocations: 369.6 kB / 0.6029 GB, free: 18.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.3322, allocations: 0.5098 MB / 0.6034 GB, free: 18.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005115/0.3327, allocations: 0.8467 MB / 0.6042 GB, free: 17.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.3341, allocations: 1.768 MB / 0.6059 GB, free: 16.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004569/0.3386, allocations: 4.57 MB / 0.6104 GB, free: 14.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3387, allocations: 0.5156 kB / 0.6104 GB, free: 14.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3387, allocations: 0 / 0.6104 GB, free: 14.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001034/0.3388, allocations: 1.188 kB / 0.6104 GB, free: 14.39 MB / 430.1 MB 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.02041/0.3592, allocations: 5.782 MB / 0.616 GB, free: 11.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3593, allocations: 9.875 kB / 0.616 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01826/0.3775, allocations: 2.045 MB / 0.618 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006003/0.3836, allocations: 2.025 MB / 0.62 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006275/0.3843, allocations: 438.8 kB / 0.6204 GB, free: 9.859 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/0.3857, allocations: 198.5 kB / 0.6206 GB, free: 9.789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007696/0.3934, allocations: 2.305 MB / 0.6229 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.709e-05/0.3935, allocations: 4 kB / 0.6229 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005945/0.3941, allocations: 74.34 kB / 0.6229 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.968e-05/0.3941, allocations: 47.56 kB / 0.623 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005458/0.3996, allocations: 2.326 MB / 0.6253 GB, free: 7.559 MB / 430.1 MB 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.02048/0.4201, allocations: 9.651 MB / 0.6347 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/0.4306, allocations: 4.172 MB / 0.6388 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003592/0.4342, allocations: 1.611 MB / 0.6403 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004075/0.4346, allocations: 45.81 kB / 0.6404 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.4347, allocations: 64.5 kB / 0.6404 GB, free: 8.398 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.478e-06/0.4347, allocations: 0 / 0.6404 GB, free: 8.398 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.09054/0.5253, allocations: 20.08 MB / 0.66 GB, free: 4.258 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.5254, allocations: 77.41 kB / 0.6601 GB, free: 4.172 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005207/0.5306, allocations: 2.694 MB / 0.6627 GB, free: 1.465 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007343/0.5313, allocations: 65.7 kB / 0.6628 GB, free: 1.395 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/0.5324, allocations: 1.173 MB / 0.664 GB, free: 216 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001442/0.5339, allocations: 0.8051 MB / 0.6647 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002352/0.5363, allocations: 0.5894 MB / 0.6653 GB, free: 14.79 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.5364, allocations: 305.1 kB / 0.6656 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003862/0.5402, allocations: 1.787 MB / 0.6674 GB, free: 12.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004125/0.5444, allocations: 2.154 MB / 0.6695 GB, free: 10.46 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05917/0.6035, allocations: 13.08 MB / 0.6822 GB, free: 13.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/0.6036, allocations: 0 / 0.6822 GB, free: 13.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=429) (initialization): time 0.0222/0.6258, allocations: 7.444 MB / 0.6895 GB, free: 5.742 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.6259, allocations: 8 kB / 0.6895 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.6259, allocations: 4 kB / 0.6895 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01259/0.6385, allocations: 3.238 MB / 0.6927 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007781/0.6463, allocations: 1.42 MB / 0.6941 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02836/0.6747, allocations: 16.87 MB / 0.7105 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005596/0.6803, allocations: 393.1 kB / 0.7109 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008335/0.6812, allocations: 120 kB / 0.711 GB, free: 14.95 MB / 0.5137 GB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.delta:VARIABLE(flow=false start = g1.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g1.order6_1.e1d:VARIABLE(start = g1.order6_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real g2.order6_1.delta:VARIABLE(flow=false start = g2.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g2.order6_1.e1d:VARIABLE(start = g2.order6_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (361): * Single equations (assignments): 347 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 9 systems {(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 (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,2,75.0%), (4,2,75.0%), (1,1,100.0%), (3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001937/0.6831, allocations: 0.5042 MB / 0.7115 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/0.6842, allocations: 308.1 kB / 0.7118 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02501/0.7092, allocations: 8.114 MB / 0.7197 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.7093, allocations: 20 kB / 0.7197 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7093, allocations: 4 kB / 0.7198 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-05/0.7093, allocations: 11.95 kB / 0.7198 GB, free: 5.957 MB / 0.5137 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.03115/0.7405, allocations: 12.11 MB / 0.7316 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/0.7406, allocations: 4 kB / 0.7316 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/0.7424, allocations: 223.6 kB / 0.7318 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01362/0.756, allocations: 4.168 MB / 0.7359 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006215/0.7567, allocations: 51.92 kB / 0.7359 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04157/0.7982, allocations: 16.57 MB / 0.7521 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7983, allocations: 0 / 0.7521 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03056/0.8288, allocations: 10.15 MB / 0.762 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/0.8304, allocations: 464.6 kB / 0.7625 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/0.8317, allocations: 44 kB / 0.7625 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003467/0.8352, allocations: 167.8 kB / 0.7627 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001602/0.8368, allocations: 382.4 kB / 0.763 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004324/0.8372, allocations: 56 kB / 0.7631 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003576/0.8408, allocations: 1.779 MB / 0.7648 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8408, allocations: 0 / 0.7648 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004396/0.8452, allocations: 1.096 MB / 0.7659 GB, free: 6.262 MB / 0.5606 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(54,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005926/0.8458, allocations: 164.8 kB / 0.766 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2102/1.056, allocations: 6.362 MB / 0.7723 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.056, allocations: 2.531 kB / 0.7723 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009777/1.066, allocations: 3.387 MB / 0.7756 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/1.068, allocations: 225 kB / 0.7758 GB, free: 166 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007636/1.076, allocations: 5.672 MB / 0.7813 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008721/1.077, allocations: 1.763 MB / 0.783 GB, free: 163 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009778/1.078, allocations: 253.1 kB / 0.7833 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006748/1.078, allocations: 166.8 kB / 0.7834 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/1.078, allocations: 3.938 kB / 0.7834 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.07662/1.155, allocations: 56.11 MB / 0.8382 GB, free: 131.1 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)