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.0008778/0.0008779, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.264/1.264, allocations: 223.2 MB / 239 MB, free: 5.453 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.001107/0.001107, allocations: 176.1 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4673/0.4673, allocations: 91.92 MB / 433.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 12 kB / 0.5042 GB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.305, allocations: 72.47 MB / 0.5749 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.007923/0.313, allocations: 13.22 MB / 0.5878 GB, free: 27.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006034/0.319, allocations: 4.024 MB / 0.5918 GB, free: 24.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.3209, allocations: 26.66 kB / 0.5918 GB, free: 24.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.3222, allocations: 0.4936 MB / 0.5923 GB, free: 24.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003374/0.3256, allocations: 1.301 MB / 0.5935 GB, free: 23.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.3276, allocations: 1.016 MB / 0.5945 GB, free: 22.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003949/0.3315, allocations: 3.619 MB / 0.5981 GB, free: 20.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.3326, allocations: 0.6305 MB / 0.5987 GB, free: 20.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.3346, allocations: 1.353 MB / 0.6 GB, free: 19.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002617/0.3373, allocations: 1.829 MB / 0.6018 GB, free: 19.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000857/0.3381, allocations: 167.8 kB / 0.602 GB, free: 19.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.3393, allocations: 306.8 kB / 0.6023 GB, free: 19.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004646/0.3398, allocations: 0.6121 MB / 0.6028 GB, free: 18.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008072/0.3406, allocations: 0.5431 MB / 0.6034 GB, free: 18.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003374/0.344, allocations: 3.5 MB / 0.6068 GB, free: 17.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.344, allocations: 0 / 0.6068 GB, free: 17.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.344, allocations: 5.219 kB / 0.6068 GB, free: 17.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001196/0.3442, allocations: 0 / 0.6068 GB, free: 17.42 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.01771/0.3619, allocations: 5.342 MB / 0.612 GB, free: 15.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.3619, allocations: 10.56 kB / 0.612 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01402/0.376, allocations: 2.054 MB / 0.614 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004552/0.3805, allocations: 1.92 MB / 0.6159 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003832/0.3809, allocations: 455.7 kB / 0.6163 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005451/0.3815, allocations: 198.4 kB / 0.6165 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004859/0.3864, allocations: 2.406 MB / 0.6189 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.3864, allocations: 0.7031 kB / 0.6189 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.3866, allocations: 70.28 kB / 0.619 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.3867, allocations: 43.38 kB / 0.619 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00456/0.3912, allocations: 2.423 MB / 0.6214 GB, free: 11.52 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.0149/0.4062, allocations: 9.85 MB / 0.631 GB, free: 3.867 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008304/0.4145, allocations: 4.762 MB / 0.6356 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00332/0.4178, allocations: 1.716 MB / 0.6373 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.4181, allocations: 41.91 kB / 0.6373 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.4182, allocations: 52.56 kB / 0.6374 GB, free: 13.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 3.918e-06/0.4182, allocations: 0 / 0.6374 GB, free: 13.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.08212/0.5003, allocations: 23.06 MB / 0.6599 GB, free: 5.945 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.5004, allocations: 81.34 kB / 0.66 GB, free: 5.855 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/0.5043, allocations: 2.667 MB / 0.6626 GB, free: 3.176 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005912/0.5049, allocations: 65.7 kB / 0.6627 GB, free: 3.105 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008496/0.5058, allocations: 1.165 MB / 0.6638 GB, free: 1.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001021/0.5068, allocations: 0.8127 MB / 0.6646 GB, free: 1.105 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.5071, allocations: 64 kB / 0.6647 GB, free: 1.043 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.5073, allocations: 433 kB / 0.6651 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003505/0.5108, allocations: 1.892 MB / 0.6669 GB, free: 14.72 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00385/0.5146, allocations: 2.26 MB / 0.6691 GB, free: 12.38 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003842/0.5185, allocations: 2.081 MB / 0.6712 GB, free: 10.28 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.5185, allocations: 4 kB / 0.6712 GB, free: 10.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=429) (initialization): time 0.02081/0.5393, allocations: 8.376 MB / 0.6793 GB, free: 1.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.5394, allocations: 8 kB / 0.6793 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.5394, allocations: 8 kB / 0.6794 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01364/0.5531, allocations: 3.887 MB / 0.6831 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007356/0.5605, allocations: 1.752 MB / 0.6849 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02867/0.5891, allocations: 19.17 MB / 0.7036 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004536/0.5937, allocations: 449.2 kB / 0.704 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005767/0.5943, allocations: 123.9 kB / 0.7041 GB, free: 7.418 MB / 0.4981 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 g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(flow=false start = g4.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(flow=false start = g3.order6_1.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (359): * Single equations (assignments): 343 * 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.001363/0.5957, allocations: 0.5011 MB / 0.7046 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007639/0.5965, allocations: 304.2 kB / 0.7049 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02521/0.6217, allocations: 9.642 MB / 0.7143 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/0.6217, allocations: 20 kB / 0.7143 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6217, allocations: 8 kB / 0.7144 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.682e-05/0.6218, allocations: 15.94 kB / 0.7144 GB, free: 12.89 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.03203/0.6538, allocations: 13.67 MB / 0.7277 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/0.6539, allocations: 0 / 0.7277 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/0.6555, allocations: 227.6 kB / 0.7279 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01335/0.6689, allocations: 4.695 MB / 0.7325 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006159/0.6696, allocations: 47.98 kB / 0.7326 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03628/0.7058, allocations: 16.71 MB / 0.7489 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7059, allocations: 0 / 0.7489 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02935/0.7352, allocations: 11.77 MB / 0.7604 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.7365, allocations: 472.6 kB / 0.7608 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006975/0.7372, allocations: 44 kB / 0.7609 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002557/0.7398, allocations: 227.8 kB / 0.7611 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/0.7409, allocations: 374.3 kB / 0.7614 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/0.7411, allocations: 63.98 kB / 0.7615 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002448/0.7435, allocations: 1.759 MB / 0.7632 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7435, allocations: 0 / 0.7632 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003543/0.7471, allocations: 1.1 MB / 0.7643 GB, free: 9.328 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 (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.0003862/0.7475, allocations: 160.8 kB / 0.7644 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01422/0.7617, allocations: 7.051 MB / 0.7713 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.7618, allocations: 7.875 kB / 0.7713 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2177/0.9795, allocations: 3.678 MB / 0.7749 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.002596/0.9821, allocations: 229.1 kB / 0.7751 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008819/0.991, allocations: 6.755 MB / 0.7817 GB, free: 162 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009452/0.9919, allocations: 1.762 MB / 0.7835 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001307/0.9933, allocations: 253 kB / 0.7837 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000775/0.994, allocations: 163.4 kB / 0.7839 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.61e-07/0.9941, allocations: 0 / 0.7839 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.06972/1.064, allocations: 49.84 MB / 0.8325 GB, free: 136.4 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)