Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.GenOrder3and7.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.GenOrder3and7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.GenOrder3and7") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002532/0.002532, allocations: 361.4 kB / 17.21 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.779/3.779, allocations: 388.9 MB / 406.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003501/0.003501, allocations: 225.6 kB / 452.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7294/0.7294, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004396, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09029/0.09075, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.GenOrder3and7): time 0.01649/0.1073, allocations: 14.15 MB / 0.688 GB, free: 46.62 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01627/0.1236, allocations: 8.257 MB / 0.6961 GB, free: 38.35 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/0.1259, allocations: 95.38 kB / 0.6962 GB, free: 38.25 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.4514/0.5774, allocations: 73.25 MB / 0.7677 GB, free: 109.1 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004899/0.5823, allocations: 1.366 MB / 0.7691 GB, free: 108.7 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.5858, allocations: 0.796 MB / 0.7698 GB, free: 108.5 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.02322/0.609, allocations: 13.04 MB / 0.7826 GB, free: 99.81 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003746/0.6128, allocations: 1.856 MB / 0.7844 GB, free: 98.49 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03634/0.6492, allocations: 19.03 MB / 0.803 GB, free: 80.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003098/0.6523, allocations: 1.601 MB / 0.8045 GB, free: 79.08 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005473/0.6529, allocations: 100 kB / 0.8046 GB, free: 78.98 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.6549, allocations: 0.7015 MB / 0.8053 GB, free: 78.3 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.6561, allocations: 1.044 MB / 0.8063 GB, free: 77.27 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007897/0.6569, allocations: 496.4 kB / 0.8068 GB, free: 76.78 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003896/0.6608, allocations: 3.092 MB / 0.8098 GB, free: 73.79 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.6609, allocations: 0 / 0.8098 GB, free: 73.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6609, allocations: 0 / 0.8098 GB, free: 73.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.239e-05/0.661, allocations: 4 kB / 0.8098 GB, free: 73.79 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.008051/0.669, allocations: 2.675 MB / 0.8124 GB, free: 71.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.6691, allocations: 15.97 kB / 0.8125 GB, free: 71.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/0.6715, allocations: 393.4 kB / 0.8128 GB, free: 70.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005284/0.6768, allocations: 1.873 MB / 0.8147 GB, free: 68.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.677, allocations: 155.1 kB / 0.8148 GB, free: 68.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007421/0.6778, allocations: 241.6 kB / 0.815 GB, free: 68.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005867/0.6836, allocations: 2.75 MB / 0.8177 GB, free: 65.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-05/0.6837, allocations: 11.91 kB / 0.8177 GB, free: 65.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002787/0.684, allocations: 79.08 kB / 0.8178 GB, free: 65.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005767/0.6846, allocations: 155.5 kB / 0.818 GB, free: 65.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006005/0.6906, allocations: 2.502 MB / 0.8204 GB, free: 62.83 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0211/0.7118, allocations: 8.753 MB / 0.829 GB, free: 53.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004513/0.7163, allocations: 1.554 MB / 0.8305 GB, free: 52.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003826/0.7202, allocations: 1.25 MB / 0.8317 GB, free: 51.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.7204, allocations: 27.27 kB / 0.8317 GB, free: 51.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004008/0.7245, allocations: 1.438 MB / 0.8331 GB, free: 49.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=200): time 6.732e-06/0.7245, allocations: 0 / 0.8331 GB, free: 49.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1303/0.8548, allocations: 21.24 MB / 0.8539 GB, free: 28.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.8549, allocations: 400.4 kB / 0.8542 GB, free: 27.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003047/0.858, allocations: 1.52 MB / 0.8557 GB, free: 26.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005869/0.8586, allocations: 81.69 kB / 0.8558 GB, free: 26.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008506/0.8595, allocations: 0.9312 MB / 0.8567 GB, free: 25.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.8605, allocations: 0.8111 MB / 0.8575 GB, free: 24.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.8608, allocations: 48 kB / 0.8576 GB, free: 24.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.861, allocations: 416.8 kB / 0.858 GB, free: 24.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003665/0.8646, allocations: 1.368 MB / 0.8593 GB, free: 22.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003837/0.8685, allocations: 1.803 MB / 0.861 GB, free: 20.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004049/0.8726, allocations: 1.597 MB / 0.8626 GB, free: 19.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/0.8727, allocations: 4 kB / 0.8626 GB, free: 19.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01735/0.89, allocations: 5.43 MB / 0.8679 GB, free: 13.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002615/0.8904, allocations: 406.1 kB / 0.8683 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01523/0.9056, allocations: 4.843 MB / 0.873 GB, free: 8.129 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/0.9157, allocations: 1.988 MB / 0.875 GB, free: 6.113 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005715/0.9214, allocations: 0.8739 MB / 0.8758 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3637/1.285, allocations: 35.34 MB / 0.9103 GB, free: 144.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003392/1.289, allocations: 181 kB / 0.9105 GB, free: 144.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004604/1.289, allocations: 94.83 kB / 0.9106 GB, free: 144.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.289, allocations: 3.344 kB / 0.9106 GB, free: 144.9 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0182/1.307, allocations: 5.113 MB / 0.9156 GB, free: 144.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01547/1.323, allocations: 4.714 MB / 0.9202 GB, free: 144 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/1.334, allocations: 1.984 MB / 0.9221 GB, free: 143.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/1.336, allocations: 365 kB / 0.9225 GB, free: 143.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0465/1.383, allocations: 29.18 MB / 0.951 GB, free: 122.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/1.386, allocations: 157.9 kB / 0.9511 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004304/1.386, allocations: 100.8 kB / 0.9512 GB, free: 122.3 MB / 474.7 MB 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,$whenCondition1,$PRE.relayGrd.cnt,relayGrd.cnt,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.switchGrd1.switch_a.arc,switchGrd1.switch_a.arc,$PRE.switchGrd1.switch_a.open,switchGrd1.switch_a.open,switchGrd1.switch_a.closed,$PRE.switchGrd1.switch_b.arc,switchGrd1.switch_b.arc,$PRE.switchGrd1.switch_b.open,switchGrd1.switch_b.open,switchGrd1.switch_b.closed,$PRE.switchGrd1.switch_c.arc,switchGrd1.switch_c.arc,$PRE.switchGrd1.switch_c.open,switchGrd1.switch_c.open,switchGrd1.switch_c.closed,$PRE.switchGrd2.switch_a.arc,switchGrd2.switch_a.arc,$PRE.switchGrd2.switch_a.open,switchGrd2.switch_a.open,switchGrd2.switch_a.closed,$PRE.switchGrd2.switch_b.arc,switchGrd2.switch_b.arc,$PRE.switchGrd2.switch_b.open,switchGrd2.switch_b.open,switchGrd2.switch_b.closed,$PRE.switchGrd2.switch_c.arc,switchGrd2.switch_c.arc,$PRE.switchGrd2.switch_c.open,switchGrd2.switch_c.open,switchGrd2.switch_c.closed,$PRE.relayGrd.y[1],relayGrd.y[1],$PRE.relayGrd.y[2],relayGrd.y[2],$PRE.relayGrd.y[3],relayGrd.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 223 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,2,1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(3,100.0%) 23,(1,100.0%) 2,(6,77.8%) 12,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(6,77.8%) 12,(1,100.0%) 3} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.002127/1.389, allocations: 0.8546 MB / 0.9521 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006799/1.389, allocations: 221.9 kB / 0.9523 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/1.401, allocations: 4.078 MB / 0.9563 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.95e-05/1.401, allocations: 16.14 kB / 0.9563 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.401, allocations: 1.344 kB / 0.9563 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/1.402, allocations: 0.5384 MB / 0.9568 GB, free: 119.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005395/1.403, allocations: 80.98 kB / 0.9569 GB, free: 119.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002354/1.405, allocations: 154 kB / 0.957 GB, free: 119.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005979/1.406, allocations: 216.2 kB / 0.9572 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01522/1.421, allocations: 4.851 MB / 0.962 GB, free: 118 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01225/1.433, allocations: 5.824 MB / 0.9677 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003706/1.437, allocations: 1.73 MB / 0.9693 GB, free: 114.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002473/1.44, allocations: 1.037 MB / 0.9704 GB, free: 114.3 MB / 474.7 MB Notification: Performance of Backend: time 4.91e-07/1.44, allocations: 0 / 0.9704 GB, free: 114.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02628/1.466, allocations: 9.42 MB / 0.9796 GB, free: 109.2 MB / 474.7 MB Notification: Performance of SimCode: time 0.01236/1.478, allocations: 7.339 MB / 0.9867 GB, free: 102.9 MB / 474.7 MB Notification: Performance of Templates: time 0.125/1.603, allocations: 57.42 MB / 1.043 GB, free: 45.7 MB / 474.7 MB