Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.331/1.331, allocations: 222.9 MB / 240.1 MB, free: 4.375 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.001291/0.001291, allocations: 188.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.5175/0.5175, allocations: 91.9 MB / 432.4 MB, free: 9.113 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 80.84 kB / 0.5734 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1148, allocations: 71.29 MB / 0.643 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007003/0.1219, allocations: 6.718 MB / 0.6496 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004306/0.1262, allocations: 2.013 MB / 0.6515 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007907/0.1271, allocations: 12 kB / 0.6516 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007323/0.1278, allocations: 245.9 kB / 0.6518 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.1301, allocations: 0.8856 MB / 0.6526 GB, free: 9.66 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1314, allocations: 0.6375 MB / 0.6533 GB, free: 9.027 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.1333, allocations: 1.682 MB / 0.6549 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004965/0.1338, allocations: 326.5 kB / 0.6552 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000883/0.1347, allocations: 0.6847 MB / 0.6559 GB, free: 6.324 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.1358, allocations: 0.879 MB / 0.6568 GB, free: 5.441 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.136, allocations: 128 kB / 0.6569 GB, free: 5.316 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005026/0.1365, allocations: 267.9 kB / 0.6571 GB, free: 5.055 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.1369, allocations: 354.5 kB / 0.6575 GB, free: 4.707 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006153/0.1375, allocations: 0.6991 MB / 0.6582 GB, free: 4.004 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.1391, allocations: 1.728 MB / 0.6598 GB, free: 2.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1391, allocations: 4 kB / 0.6598 GB, free: 2.266 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1391, allocations: 0 / 0.6598 GB, free: 2.266 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.1391, allocations: 0 / 0.6598 GB, free: 2.266 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.01005/0.1492, allocations: 2.778 MB / 0.6626 GB, free: 15.42 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.1493, allocations: 11.97 kB / 0.6626 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00565/0.1549, allocations: 0.7787 MB / 0.6633 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.1568, allocations: 0.9219 MB / 0.6642 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/0.1571, allocations: 260.2 kB / 0.6645 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.1573, allocations: 95.78 kB / 0.6646 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.1599, allocations: 1.114 MB / 0.6657 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1599, allocations: 0 / 0.6657 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.16, allocations: 35.98 kB / 0.6657 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.16, allocations: 16 kB / 0.6657 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.1623, allocations: 0.9995 MB / 0.6667 GB, free: 11.09 MB / 478.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.008096/0.1704, allocations: 3.895 MB / 0.6705 GB, free: 7.012 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008745/0.1792, allocations: 2.395 MB / 0.6728 GB, free: 4.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.181, allocations: 0.6957 MB / 0.6735 GB, free: 3.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.1812, allocations: 16.92 kB / 0.6735 GB, free: 3.805 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002281/0.1835, allocations: 0.8428 MB / 0.6743 GB, free: 2.945 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 4.618e-06/0.1835, allocations: 0 / 0.6743 GB, free: 2.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.03264/0.2162, allocations: 7.085 MB / 0.6813 GB, free: 11.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/0.2163, allocations: 115.8 kB / 0.6814 GB, free: 11.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.2187, allocations: 1.139 MB / 0.6825 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003757/0.2191, allocations: 45.7 kB / 0.6825 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005377/0.2197, allocations: 0.5047 MB / 0.683 GB, free: 9.941 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008023/0.2205, allocations: 370.9 kB / 0.6834 GB, free: 9.574 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/0.2217, allocations: 295.4 kB / 0.6837 GB, free: 9.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2218, allocations: 301.1 kB / 0.6839 GB, free: 8.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.2236, allocations: 0.7965 MB / 0.6847 GB, free: 8.188 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/0.2255, allocations: 0.9733 MB / 0.6857 GB, free: 7.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02686/0.2524, allocations: 5.923 MB / 0.6915 GB, free: 1.168 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.2525, allocations: 0 / 0.6915 GB, free: 1.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01476/0.2672, allocations: 4.5 MB / 0.6958 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.584e-05/0.2673, allocations: 67.34 kB / 0.6959 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.2673, allocations: 4 kB / 0.6959 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006546/0.2739, allocations: 1.662 MB / 0.6975 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.2754, allocations: 299.6 kB / 0.6978 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/0.2967, allocations: 8.619 MB / 0.7062 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/0.2987, allocations: 202.7 kB / 0.7064 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.2989, allocations: 59.91 kB / 0.7065 GB, free: 1.566 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 2 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006918/0.2996, allocations: 311.2 kB / 0.7068 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/0.3, allocations: 130.4 kB / 0.7069 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/0.3132, allocations: 3.92 MB / 0.7107 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.56e-05/0.3133, allocations: 3.984 kB / 0.7107 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.3133, allocations: 0 / 0.7107 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004536/0.3138, allocations: 235.2 kB / 0.711 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003316/0.3141, allocations: 19.94 kB / 0.711 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/0.3155, allocations: 111.8 kB / 0.7111 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/0.3165, allocations: 444.3 kB / 0.7115 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007235/0.3237, allocations: 2.316 MB / 0.7138 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004821/0.3286, allocations: 2.343 MB / 0.7161 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001367/0.33, allocations: 0.5855 MB / 0.7166 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001277/0.3313, allocations: 0.7673 MB / 0.7174 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of Backend: time 8.42e-07/0.3313, allocations: 3.938 kB / 0.7174 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006683/0.338, allocations: 2.178 MB / 0.7195 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004265/0.3423, allocations: 3.071 MB / 0.7225 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of Templates: time 0.0385/0.3808, allocations: 23.84 MB / 0.7458 GB, free: 9.086 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)