Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.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.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 109.9 kB / 16.41 MB, free: 6.461 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.336/1.336, allocations: 222.9 MB / 240.1 MB, free: 4.535 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.001254/0.001254, allocations: 188.5 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5124/0.5124, allocations: 91.9 MB / 432.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 80.84 kB / 0.5734 GB, free: 33.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1072, allocations: 71.28 MB / 0.6431 GB, free: 3.543 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.0121/0.1194, allocations: 13.72 MB / 0.6565 GB, free: 5.77 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006969/0.1264, allocations: 3.472 MB / 0.6599 GB, free: 2.281 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.1281, allocations: 31.94 kB / 0.6599 GB, free: 2.25 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.1292, allocations: 0.5615 MB / 0.6604 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003643/0.1329, allocations: 1.555 MB / 0.6619 GB, free: 128 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.1362, allocations: 1.525 MB / 0.6634 GB, free: 14.62 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004239/0.1405, allocations: 3.729 MB / 0.6671 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.1417, allocations: 0.8973 MB / 0.668 GB, free: 9.93 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.1437, allocations: 1.525 MB / 0.6694 GB, free: 8.398 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.1457, allocations: 1.948 MB / 0.6713 GB, free: 6.441 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004528/0.1461, allocations: 284 kB / 0.6716 GB, free: 6.164 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008294/0.147, allocations: 427.8 kB / 0.672 GB, free: 5.746 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005725/0.1476, allocations: 0.7585 MB / 0.6728 GB, free: 4.984 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.149, allocations: 1.639 MB / 0.6744 GB, free: 3.336 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003716/0.1528, allocations: 3.97 MB / 0.6782 GB, free: 15.35 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1528, allocations: 0 / 0.6782 GB, free: 15.35 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1528, allocations: 0 / 0.6782 GB, free: 15.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.82e-05/0.1529, allocations: 0 / 0.6782 GB, free: 15.35 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02405/0.1769, allocations: 6.571 MB / 0.6847 GB, free: 8.684 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.177, allocations: 11.97 kB / 0.6847 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01631/0.1933, allocations: 2.279 MB / 0.6869 GB, free: 6.387 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004114/0.1974, allocations: 1.871 MB / 0.6887 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007156/0.1982, allocations: 0.7291 MB / 0.6894 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005265/0.1987, allocations: 220 kB / 0.6896 GB, free: 3.391 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0068/0.2055, allocations: 3.028 MB / 0.6926 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.2056, allocations: 0 / 0.6926 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002708/0.2059, allocations: 91.94 kB / 0.6927 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.2059, allocations: 48 kB / 0.6927 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006149/0.2121, allocations: 2.788 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.01901/0.2311, allocations: 9.84 MB / 0.7051 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.2431, allocations: 4.184 MB / 0.7092 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004518/0.2476, allocations: 1.964 MB / 0.7111 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.2479, allocations: 45.89 kB / 0.7111 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004884/0.2528, allocations: 2.224 MB / 0.7133 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=248): time 6.994e-06/0.2528, allocations: 3.984 kB / 0.7133 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.1281/0.3809, allocations: 28.18 MB / 0.7408 GB, free: 14.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/0.3811, allocations: 180.2 kB / 0.741 GB, free: 13.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003507/0.3846, allocations: 2.273 MB / 0.7432 GB, free: 11.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006117/0.3852, allocations: 77.77 kB / 0.7433 GB, free: 11.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008331/0.3861, allocations: 1.16 MB / 0.7444 GB, free: 10.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.3871, allocations: 0.8781 MB / 0.7453 GB, free: 9.539 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.3882, allocations: 0.5657 MB / 0.7458 GB, free: 8.965 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.928e-05/0.3883, allocations: 305.1 kB / 0.7461 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0046/0.3929, allocations: 1.951 MB / 0.748 GB, free: 6.711 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004959/0.3979, allocations: 2.322 MB / 0.7503 GB, free: 4.297 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05832/0.4562, allocations: 14.01 MB / 0.764 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.4563, allocations: 4 kB / 0.764 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.3029/0.7592, allocations: 12.5 MB / 0.7762 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.365e-05/0.7593, allocations: 115.5 kB / 0.7763 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.7593, allocations: 6.531 kB / 0.7763 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01912/0.7784, allocations: 5.293 MB / 0.7815 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/0.7814, allocations: 0.5716 MB / 0.782 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05743/0.8388, allocations: 23.16 MB / 0.8046 GB, free: 100 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004196/0.8431, allocations: 494.9 kB / 0.8051 GB, free: 99.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000395/0.8435, allocations: 118 kB / 0.8052 GB, free: 99.84 MB / 0.5606 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 325 * Array equations: 0 * Algorithm blocks: 4 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001142/0.8446, allocations: 0.5333 MB / 0.8057 GB, free: 99.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004873/0.8451, allocations: 296.2 kB / 0.806 GB, free: 99.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03975/0.8849, allocations: 11.89 MB / 0.8176 GB, free: 87.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.749e-05/0.885, allocations: 15.94 kB / 0.8177 GB, free: 87.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.885, allocations: 5.688 kB / 0.8177 GB, free: 87.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009425/0.8859, allocations: 404.6 kB / 0.8181 GB, free: 86.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006672/0.8866, allocations: 52 kB / 0.8181 GB, free: 86.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002937/0.8895, allocations: 295.6 kB / 0.8184 GB, free: 86.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004295/0.8939, allocations: 1.414 MB / 0.8198 GB, free: 84.92 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01635/0.9102, allocations: 5.893 MB / 0.8255 GB, free: 79.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01174/0.922, allocations: 5.884 MB / 0.8313 GB, free: 73.07 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003561/0.9256, allocations: 1.612 MB / 0.8328 GB, free: 71.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002003/0.9276, allocations: 1.511 MB / 0.8343 GB, free: 69.94 MB / 0.5606 GB Notification: Performance of Backend: time 5.01e-07/0.9276, allocations: 0 / 0.8343 GB, free: 69.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01565/0.9433, allocations: 5.094 MB / 0.8393 GB, free: 64.81 MB / 0.5606 GB Notification: Performance of SimCode: time 0.007005/0.9503, allocations: 6.278 MB / 0.8454 GB, free: 58.51 MB / 0.5606 GB Notification: Performance of Templates: time 0.07366/1.024, allocations: 58.64 MB / 0.9027 GB, free: 15.95 MB / 0.5762 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)