Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Drives.ASMav.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.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Drives.ASMav") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002557/0.002561, allocations: 363 kB / 17.22 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.746/3.746, allocations: 388.9 MB / 406.8 MB, free: 11.96 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.003543/0.003543, allocations: 231.8 kB / 452.2 MB, free: 14.57 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.7476/0.7476, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004428, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.0903, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.009024/0.09938, allocations: 7.415 MB / 0.6815 GB, free: 53.39 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009724/0.1092, allocations: 5.017 MB / 0.6864 GB, free: 48.36 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009953/0.1102, allocations: 47.69 kB / 0.6864 GB, free: 48.31 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01239/0.1226, allocations: 5.331 MB / 0.6916 GB, free: 42.97 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.1247, allocations: 0.5478 MB / 0.6922 GB, free: 42.42 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.1263, allocations: 407 kB / 0.6925 GB, free: 42.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004022/0.1303, allocations: 2.53 MB / 0.695 GB, free: 39.48 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/0.1321, allocations: 0.9521 MB / 0.6959 GB, free: 38.48 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009359/0.1331, allocations: 0.4901 MB / 0.6964 GB, free: 37.99 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.1342, allocations: 0.7008 MB / 0.6971 GB, free: 37.29 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.1343, allocations: 44 kB / 0.6971 GB, free: 37.24 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005537/0.1349, allocations: 167.8 kB / 0.6973 GB, free: 37.08 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004626/0.1353, allocations: 446.8 kB / 0.6977 GB, free: 36.64 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.1356, allocations: 225.1 kB / 0.6979 GB, free: 36.41 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.137, allocations: 1.177 MB / 0.6991 GB, free: 35.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.137, allocations: 3.938 kB / 0.6991 GB, free: 35.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.137, allocations: 4 kB / 0.6991 GB, free: 35.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.137, allocations: 0 / 0.6991 GB, free: 35.23 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003699/0.1407, allocations: 1.279 MB / 0.7004 GB, free: 33.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1408, allocations: 8.031 kB / 0.7004 GB, free: 33.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009062/0.1417, allocations: 158.5 kB / 0.7005 GB, free: 33.72 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/0.1439, allocations: 0.8472 MB / 0.7013 GB, free: 32.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.889e-05/0.144, allocations: 58 kB / 0.7014 GB, free: 32.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.1443, allocations: 87.89 kB / 0.7015 GB, free: 32.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.1467, allocations: 1.236 MB / 0.7027 GB, free: 31.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/0.1468, allocations: 7.938 kB / 0.7027 GB, free: 31.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.1469, allocations: 35.95 kB / 0.7027 GB, free: 31.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003536/0.1473, allocations: 89.94 kB / 0.7028 GB, free: 31.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.1495, allocations: 0.9875 MB / 0.7038 GB, free: 30.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008467/0.158, allocations: 4.928 MB / 0.7086 GB, free: 25.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.1593, allocations: 0.6448 MB / 0.7092 GB, free: 24.44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007635/0.1601, allocations: 359.4 kB / 0.7096 GB, free: 24.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.078e-05/0.1602, allocations: 16.53 kB / 0.7096 GB, free: 24.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008557/0.1611, allocations: 449.8 kB / 0.71 GB, free: 23.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=62): time 3.947e-06/0.1611, allocations: 0 / 0.71 GB, free: 23.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=66): time 0.007683/0.1688, allocations: 3.274 MB / 0.7132 GB, free: 20.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1689, allocations: 115.4 kB / 0.7133 GB, free: 20.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.17, allocations: 0.7349 MB / 0.714 GB, free: 19.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.102e-05/0.1701, allocations: 33.7 kB / 0.7141 GB, free: 19.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.1705, allocations: 0.4909 MB / 0.7145 GB, free: 18.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.1707, allocations: 240.6 kB / 0.7148 GB, free: 18.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.1708, allocations: 24 kB / 0.7148 GB, free: 18.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1709, allocations: 402.7 kB / 0.7152 GB, free: 18.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008366/0.1718, allocations: 373.8 kB / 0.7155 GB, free: 17.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009795/0.1728, allocations: 0.6578 MB / 0.7162 GB, free: 16.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.1739, allocations: 0.4967 MB / 0.7167 GB, free: 16.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.1739, allocations: 4 kB / 0.7167 GB, free: 16.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.004392/0.1783, allocations: 1.656 MB / 0.7183 GB, free: 14.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.1784, allocations: 41.64 kB / 0.7183 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.1784, allocations: 8 kB / 0.7183 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002403/0.1808, allocations: 494.6 kB / 0.7188 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.182, allocations: 171.7 kB / 0.719 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/0.1941, allocations: 6.498 MB / 0.7253 GB, free: 7.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.1952, allocations: 55.97 kB / 0.7254 GB, free: 7.195 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.1953, allocations: 43.98 kB / 0.7254 GB, free: 7.152 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 1 * 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 {6 23} Notification: Performance of prepare postOptimizeDAE: time 0.0006251/0.1959, allocations: 353.5 kB / 0.7257 GB, free: 6.797 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.1961, allocations: 82.97 kB / 0.7258 GB, free: 6.715 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/0.1986, allocations: 1.117 MB / 0.7269 GB, free: 5.539 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.1986, allocations: 3.984 kB / 0.7269 GB, free: 5.535 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.1986, allocations: 8 kB / 0.7269 GB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/0.199, allocations: 219.9 kB / 0.7271 GB, free: 5.293 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.1992, allocations: 23.92 kB / 0.7272 GB, free: 5.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000675/0.1999, allocations: 36.08 kB / 0.7272 GB, free: 5.234 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.2, allocations: 56.48 kB / 0.7273 GB, free: 5.18 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004011/0.204, allocations: 1.199 MB / 0.7284 GB, free: 3.961 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002479/0.2065, allocations: 1.396 MB / 0.7298 GB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006873/0.2073, allocations: 360.2 kB / 0.7301 GB, free: 2.195 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00083/0.2081, allocations: 0.499 MB / 0.7306 GB, free: 1.703 MB / 442.7 MB Notification: Performance of Backend: time 6.21e-07/0.2081, allocations: 4.031 kB / 0.7306 GB, free: 1.699 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004677/0.2128, allocations: 1.489 MB / 0.7321 GB, free: 212 kB / 442.7 MB Notification: Performance of SimCode: time 0.2864/0.4993, allocations: 3.602 MB / 0.7356 GB, free: 126 MB / 442.7 MB Notification: Performance of Templates: time 0.04225/0.5416, allocations: 14.57 MB / 0.7498 GB, free: 125.4 MB / 442.7 MB