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.0009164/0.0009165, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.3 MB / 240 MB, free: 5.391 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.001237/0.001237, allocations: 172.5 kB / 291.3 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5704/0.5704, allocations: 91.92 MB / 434.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003727, allocations: 12 kB / 0.5054 GB, free: 7.23 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4048, allocations: 72.48 MB / 0.5762 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.0101/0.4149, allocations: 14.22 MB / 0.5901 GB, free: 26.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008418/0.4234, allocations: 4.19 MB / 0.5942 GB, free: 23.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/0.4259, allocations: 24.09 kB / 0.5942 GB, free: 23.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.4275, allocations: 0.5282 MB / 0.5947 GB, free: 23.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004411/0.4319, allocations: 1.399 MB / 0.5961 GB, free: 22.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.4344, allocations: 1.177 MB / 0.5972 GB, free: 21.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005311/0.4397, allocations: 3.828 MB / 0.601 GB, free: 19.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.4408, allocations: 0.6701 MB / 0.6016 GB, free: 19.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002701/0.4436, allocations: 1.388 MB / 0.603 GB, free: 18.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.4463, allocations: 1.892 MB / 0.6048 GB, free: 17.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005068/0.4468, allocations: 168.5 kB / 0.605 GB, free: 17.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.4479, allocations: 297 kB / 0.6053 GB, free: 17.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000517/0.4484, allocations: 0.6488 MB / 0.6059 GB, free: 17.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.4501, allocations: 1.56 MB / 0.6074 GB, free: 16.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004477/0.4545, allocations: 3.509 MB / 0.6108 GB, free: 15.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4546, allocations: 0 / 0.6108 GB, free: 15.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4546, allocations: 0 / 0.6108 GB, free: 15.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001533/0.4547, allocations: 0 / 0.6108 GB, free: 15.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.02184/0.4766, allocations: 5.298 MB / 0.616 GB, free: 13.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.4766, allocations: 9.281 kB / 0.616 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01515/0.4918, allocations: 2.062 MB / 0.618 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006047/0.4979, allocations: 2.027 MB / 0.62 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005827/0.4985, allocations: 455.9 kB / 0.6204 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007113/0.4992, allocations: 193.4 kB / 0.6206 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006242/0.5055, allocations: 2.42 MB / 0.623 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.5055, allocations: 5.25 kB / 0.623 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002354/0.5058, allocations: 74.3 kB / 0.6231 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.396e-05/0.5058, allocations: 51.22 kB / 0.6231 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005698/0.5116, allocations: 2.437 MB / 0.6255 GB, free: 9.141 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.01886/0.5304, allocations: 9.845 MB / 0.6351 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.5409, allocations: 4.766 MB / 0.6398 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003929/0.5448, allocations: 1.728 MB / 0.6415 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004122/0.5453, allocations: 41.95 kB / 0.6415 GB, free: 9.926 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.5454, allocations: 56.5 kB / 0.6415 GB, free: 9.859 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 6.292e-06/0.5454, allocations: 0 / 0.6415 GB, free: 9.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.09508/0.6404, allocations: 23.31 MB / 0.6643 GB, free: 2.492 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.6406, allocations: 77.41 kB / 0.6644 GB, free: 2.406 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005956/0.6465, allocations: 2.694 MB / 0.667 GB, free: 15.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008737/0.6474, allocations: 65.7 kB / 0.6671 GB, free: 15.63 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001185/0.6486, allocations: 1.161 MB / 0.6682 GB, free: 14.46 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001682/0.6503, allocations: 0.8167 MB / 0.669 GB, free: 13.63 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/0.6515, allocations: 300.7 kB / 0.6693 GB, free: 13.33 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.6516, allocations: 301.1 kB / 0.6696 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004825/0.6565, allocations: 1.908 MB / 0.6714 GB, free: 11.12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005041/0.6615, allocations: 2.268 MB / 0.6737 GB, free: 8.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06417/0.7257, allocations: 13.94 MB / 0.6873 GB, free: 10.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-05/0.7258, allocations: 4 kB / 0.6873 GB, free: 10.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=429) (initialization): time 0.02669/0.7525, allocations: 8.265 MB / 0.6954 GB, free: 2.355 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.7526, allocations: 8 kB / 0.6954 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.7526, allocations: 8 kB / 0.6954 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01419/0.7668, allocations: 3.676 MB / 0.699 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009438/0.7763, allocations: 1.803 MB / 0.7007 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03024/0.8066, allocations: 16.28 MB / 0.7166 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005822/0.8125, allocations: 461.1 kB / 0.7171 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000992/0.8135, allocations: 120 kB / 0.7172 GB, free: 11.28 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.002651/0.8162, allocations: 0.4999 MB / 0.7177 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00148/0.8176, allocations: 304.2 kB / 0.7179 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03/0.8477, allocations: 9.665 MB / 0.7274 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.874e-05/0.8478, allocations: 20 kB / 0.7274 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.8478, allocations: 4 kB / 0.7274 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.461e-05/0.8479, allocations: 11.95 kB / 0.7274 GB, free: 0.7461 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.04082/0.8887, allocations: 13.69 MB / 0.7408 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/0.8888, allocations: 4 kB / 0.7408 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/0.8908, allocations: 223.7 kB / 0.741 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01512/0.906, allocations: 4.699 MB / 0.7456 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007854/0.9068, allocations: 44 kB / 0.7456 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04612/0.953, allocations: 16.74 MB / 0.762 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.953, allocations: 0 / 0.762 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0353/0.9883, allocations: 11.8 MB / 0.7735 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/0.9903, allocations: 468.6 kB / 0.774 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001619/0.9919, allocations: 47.94 kB / 0.774 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003924/0.9959, allocations: 223.8 kB / 0.7742 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001576/0.9975, allocations: 382.2 kB / 0.7746 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.3037/1.301, allocations: 56.72 kB / 0.7746 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004109/1.305, allocations: 1.779 MB / 0.7764 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.31e-07/1.305, allocations: 0 / 0.7764 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007601/1.313, allocations: 1.092 MB / 0.7774 GB, free: 164.1 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.0004979/1.314, allocations: 164.4 kB / 0.7776 GB, free: 164 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01558/1.329, allocations: 6.798 MB / 0.7842 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.329, allocations: 3.969 kB / 0.7842 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01097/1.34, allocations: 3.673 MB / 0.7878 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/1.343, allocations: 227 kB / 0.788 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009956/1.353, allocations: 7.114 MB / 0.795 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/1.354, allocations: 1.761 MB / 0.7967 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/1.356, allocations: 171.4 kB / 0.7969 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/1.356, allocations: 0.8125 kB / 0.7969 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.1213/1.477, allocations: 125.5 MB / 0.9195 GB, free: 49.98 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)