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.001524/0.001524, allocations: 113.1 kB / 16.42 MB, free: 6.473 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.398/1.398, allocations: 222.9 MB / 240.1 MB, free: 4.574 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.001264/0.001264, allocations: 184.5 kB / 290.4 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5061/0.5061, allocations: 91.9 MB / 432.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001469, allocations: 79.22 kB / 0.5734 GB, free: 33.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1032, allocations: 71.27 MB / 0.643 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.01209/0.1153, allocations: 14.07 MB / 0.6567 GB, free: 5.383 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007183/0.1225, allocations: 4.128 MB / 0.6608 GB, free: 1.242 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.124, allocations: 20 kB / 0.6608 GB, free: 1.223 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.1256, allocations: 0.6703 MB / 0.6614 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003876/0.1295, allocations: 1.726 MB / 0.6631 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.1319, allocations: 1.273 MB / 0.6644 GB, free: 13.56 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004298/0.1363, allocations: 4.085 MB / 0.6683 GB, free: 9.461 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.1374, allocations: 0.7712 MB / 0.6691 GB, free: 8.648 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.1397, allocations: 1.63 MB / 0.6707 GB, free: 7.012 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002654/0.1423, allocations: 2.132 MB / 0.6728 GB, free: 4.871 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008637/0.1432, allocations: 368 kB / 0.6731 GB, free: 4.512 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.1445, allocations: 0.5038 MB / 0.6736 GB, free: 4.008 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008357/0.1453, allocations: 0.8559 MB / 0.6745 GB, free: 3.148 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001986/0.1473, allocations: 1.76 MB / 0.6762 GB, free: 1.379 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004426/0.1517, allocations: 4.57 MB / 0.6806 GB, free: 12.79 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1518, allocations: 0 / 0.6806 GB, free: 12.79 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1518, allocations: 0 / 0.6806 GB, free: 12.79 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001076/0.1519, allocations: 0 / 0.6806 GB, free: 12.79 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.02003/0.1719, allocations: 5.783 MB / 0.6863 GB, free: 6.934 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.172, allocations: 8.031 kB / 0.6863 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01403/0.186, allocations: 2.044 MB / 0.6883 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003501/0.1895, allocations: 2.026 MB / 0.6903 GB, free: 2.785 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004393/0.19, allocations: 439.1 kB / 0.6907 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004947/0.1905, allocations: 195.8 kB / 0.6909 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004931/0.1954, allocations: 2.307 MB / 0.6931 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/0.1955, allocations: 0 / 0.6931 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002359/0.1957, allocations: 72 kB / 0.6932 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.1957, allocations: 47.94 kB / 0.6932 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004632/0.2004, allocations: 2.321 MB / 0.6955 GB, free: 13.34 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.0162/0.2166, allocations: 9.651 MB / 0.7049 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.2268, allocations: 4.176 MB / 0.709 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/0.2299, allocations: 1.615 MB / 0.7106 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.2301, allocations: 37.97 kB / 0.7106 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.2302, allocations: 64.5 kB / 0.7107 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=223): time 4.358e-06/0.2302, allocations: 0 / 0.7107 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=223): time 0.09208/0.3223, allocations: 20.08 MB / 0.7303 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.3223, allocations: 73.41 kB / 0.7304 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004056/0.3264, allocations: 2.691 MB / 0.733 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003897/0.3268, allocations: 69.7 kB / 0.7331 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008951/0.3277, allocations: 1.169 MB / 0.7342 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009418/0.3286, allocations: 0.8088 MB / 0.735 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/0.33, allocations: 0.5894 MB / 0.7356 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.33, allocations: 305.1 kB / 0.7359 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003648/0.3337, allocations: 1.795 MB / 0.7376 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003911/0.3376, allocations: 2.147 MB / 0.7397 GB, free: 15.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05962/0.3973, allocations: 13.08 MB / 0.7525 GB, free: 1.996 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/0.3973, allocations: 4 kB / 0.7525 GB, free: 1.992 MB / 0.545 GB Notification: Performance of matching and sorting (n=429) (initialization): time 0.02144/0.4187, allocations: 7.444 MB / 0.7597 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.4188, allocations: 8 kB / 0.7598 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.4188, allocations: 4 kB / 0.7598 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01353/0.4324, allocations: 3.236 MB / 0.7629 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008473/0.4409, allocations: 1.42 MB / 0.7643 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2815/0.7224, allocations: 16.86 MB / 0.7808 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004418/0.7269, allocations: 387.2 kB / 0.7811 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003748/0.7272, allocations: 117.3 kB / 0.7812 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.001156/0.7284, allocations: 0.5056 MB / 0.7817 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005809/0.729, allocations: 307.2 kB / 0.782 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02613/0.7551, allocations: 8.126 MB / 0.79 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.243e-05/0.7552, allocations: 10.88 kB / 0.79 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.7552, allocations: 4.188 kB / 0.79 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008702/0.7561, allocations: 464 kB / 0.7904 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005542/0.7567, allocations: 45.8 kB / 0.7905 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002594/0.7593, allocations: 173.1 kB / 0.7906 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001884/0.7611, allocations: 0.8487 MB / 0.7915 GB, free: 102.3 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.015/0.7762, allocations: 4.822 MB / 0.7962 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008497/0.7847, allocations: 4.811 MB / 0.8009 GB, free: 98.82 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00239/0.7871, allocations: 1.273 MB / 0.8021 GB, free: 98.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001981/0.7891, allocations: 1.778 MB / 0.8039 GB, free: 97.63 MB / 0.5606 GB Notification: Performance of Backend: time 3.8e-07/0.7891, allocations: 0 / 0.8039 GB, free: 97.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01132/0.8004, allocations: 5.184 MB / 0.8089 GB, free: 93.73 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006545/0.807, allocations: 6.558 MB / 0.8153 GB, free: 87.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.0606/0.8676, allocations: 52.57 MB / 0.8667 GB, free: 34.82 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)