Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.GenOrder3and7.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/Complex 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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC3ph.Generation.GenOrder3and7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.GenOrder3and7") translateModel(PowerSystems.Examples.AC3ph.Generation.GenOrder3and7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.GenOrder3and7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 108.7 kB / 17.74 MB, free: 5.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 190.5 kB / 18.68 MB, free: 4.277 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.344/1.344, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.178/0.178, allocations: 38.03 MB / 330.6 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.91 kB / 458.8 MB, free: 6.801 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.278, allocations: 58.05 MB / 0.5048 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.GenOrder3and7): time 0.0124/0.2904, allocations: 13.35 MB / 0.5178 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.3031, allocations: 8.124 MB / 0.5257 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.3047, allocations: 53.34 kB / 0.5258 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1018/0.4065, allocations: 72.57 MB / 0.5967 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004271/0.4108, allocations: 1.427 MB / 0.5981 GB, free: 8.945 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.4136, allocations: 0.9997 MB / 0.599 GB, free: 7.949 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01641/0.43, allocations: 12.32 MB / 0.6111 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002458/0.4325, allocations: 1.924 MB / 0.6129 GB, free: 9.637 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02587/0.4584, allocations: 18.89 MB / 0.6314 GB, free: 6.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002546/0.4609, allocations: 1.725 MB / 0.6331 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006103/0.4615, allocations: 272 kB / 0.6333 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.4633, allocations: 0.8622 MB / 0.6342 GB, free: 3.867 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.4645, allocations: 1.22 MB / 0.6354 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.4663, allocations: 1.423 MB / 0.6368 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004131/0.4704, allocations: 4.048 MB / 0.6407 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.4704, allocations: 0 / 0.6407 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4705, allocations: 0 / 0.6407 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.833e-05/0.4706, allocations: 0 / 0.6407 GB, free: 13.15 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 520 * Number of variables: 520 Notification: Performance of Generate backend data structure: time 0.006738/0.4773, allocations: 3.207 MB / 0.6438 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4773, allocations: 11.89 kB / 0.6439 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.4791, allocations: 399 kB / 0.6442 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00383/0.4829, allocations: 1.994 MB / 0.6462 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.4831, allocations: 155.7 kB / 0.6463 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000528/0.4836, allocations: 243.8 kB / 0.6466 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004206/0.4878, allocations: 2.748 MB / 0.6492 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.189e-05/0.4879, allocations: 15.95 kB / 0.6493 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.4881, allocations: 75.98 kB / 0.6493 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003615/0.4885, allocations: 155.6 kB / 0.6495 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004149/0.4926, allocations: 2.489 MB / 0.6519 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/0.5053, allocations: 8.689 MB / 0.6604 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/0.5078, allocations: 1.718 MB / 0.6621 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001778/0.5096, allocations: 1.214 MB / 0.6633 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.5097, allocations: 37.22 kB / 0.6633 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002021/0.5118, allocations: 1.409 MB / 0.6647 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=200): time 3.927e-06/0.5118, allocations: 0 / 0.6647 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=291): time 0.09359/0.6054, allocations: 29.89 MB / 0.6939 GB, free: 5.934 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/0.6056, allocations: 405.8 kB / 0.6943 GB, free: 5.449 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.6077, allocations: 1.536 MB / 0.6958 GB, free: 3.906 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002011/0.6079, allocations: 81.69 kB / 0.6958 GB, free: 3.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000726/0.6087, allocations: 0.9545 MB / 0.6968 GB, free: 2.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007717/0.6094, allocations: 0.9878 MB / 0.6977 GB, free: 1.859 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008509/0.6103, allocations: 0.534 MB / 0.6982 GB, free: 1.316 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.6104, allocations: 301.1 kB / 0.6985 GB, free: 1.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002645/0.613, allocations: 1.655 MB / 0.7002 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002857/0.6159, allocations: 2.119 MB / 0.7022 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02303/0.639, allocations: 8.986 MB / 0.711 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.639, allocations: 0 / 0.711 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.2129/0.8519, allocations: 6.504 MB / 0.7173 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.852, allocations: 35.91 kB / 0.7174 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0116/0.8636, allocations: 5.887 MB / 0.7231 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007434/0.871, allocations: 2.617 MB / 0.7257 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0028/0.8739, allocations: 0.7178 MB / 0.7264 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03886/0.9127, allocations: 42.96 MB / 0.7683 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.9146, allocations: 173.9 kB / 0.7685 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.9149, allocations: 108 kB / 0.7686 GB, free: 150.1 MB / 0.5606 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.turboGen2.generator.psi_rd[1] = 0.0 $DER.turboGen2.generator.psi_rq[1] = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002851/0.9178, allocations: 2.242 MB / 0.7708 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002158/0.9199, allocations: 2.06 MB / 0.7728 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01939/0.9393, allocations: 8.856 MB / 0.7815 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.355e-06/0.9394, allocations: 4 kB / 0.7815 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=397) (initialization_lambda0): time 0.01075/0.9501, allocations: 6.415 MB / 0.7877 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.9502, allocations: 41.69 kB / 0.7878 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009733/0.9599, allocations: 5.784 MB / 0.7934 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006725/0.9666, allocations: 2.613 MB / 0.796 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.968, allocations: 369.7 kB / 0.7963 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03202/1, allocations: 36.66 MB / 0.8321 GB, free: 85.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/1.002, allocations: 171.4 kB / 0.8323 GB, free: 84.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002897/1.002, allocations: 104 kB / 0.8324 GB, free: 84.86 MB / 0.5606 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.turboGen2.generator.psi_rd[1] = 0.0 $DER.turboGen2.generator.psi_rq[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 58 (system.initime,relayGrd.cnt,$PRE.relayGrd.cnt,$whenCondition1,$PRE.switchGrd1.switch_a.open,$PRE.switchGrd1.switch_b.open,$PRE.switchGrd1.switch_c.open,$PRE.switchGrd2.switch_a.open,$PRE.switchGrd2.switch_b.open,$PRE.switchGrd2.switch_c.open,relayGrd.y[3],$PRE.relayGrd.y[3],relayGrd.y[2],$PRE.relayGrd.y[2],relayGrd.y[1],$PRE.relayGrd.y[1],switchGrd2.switch_c.closed,switchGrd2.switch_c.open,switchGrd2.switch_c.arc,$PRE.switchGrd2.switch_c.arc,switchGrd2.switch_b.closed,switchGrd2.switch_b.open,switchGrd2.switch_b.arc,$PRE.switchGrd2.switch_b.arc,switchGrd2.switch_a.closed,switchGrd2.switch_a.open,switchGrd2.switch_a.arc,$PRE.switchGrd2.switch_a.arc,switchGrd1.switch_c.closed,switchGrd1.switch_c.open,switchGrd1.switch_c.arc,$PRE.switchGrd1.switch_c.arc,switchGrd1.switch_b.closed,switchGrd1.switch_b.open,switchGrd1.switch_b.arc,$PRE.switchGrd1.switch_b.arc,switchGrd1.switch_a.closed,switchGrd1.switch_a.open,switchGrd1.switch_a.arc,$PRE.switchGrd1.switch_a.arc,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 228 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 2, 1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,23,100.0%), (1,2,100.0%), (6,11,77.8%), (1,3,100.0%), (5,25,52.0%), (1,2,100.0%), (1,4,100.0%), (6,12,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000676/1.003, allocations: 396.6 kB / 0.8328 GB, free: 84.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005152/1.003, allocations: 246.5 kB / 0.833 GB, free: 84.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008642/1.012, allocations: 5.412 MB / 0.8383 GB, free: 78.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/1.012, allocations: 11.95 kB / 0.8383 GB, free: 78.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/1.012, allocations: 4 kB / 0.8383 GB, free: 78.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009422/1.013, allocations: 0.6221 MB / 0.8389 GB, free: 78.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004157/1.014, allocations: 83.97 kB / 0.839 GB, free: 77.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/1.015, allocations: 159.6 kB / 0.8391 GB, free: 77.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005593/1.016, allocations: 257.6 kB / 0.8394 GB, free: 77.54 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01087/1.026, allocations: 6.16 MB / 0.8454 GB, free: 71.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008037/1.034, allocations: 6.946 MB / 0.8522 GB, free: 64.31 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002355/1.037, allocations: 2.112 MB / 0.8542 GB, free: 62.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001594/1.038, allocations: 1.052 MB / 0.8553 GB, free: 61.14 MB / 0.5606 GB Notification: Performance of Backend: time 5.21e-07/1.039, allocations: 0 / 0.8553 GB, free: 61.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01707/1.056, allocations: 10.53 MB / 0.8656 GB, free: 50.28 MB / 0.5606 GB Notification: Performance of SimCode: time 0.008173/1.064, allocations: 7.052 MB / 0.8724 GB, free: 43.23 MB / 0.5606 GB Notification: Performance of Templates: time 0.2899/1.354, allocations: 74.73 MB / 0.9454 GB, free: 180.5 MB / 0.5762 GB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.GenOrder3and7.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.GenOrder3and7.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.GenOrder3and7.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.GenOrder3and7.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.GenOrder3and7.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.GenOrder3and7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.GenOrder3and7.pipe 2>&1)