Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Drives.ASM.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.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Drives.ASM") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002559/0.002564, 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.797/3.797, allocations: 388.9 MB / 406.8 MB, free: 12.01 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.003533/0.003534, allocations: 227.9 kB / 452.2 MB, free: 14.59 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.7376/0.7376, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004602, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.08969, allocations: 53.24 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.0093/0.09904, allocations: 7.688 MB / 0.6817 GB, free: 53.11 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.1092, allocations: 5.161 MB / 0.6868 GB, free: 47.93 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.1103, allocations: 47.69 kB / 0.6868 GB, free: 47.89 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0125/0.1228, allocations: 5.307 MB / 0.692 GB, free: 42.57 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.1253, allocations: 0.6842 MB / 0.6927 GB, free: 41.88 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.1269, allocations: 415.1 kB / 0.6931 GB, free: 41.48 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004473/0.1313, allocations: 2.912 MB / 0.6959 GB, free: 38.56 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/0.1336, allocations: 1.238 MB / 0.6971 GB, free: 37.27 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.1347, allocations: 0.6187 MB / 0.6977 GB, free: 36.65 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.1361, allocations: 0.8763 MB / 0.6986 GB, free: 35.77 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.1363, allocations: 67.94 kB / 0.6986 GB, free: 35.7 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.1378, allocations: 0.581 MB / 0.6992 GB, free: 35.12 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006622/0.1385, allocations: 0.5689 MB / 0.6998 GB, free: 34.55 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000378/0.1389, allocations: 277 kB / 0.7 GB, free: 34.27 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.1409, allocations: 1.683 MB / 0.7017 GB, free: 32.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1409, allocations: 0 / 0.7017 GB, free: 32.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1409, allocations: 4 kB / 0.7017 GB, free: 32.58 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.176e-05/0.141, allocations: 0 / 0.7017 GB, free: 32.58 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: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.005209/0.1462, allocations: 1.709 MB / 0.7034 GB, free: 30.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1462, allocations: 8.031 kB / 0.7034 GB, free: 30.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009613/0.1472, allocations: 174.3 kB / 0.7035 GB, free: 30.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/0.1498, allocations: 0.9914 MB / 0.7045 GB, free: 29.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.1501, allocations: 183 kB / 0.7047 GB, free: 29.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/0.1504, allocations: 111.9 kB / 0.7048 GB, free: 29.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004708/0.1551, allocations: 1.875 MB / 0.7066 GB, free: 27.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.897e-05/0.1552, allocations: 3.938 kB / 0.7066 GB, free: 27.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.1554, allocations: 47.94 kB / 0.7067 GB, free: 27.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000475/0.1559, allocations: 125.9 kB / 0.7068 GB, free: 27.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004496/0.1604, allocations: 1.62 MB / 0.7084 GB, free: 25.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01497/0.1754, allocations: 5.767 MB / 0.714 GB, free: 19.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005381/0.1808, allocations: 1.238 MB / 0.7152 GB, free: 18.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003231/0.1841, allocations: 0.7622 MB / 0.7159 GB, free: 17.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.1843, allocations: 20.98 kB / 0.716 GB, free: 17.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004031/0.1883, allocations: 1 MB / 0.7169 GB, free: 16.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 6.852e-06/0.1884, allocations: 0 / 0.7169 GB, free: 16.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=120): time 0.02529/0.2137, allocations: 5.828 MB / 0.7226 GB, free: 10.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/0.2138, allocations: 127.8 kB / 0.7228 GB, free: 10.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.2155, allocations: 0.7624 MB / 0.7235 GB, free: 9.574 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003028/0.2158, allocations: 61.69 kB / 0.7236 GB, free: 9.508 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005545/0.2164, allocations: 0.4998 MB / 0.724 GB, free: 9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005364/0.2169, allocations: 410.2 kB / 0.7244 GB, free: 8.594 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.2171, allocations: 28 kB / 0.7245 GB, free: 8.566 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.2173, allocations: 418.7 kB / 0.7249 GB, free: 8.148 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002094/0.2194, allocations: 0.6708 MB / 0.7255 GB, free: 7.477 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002329/0.2218, allocations: 0.9568 MB / 0.7265 GB, free: 6.414 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.2243, allocations: 0.8605 MB / 0.7273 GB, free: 5.543 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.2243, allocations: 4 kB / 0.7273 GB, free: 5.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.00771/0.232, allocations: 2.327 MB / 0.7296 GB, free: 3.172 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.2322, allocations: 95.31 kB / 0.7297 GB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.2323, allocations: 8 kB / 0.7297 GB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002786/0.2351, allocations: 413.4 kB / 0.7301 GB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/0.2372, allocations: 215.6 kB / 0.7303 GB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3231/0.5603, allocations: 5.678 MB / 0.7358 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.562, allocations: 104.3 kB / 0.7359 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.5622, allocations: 82.77 kB / 0.736 GB, free: 125.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[6],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.t0[1],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 116 * Array equations: 3 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.001045/0.5633, allocations: 461.3 kB / 0.7364 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/0.5636, allocations: 116.4 kB / 0.7365 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006935/0.5706, allocations: 2.001 MB / 0.7385 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/0.5707, allocations: 4.922 kB / 0.7385 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.5707, allocations: 1.719 kB / 0.7385 GB, free: 125.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007986/0.5715, allocations: 318.7 kB / 0.7388 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003727/0.5719, allocations: 82.05 kB / 0.7389 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/0.5736, allocations: 138 kB / 0.739 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003026/0.5739, allocations: 79.48 kB / 0.7391 GB, free: 125.4 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008963/0.5829, allocations: 2.102 MB / 0.7411 GB, free: 124.8 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01232/0.5953, allocations: 2.798 MB / 0.7439 GB, free: 123.7 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004646/0.6, allocations: 0.7843 MB / 0.7446 GB, free: 123.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001664/0.6017, allocations: 0.528 MB / 0.7452 GB, free: 123.2 MB / 442.7 MB Notification: Performance of Backend: time 1.213e-06/0.6018, allocations: 0 / 0.7452 GB, free: 123.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01018/0.612, allocations: 2.847 MB / 0.7479 GB, free: 121.8 MB / 442.7 MB Notification: Performance of SimCode: time 0.007895/0.6199, allocations: 4.055 MB / 0.7519 GB, free: 119.4 MB / 442.7 MB Notification: Performance of Templates: time 0.05552/0.6755, allocations: 22.55 MB / 0.7739 GB, free: 113.1 MB / 442.7 MB