Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.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_Y_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002544/0.002549, allocations: 361.4 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.704/3.704, 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.003547/0.003547, allocations: 219.8 kB / 452.2 MB, free: 14.62 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.7447/0.7447, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.000451, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09259/0.09306, allocations: 53.24 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.007995/0.1011, allocations: 5.977 MB / 0.6801 GB, free: 54.84 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008412/0.1096, allocations: 4.464 MB / 0.6844 GB, free: 50.36 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007401/0.1104, allocations: 43.69 kB / 0.6845 GB, free: 50.32 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01049/0.1209, allocations: 4.379 MB / 0.6887 GB, free: 45.93 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.1226, allocations: 461.6 kB / 0.6892 GB, free: 45.48 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009482/0.1236, allocations: 239.5 kB / 0.6894 GB, free: 45.25 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002943/0.1265, allocations: 1.937 MB / 0.6913 GB, free: 43.3 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.128, allocations: 0.7982 MB / 0.6921 GB, free: 42.46 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006549/0.1286, allocations: 378.5 kB / 0.6924 GB, free: 42.09 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007453/0.1294, allocations: 486.3 kB / 0.6929 GB, free: 41.62 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.837e-05/0.1295, allocations: 32 kB / 0.6929 GB, free: 41.59 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.1298, allocations: 71.89 kB / 0.693 GB, free: 41.52 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003004/0.1301, allocations: 287.2 kB / 0.6933 GB, free: 41.23 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.1303, allocations: 165.3 kB / 0.6934 GB, free: 41.07 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000864/0.1312, allocations: 0.8026 MB / 0.6942 GB, free: 40.26 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1312, allocations: 0 / 0.6942 GB, free: 40.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1312, allocations: 0 / 0.6942 GB, free: 40.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1312, allocations: 0 / 0.6942 GB, free: 40.26 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002195/0.1334, allocations: 0.892 MB / 0.6951 GB, free: 39.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1335, allocations: 8.031 kB / 0.6951 GB, free: 39.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005966/0.1341, allocations: 103 kB / 0.6952 GB, free: 39.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.1355, allocations: 0.5953 MB / 0.6958 GB, free: 38.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.895e-05/0.1356, allocations: 75.02 kB / 0.6959 GB, free: 38.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.1358, allocations: 63.98 kB / 0.6959 GB, free: 38.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.1374, allocations: 0.802 MB / 0.6967 GB, free: 37.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/0.1375, allocations: 7.906 kB / 0.6967 GB, free: 37.58 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.467e-05/0.1376, allocations: 20 kB / 0.6967 GB, free: 37.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001879/0.1377, allocations: 53.28 kB / 0.6968 GB, free: 37.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.1391, allocations: 0.5788 MB / 0.6973 GB, free: 36.93 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005205/0.1443, allocations: 2.939 MB / 0.7002 GB, free: 33.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.1454, allocations: 430.1 kB / 0.7006 GB, free: 33.44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004443/0.1459, allocations: 226.3 kB / 0.7008 GB, free: 33.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.975e-05/0.1459, allocations: 8.328 kB / 0.7008 GB, free: 33.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006105/0.1466, allocations: 343.6 kB / 0.7012 GB, free: 32.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 3.286e-06/0.1466, allocations: 0 / 0.7012 GB, free: 32.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.005039/0.1516, allocations: 2.506 MB / 0.7036 GB, free: 30.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.1517, allocations: 132.5 kB / 0.7037 GB, free: 29.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/0.1523, allocations: 441.8 kB / 0.7042 GB, free: 29.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/0.1524, allocations: 37.69 kB / 0.7042 GB, free: 29.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.1526, allocations: 327.8 kB / 0.7045 GB, free: 29.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.1528, allocations: 157.8 kB / 0.7047 GB, free: 29.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.1528, allocations: 16 kB / 0.7047 GB, free: 29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.1529, allocations: 366.8 kB / 0.705 GB, free: 28.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.1535, allocations: 233.1 kB / 0.7053 GB, free: 28.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.1541, allocations: 398.2 kB / 0.7056 GB, free: 27.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/0.1573, allocations: 0.7541 MB / 0.7064 GB, free: 27.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.1573, allocations: 0 / 0.7064 GB, free: 27.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002569/0.1599, allocations: 0.9748 MB / 0.7073 GB, free: 26.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.1599, allocations: 33.7 kB / 0.7074 GB, free: 26.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.16, allocations: 11.94 kB / 0.7074 GB, free: 26.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.1614, allocations: 309.5 kB / 0.7077 GB, free: 25.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/0.1632, allocations: 175.8 kB / 0.7078 GB, free: 25.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008098/0.1713, allocations: 4.849 MB / 0.7126 GB, free: 20.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.1719, allocations: 23.98 kB / 0.7126 GB, free: 20.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.224e-05/0.172, allocations: 31.98 kB / 0.7126 GB, free: 20.48 MB / 442.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.asm_Y_D.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (system.initime,$whenCondition1,$PRE.relay1.cnt,relay1.cnt,$PRE.relay1.y,relay1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * 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%) 4} * Non-linear torn systems: 1 {3 15} Notification: Performance of prepare postOptimizeDAE: time 0.0004942/0.1725, allocations: 307.2 kB / 0.7129 GB, free: 20.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.71e-05/0.1727, allocations: 55.34 kB / 0.713 GB, free: 20.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.1742, allocations: 0.8052 MB / 0.7137 GB, free: 19.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.1743, allocations: 11.94 kB / 0.7138 GB, free: 19.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1743, allocations: 0 / 0.7138 GB, free: 19.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.1746, allocations: 176.4 kB / 0.7139 GB, free: 19.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.1747, allocations: 16.02 kB / 0.7139 GB, free: 19.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/0.1751, allocations: 19.98 kB / 0.714 GB, free: 19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.1752, allocations: 35.89 kB / 0.714 GB, free: 18.96 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003468/0.1787, allocations: 0.9829 MB / 0.715 GB, free: 17.95 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001726/0.1805, allocations: 1.055 MB / 0.716 GB, free: 16.87 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004782/0.181, allocations: 247.8 kB / 0.7162 GB, free: 16.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004501/0.1815, allocations: 307.1 kB / 0.7165 GB, free: 16.33 MB / 442.7 MB Notification: Performance of Backend: time 5.92e-07/0.1815, allocations: 0 / 0.7165 GB, free: 16.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002797/0.1843, allocations: 0.9001 MB / 0.7174 GB, free: 15.38 MB / 442.7 MB Notification: Performance of SimCode: time 0.003781/0.1881, allocations: 2.5 MB / 0.7198 GB, free: 12.82 MB / 442.7 MB Notification: Performance of Templates: time 0.02169/0.2098, allocations: 8.353 MB / 0.728 GB, free: 4.496 MB / 442.7 MB