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.001627/0.001627, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.477/1.477, allocations: 222.9 MB / 240.1 MB, free: 4.379 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.001687/0.001687, allocations: 196.5 kB / 290.4 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.583/0.583, allocations: 91.9 MB / 432.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 80.25 kB / 0.5734 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1735, allocations: 71.29 MB / 0.643 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.01428/0.1879, allocations: 14.05 MB / 0.6567 GB, free: 5.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.1991, allocations: 4.131 MB / 0.6607 GB, free: 1.336 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003671/0.2028, allocations: 20 kB / 0.6608 GB, free: 1.316 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002955/0.2058, allocations: 0.6664 MB / 0.6614 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006922/0.2128, allocations: 1.595 MB / 0.663 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.216, allocations: 1.268 MB / 0.6642 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006267/0.2223, allocations: 4.074 MB / 0.6682 GB, free: 9.707 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.2238, allocations: 0.775 MB / 0.6689 GB, free: 8.891 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003095/0.2269, allocations: 1.638 MB / 0.6705 GB, free: 7.246 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003762/0.2307, allocations: 2.12 MB / 0.6726 GB, free: 5.117 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001633/0.2324, allocations: 368 kB / 0.673 GB, free: 4.758 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.2353, allocations: 0.5155 MB / 0.6735 GB, free: 4.242 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001912/0.2372, allocations: 0.8404 MB / 0.6743 GB, free: 3.398 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004472/0.2417, allocations: 1.771 MB / 0.676 GB, free: 1.617 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006441/0.2482, allocations: 4.566 MB / 0.6805 GB, free: 13.04 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.2482, allocations: 0 / 0.6805 GB, free: 13.04 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.029e-06/0.2482, allocations: 4 kB / 0.6805 GB, free: 13.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.742e-05/0.2483, allocations: 3.938 kB / 0.6805 GB, free: 13.03 MB / 494.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.02062/0.2689, allocations: 5.783 MB / 0.6861 GB, free: 7.168 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.269, allocations: 8.031 kB / 0.6861 GB, free: 7.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01268/0.2817, allocations: 2.044 MB / 0.6881 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004604/0.2864, allocations: 2.018 MB / 0.6901 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005998/0.287, allocations: 443.1 kB / 0.6905 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004929/0.2875, allocations: 195.9 kB / 0.6907 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004813/0.2923, allocations: 2.311 MB / 0.693 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.2924, allocations: 0 / 0.693 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/0.2926, allocations: 72.08 kB / 0.693 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/0.2926, allocations: 47.94 kB / 0.6931 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004246/0.2969, allocations: 2.321 MB / 0.6954 GB, free: 13.58 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.0217/0.3186, allocations: 9.659 MB / 0.7048 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01502/0.3337, allocations: 4.169 MB / 0.7089 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005954/0.3397, allocations: 1.611 MB / 0.7104 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003416/0.3401, allocations: 41.95 kB / 0.7105 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.721e-05/0.3402, allocations: 60.5 kB / 0.7105 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=223): time 8.385e-06/0.3402, allocations: 0 / 0.7105 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=223): time 0.1711/0.5114, allocations: 20.08 MB / 0.7301 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.5115, allocations: 73.41 kB / 0.7302 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008045/0.5196, allocations: 2.691 MB / 0.7328 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009843/0.5206, allocations: 65.7 kB / 0.7329 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001699/0.5224, allocations: 1.165 MB / 0.734 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002181/0.5246, allocations: 0.8166 MB / 0.7348 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00206/0.5266, allocations: 0.5855 MB / 0.7354 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.5268, allocations: 301.1 kB / 0.7357 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007067/0.5339, allocations: 1.799 MB / 0.7375 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007695/0.5417, allocations: 2.155 MB / 0.7396 GB, free: 15.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07033/0.612, allocations: 13.07 MB / 0.7523 GB, free: 2.238 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.788e-05/0.6121, allocations: 4 kB / 0.7523 GB, free: 2.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=429) (initialization): time 0.02074/0.6329, allocations: 7.452 MB / 0.7596 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.6329, allocations: 9.25 kB / 0.7596 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/0.633, allocations: 4 kB / 0.7596 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01282/0.6458, allocations: 3.217 MB / 0.7628 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008387/0.6542, allocations: 1.428 MB / 0.7642 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4543/1.109, allocations: 16.87 MB / 0.7806 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005546/1.114, allocations: 389.1 kB / 0.781 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006616/1.115, allocations: 122.1 kB / 0.7811 GB, free: 104.8 MB / 0.5606 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.00154/1.116, allocations: 0.5027 MB / 0.7816 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009681/1.117, allocations: 305 kB / 0.7819 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02681/1.144, allocations: 8.125 MB / 0.7898 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.131e-05/1.144, allocations: 23.41 kB / 0.7898 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.144, allocations: 0 / 0.7898 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.168e-05/1.144, allocations: 10.97 kB / 0.7899 GB, free: 102.9 MB / 0.5606 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.03061/1.175, allocations: 12.12 MB / 0.8017 GB, free: 98.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.477e-05/1.175, allocations: 0 / 0.8017 GB, free: 98.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/1.177, allocations: 231.7 kB / 0.8019 GB, free: 98.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01335/1.19, allocations: 4.162 MB / 0.806 GB, free: 96.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007695/1.191, allocations: 47.8 kB / 0.806 GB, free: 96.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03564/1.227, allocations: 16.58 MB / 0.8222 GB, free: 80.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.227, allocations: 0 / 0.8222 GB, free: 80.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02744/1.254, allocations: 10.15 MB / 0.8321 GB, free: 69.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/1.256, allocations: 459.6 kB / 0.8326 GB, free: 69.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008821/1.257, allocations: 43.84 kB / 0.8326 GB, free: 69.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002816/1.259, allocations: 167.8 kB / 0.8328 GB, free: 69.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001305/1.261, allocations: 386.4 kB / 0.8331 GB, free: 68.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/1.261, allocations: 55.06 kB / 0.8332 GB, free: 68.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002267/1.263, allocations: 1.779 MB / 0.8349 GB, free: 67.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.263, allocations: 0 / 0.8349 GB, free: 67.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004231/1.267, allocations: 1.097 MB / 0.836 GB, free: 65.96 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.0004826/1.268, allocations: 163 kB / 0.8361 GB, free: 65.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.281, allocations: 6.358 MB / 0.8424 GB, free: 59.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/1.281, allocations: 1.625 kB / 0.8424 GB, free: 59.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.009295/1.29, allocations: 3.388 MB / 0.8457 GB, free: 55.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/1.293, allocations: 230.1 kB / 0.8459 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009589/1.303, allocations: 5.728 MB / 0.8515 GB, free: 49.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009865/1.304, allocations: 1.76 MB / 0.8532 GB, free: 48.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/1.305, allocations: 171.4 kB / 0.8534 GB, free: 47.89 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/1.305, allocations: 4 kB / 0.8534 GB, free: 47.88 MB / 0.5606 GB Notification: Performance of Templates: time 0.1224/1.427, allocations: 126.1 MB / 0.9765 GB, free: 1.629 MB / 0.6387 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)