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.001422/0.001422, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.513/1.513, allocations: 222.9 MB / 239 MB, free: 4.707 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.002356/0.002356, allocations: 188.5 kB / 289.3 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5999/0.5999, allocations: 91.88 MB / 431.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 79.86 kB / 0.5014 GB, free: 8.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4369, allocations: 71.25 MB / 0.571 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.01133/0.4482, allocations: 14.88 MB / 0.5855 GB, free: 26.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00871/0.457, allocations: 4.228 MB / 0.5896 GB, free: 23.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003856/0.4609, allocations: 25.5 kB / 0.5897 GB, free: 23.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.4635, allocations: 0.5273 MB / 0.5902 GB, free: 23.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005918/0.4694, allocations: 1.398 MB / 0.5915 GB, free: 22.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003148/0.4726, allocations: 1.182 MB / 0.5927 GB, free: 21.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006411/0.479, allocations: 4.053 MB / 0.5966 GB, free: 19.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/0.4808, allocations: 0.7576 MB / 0.5974 GB, free: 19.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.4843, allocations: 1.64 MB / 0.599 GB, free: 18.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004247/0.4885, allocations: 2.128 MB / 0.6011 GB, free: 17.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002389/0.4909, allocations: 369.1 kB / 0.6014 GB, free: 17.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.4939, allocations: 0.5169 MB / 0.6019 GB, free: 17.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001782/0.4957, allocations: 0.8427 MB / 0.6027 GB, free: 16.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004476/0.5002, allocations: 1.772 MB / 0.6045 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009923/0.5102, allocations: 4.53 MB / 0.6089 GB, free: 13.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.5102, allocations: 0 / 0.6089 GB, free: 13.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.5102, allocations: 0 / 0.6089 GB, free: 13.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002215/0.5105, allocations: 0 / 0.6089 GB, free: 13.41 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.02543/0.5359, allocations: 5.798 MB / 0.6146 GB, free: 10.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.536, allocations: 16.81 kB / 0.6146 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01462/0.5506, allocations: 2.041 MB / 0.6166 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006853/0.5575, allocations: 2.027 MB / 0.6185 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004662/0.558, allocations: 437.5 kB / 0.619 GB, free: 8.883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007539/0.5587, allocations: 194.1 kB / 0.6192 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005352/0.5641, allocations: 2.31 MB / 0.6214 GB, free: 7.945 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.5642, allocations: 3.938 kB / 0.6214 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00022/0.5644, allocations: 75.09 kB / 0.6215 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.5644, allocations: 47.06 kB / 0.6215 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004756/0.5692, allocations: 2.321 MB / 0.6238 GB, free: 7.051 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.01884/0.5881, allocations: 9.709 MB / 0.6333 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009695/0.5978, allocations: 4.18 MB / 0.6374 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003756/0.6016, allocations: 1.607 MB / 0.6389 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003598/0.602, allocations: 41.97 kB / 0.639 GB, free: 8.324 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.602, allocations: 52.5 kB / 0.639 GB, free: 8.262 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.449e-06/0.6021, allocations: 4 kB / 0.639 GB, free: 8.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.09109/0.6932, allocations: 20.09 MB / 0.6586 GB, free: 4.109 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.6933, allocations: 73.41 kB / 0.6587 GB, free: 4.027 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005967/0.6993, allocations: 2.691 MB / 0.6613 GB, free: 1.324 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009718/0.7002, allocations: 65.7 kB / 0.6614 GB, free: 1.254 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.7014, allocations: 1.169 MB / 0.6625 GB, free: 76 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001757/0.7032, allocations: 0.8088 MB / 0.6633 GB, free: 15.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00273/0.7059, allocations: 0.5855 MB / 0.6639 GB, free: 14.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.706, allocations: 309.1 kB / 0.6642 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003537/0.7096, allocations: 1.787 MB / 0.6659 GB, free: 12.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00375/0.7134, allocations: 2.162 MB / 0.6681 GB, free: 10.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06012/0.7735, allocations: 13.11 MB / 0.6809 GB, free: 13.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.927e-05/0.7736, allocations: 4 kB / 0.6809 GB, free: 13.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=429) (initialization): time 0.02592/0.7995, allocations: 7.452 MB / 0.6881 GB, free: 5.551 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.7996, allocations: 8 kB / 0.6881 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.7996, allocations: 4 kB / 0.6882 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01371/0.8133, allocations: 3.231 MB / 0.6913 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008273/0.8216, allocations: 1.424 MB / 0.6927 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0297/0.8514, allocations: 16.91 MB / 0.7092 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006088/0.8575, allocations: 389.1 kB / 0.7096 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/0.8591, allocations: 120 kB / 0.7097 GB, free: 14.73 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.003141/0.8622, allocations: 0.4949 MB / 0.7102 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001668/0.8639, allocations: 312.1 kB / 0.7105 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02779/0.8917, allocations: 8.122 MB / 0.7184 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/0.8918, allocations: 24 kB / 0.7184 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.8918, allocations: 0 / 0.7184 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.914e-05/0.8919, allocations: 7.969 kB / 0.7184 GB, free: 5.738 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.0361/0.928, allocations: 12.14 MB / 0.7303 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/0.9281, allocations: 0 / 0.7303 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002105/0.9302, allocations: 223.7 kB / 0.7305 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01445/0.9447, allocations: 4.172 MB / 0.7346 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008093/0.9455, allocations: 55.92 kB / 0.7346 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04396/0.9895, allocations: 16.59 MB / 0.7508 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.9896, allocations: 3.938 kB / 0.7508 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03316/1.023, allocations: 10.15 MB / 0.7608 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1.024, allocations: 460.6 kB / 0.7612 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001908/1.026, allocations: 44 kB / 0.7612 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004147/1.03, allocations: 167.8 kB / 0.7614 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001947/1.032, allocations: 382.5 kB / 0.7618 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005975/1.033, allocations: 51.98 kB / 0.7618 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003707/1.037, allocations: 1.779 MB / 0.7635 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/1.037, allocations: 0 / 0.7635 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006982/1.044, allocations: 1.096 MB / 0.7646 GB, free: 5.996 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.001183/1.045, allocations: 172.7 kB / 0.7648 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2908/1.336, allocations: 6.415 MB / 0.771 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.336, allocations: 0 / 0.771 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01173/1.348, allocations: 3.392 MB / 0.7744 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/1.351, allocations: 223.7 kB / 0.7746 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009942/1.361, allocations: 6.756 MB / 0.7812 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.362, allocations: 1.764 MB / 0.7829 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001668/1.364, allocations: 261.3 kB / 0.7831 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007388/1.364, allocations: 159.9 kB / 0.7833 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/1.364, allocations: 0 / 0.7833 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.112/1.476, allocations: 54.72 MB / 0.8367 GB, free: 130.8 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)