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.001297/0.001297, allocations: 100.1 kB / 15.88 MB, free: 12 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.364/1.364, allocations: 222.9 MB / 239.5 MB, free: 4.789 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.001482/0.001482, allocations: 196.4 kB / 289.8 MB, free: 2.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5219/0.5219, allocations: 91.9 MB / 431.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 71.89 kB / 0.5018 GB, free: 8.227 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4095, allocations: 71.27 MB / 0.5714 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.0113/0.4208, allocations: 14.88 MB / 0.586 GB, free: 26.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008394/0.4293, allocations: 4.243 MB / 0.5901 GB, free: 23.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003548/0.4329, allocations: 27.09 kB / 0.5901 GB, free: 23.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.4352, allocations: 0.5302 MB / 0.5907 GB, free: 23.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005257/0.4405, allocations: 1.4 MB / 0.592 GB, free: 22.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.4432, allocations: 1.181 MB / 0.5932 GB, free: 21.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005617/0.4489, allocations: 3.831 MB / 0.5969 GB, free: 19.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.4501, allocations: 0.6735 MB / 0.5976 GB, free: 19.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002683/0.4527, allocations: 1.445 MB / 0.599 GB, free: 18.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/0.4555, allocations: 1.96 MB / 0.6009 GB, free: 17.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006799/0.4562, allocations: 196 kB / 0.6011 GB, free: 17.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.4575, allocations: 337.5 kB / 0.6014 GB, free: 17.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005228/0.458, allocations: 0.6756 MB / 0.6021 GB, free: 17.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001648/0.4597, allocations: 1.586 MB / 0.6036 GB, free: 16.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003726/0.4634, allocations: 3.606 MB / 0.6071 GB, free: 14.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4634, allocations: 0.7031 kB / 0.6071 GB, free: 14.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4634, allocations: 0 / 0.6071 GB, free: 14.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001582/0.4636, allocations: 1.125 kB / 0.6071 GB, free: 14.95 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.02318/0.4868, allocations: 5.784 MB / 0.6128 GB, free: 12.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.4869, allocations: 10.09 kB / 0.6128 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/0.5007, allocations: 2.041 MB / 0.6148 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005845/0.5066, allocations: 2.029 MB / 0.6168 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005034/0.5072, allocations: 441.2 kB / 0.6172 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008598/0.508, allocations: 195.6 kB / 0.6174 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005682/0.5137, allocations: 2.313 MB / 0.6196 GB, free: 9.484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/0.5138, allocations: 0 / 0.6196 GB, free: 9.484 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/0.514, allocations: 73.97 kB / 0.6197 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/0.5141, allocations: 46.66 kB / 0.6198 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005334/0.5194, allocations: 2.328 MB / 0.622 GB, free: 8.586 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.01997/0.5394, allocations: 9.707 MB / 0.6315 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009659/0.5491, allocations: 4.172 MB / 0.6356 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003669/0.5528, allocations: 1.619 MB / 0.6372 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003529/0.5532, allocations: 37.91 kB / 0.6372 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.5533, allocations: 56.5 kB / 0.6373 GB, free: 10.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.288e-06/0.5533, allocations: 4 kB / 0.6373 GB, free: 10.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.08872/0.642, allocations: 20.08 MB / 0.6569 GB, free: 6.488 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.6421, allocations: 73.41 kB / 0.6569 GB, free: 6.406 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00481/0.6469, allocations: 2.691 MB / 0.6596 GB, free: 3.703 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000837/0.6478, allocations: 69.7 kB / 0.6596 GB, free: 3.629 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.6488, allocations: 1.173 MB / 0.6608 GB, free: 2.445 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001428/0.6503, allocations: 0.8089 MB / 0.6616 GB, free: 1.625 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/0.6517, allocations: 0.5855 MB / 0.6621 GB, free: 1.031 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.6518, allocations: 301.1 kB / 0.6624 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003535/0.6554, allocations: 1.795 MB / 0.6642 GB, free: 14.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003734/0.6591, allocations: 2.158 MB / 0.6663 GB, free: 12.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05967/0.7188, allocations: 13.08 MB / 0.6791 GB, free: 15.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/0.7189, allocations: 4 kB / 0.6791 GB, free: 15.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=429) (initialization): time 0.02276/0.7416, allocations: 7.452 MB / 0.6863 GB, free: 7.953 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.7417, allocations: 8 kB / 0.6864 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.7417, allocations: 4 kB / 0.6864 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01316/0.7549, allocations: 3.221 MB / 0.6895 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008312/0.7633, allocations: 1.428 MB / 0.6909 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02663/0.7899, allocations: 15.55 MB / 0.7061 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005341/0.7953, allocations: 385.1 kB / 0.7065 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008598/0.7962, allocations: 120 kB / 0.7066 GB, free: 2.512 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 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.001834/0.798, allocations: 0.4956 MB / 0.7071 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/0.7992, allocations: 308.2 kB / 0.7073 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02686/0.826, allocations: 8.122 MB / 0.7153 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/0.8261, allocations: 24 kB / 0.7153 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.8261, allocations: 0 / 0.7153 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-05/0.8262, allocations: 11.95 kB / 0.7153 GB, free: 9.516 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.03382/0.86, allocations: 12.15 MB / 0.7272 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-05/0.8601, allocations: 4 kB / 0.7272 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/0.862, allocations: 219.7 kB / 0.7274 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01401/0.8761, allocations: 4.172 MB / 0.7315 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007617/0.8769, allocations: 44 kB / 0.7315 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03756/0.9144, allocations: 15.14 MB / 0.7463 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9145, allocations: 0 / 0.7463 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03065/0.9452, allocations: 10.14 MB / 0.7562 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/0.9469, allocations: 464.6 kB / 0.7566 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001143/0.948, allocations: 47.92 kB / 0.7567 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003214/0.9512, allocations: 167.8 kB / 0.7568 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00142/0.9527, allocations: 374.4 kB / 0.7572 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001868/0.9529, allocations: 55.98 kB / 0.7573 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00271/0.9556, allocations: 1.779 MB / 0.759 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9556, allocations: 0 / 0.759 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004054/0.9597, allocations: 1.093 MB / 0.7601 GB, free: 11.25 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.0004828/0.9602, allocations: 164.8 kB / 0.7602 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01455/0.9747, allocations: 6.339 MB / 0.7664 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.9748, allocations: 0 / 0.7664 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01035/0.9851, allocations: 3.307 MB / 0.7696 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/0.9883, allocations: 227 kB / 0.7699 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2819/1.27, allocations: 6.818 MB / 0.7765 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/1.271, allocations: 1.763 MB / 0.7782 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/1.273, allocations: 171.5 kB / 0.7784 GB, free: 161 MB / 0.5606 GB Notification: Performance of SimCode: time 1.733e-06/1.273, allocations: 0 / 0.7784 GB, free: 161 MB / 0.5606 GB Notification: Performance of Templates: time 0.1146/1.388, allocations: 125.8 MB / 0.9012 GB, free: 62.83 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)