Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002596/0.002596, allocations: 362.6 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.752/3.752, allocations: 388.9 MB / 406.8 MB, free: 11.92 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.003642/0.003642, allocations: 239.7 kB / 452.2 MB, free: 14.52 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.7486/0.7486, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006042/0.0006045, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1068, allocations: 53.24 MB / 0.6742 GB, free: 60.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.006813/0.1137, allocations: 5.36 MB / 0.6795 GB, free: 55.42 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007731/0.1215, allocations: 3.965 MB / 0.6833 GB, free: 51.45 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006698/0.1222, allocations: 31.75 kB / 0.6834 GB, free: 51.41 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0108/0.133, allocations: 4.36 MB / 0.6876 GB, free: 47.05 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.1343, allocations: 354.1 kB / 0.688 GB, free: 46.7 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007455/0.1351, allocations: 195.6 kB / 0.6882 GB, free: 46.51 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002906/0.138, allocations: 1.746 MB / 0.6899 GB, free: 44.76 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.1393, allocations: 0.6418 MB / 0.6905 GB, free: 44.08 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004998/0.1398, allocations: 286.7 kB / 0.6908 GB, free: 43.8 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006669/0.1405, allocations: 398.6 kB / 0.6911 GB, free: 43.41 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.16e-05/0.1405, allocations: 24 kB / 0.6912 GB, free: 43.38 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.1407, allocations: 35.98 kB / 0.6912 GB, free: 43.35 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.141, allocations: 215.4 kB / 0.6914 GB, free: 43.14 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.1411, allocations: 137.4 kB / 0.6915 GB, free: 43 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000708/0.1419, allocations: 0.6351 MB / 0.6922 GB, free: 42.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1419, allocations: 4 kB / 0.6922 GB, free: 42.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1419, allocations: 0 / 0.6922 GB, free: 42.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.1419, allocations: 0 / 0.6922 GB, free: 42.36 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001817/0.1437, allocations: 0.7575 MB / 0.6929 GB, free: 41.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.1438, allocations: 8.031 kB / 0.6929 GB, free: 41.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003801/0.1442, allocations: 75.14 kB / 0.693 GB, free: 41.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.1455, allocations: 0.5251 MB / 0.6935 GB, free: 40.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.1455, allocations: 32.98 kB / 0.6935 GB, free: 40.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.1456, allocations: 55.89 kB / 0.6936 GB, free: 40.81 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.1469, allocations: 0.6257 MB / 0.6942 GB, free: 40.15 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.1469, allocations: 0 / 0.6942 GB, free: 40.15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.147, allocations: 23.94 kB / 0.6942 GB, free: 40.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001895/0.1472, allocations: 52.97 kB / 0.6943 GB, free: 40.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.1482, allocations: 459.6 kB / 0.6947 GB, free: 39.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003814/0.1521, allocations: 2.519 MB / 0.6972 GB, free: 36.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.1527, allocations: 285 kB / 0.6974 GB, free: 36.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.153, allocations: 141.7 kB / 0.6976 GB, free: 36.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.153, allocations: 4.5 kB / 0.6976 GB, free: 36.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.1531, allocations: 38.56 kB / 0.6976 GB, free: 36.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 3.337e-06/0.1531, allocations: 7.938 kB / 0.6976 GB, free: 36.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.005048/0.1581, allocations: 1.924 MB / 0.6995 GB, free: 34.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.1582, allocations: 85.23 kB / 0.6996 GB, free: 34.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.1588, allocations: 409.9 kB / 0.7 GB, free: 33.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.1588, allocations: 29.7 kB / 0.7 GB, free: 33.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.159, allocations: 303.5 kB / 0.7003 GB, free: 33.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.1591, allocations: 114.3 kB / 0.7004 GB, free: 33.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.1592, allocations: 4 kB / 0.7004 GB, free: 33.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.1593, allocations: 358.8 kB / 0.7007 GB, free: 33.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.1596, allocations: 132.8 kB / 0.7009 GB, free: 32.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.16, allocations: 278.8 kB / 0.7011 GB, free: 32.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.1604, allocations: 184.4 kB / 0.7013 GB, free: 32.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1604, allocations: 0 / 0.7013 GB, free: 32.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001559/0.162, allocations: 0.6832 MB / 0.702 GB, free: 31.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.1621, allocations: 16.06 kB / 0.702 GB, free: 31.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.1621, allocations: 4 kB / 0.702 GB, free: 31.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00064/0.1627, allocations: 145.6 kB / 0.7021 GB, free: 31.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.1633, allocations: 79.89 kB / 0.7022 GB, free: 31.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00382/0.1671, allocations: 3.401 MB / 0.7055 GB, free: 27.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.1676, allocations: 16.06 kB / 0.7055 GB, free: 27.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.1677, allocations: 23.95 kB / 0.7056 GB, free: 27.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * 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: 2 {(2,100.0%) 6,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003781/0.1681, allocations: 229.7 kB / 0.7058 GB, free: 27.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.028e-05/0.1682, allocations: 43.44 kB / 0.7058 GB, free: 27.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.1696, allocations: 0.5808 MB / 0.7064 GB, free: 26.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.1697, allocations: 3.984 kB / 0.7064 GB, free: 26.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1697, allocations: 0 / 0.7064 GB, free: 26.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.1699, allocations: 148.5 kB / 0.7065 GB, free: 26.69 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/0.17, allocations: 8 kB / 0.7065 GB, free: 26.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.1703, allocations: 11.94 kB / 0.7066 GB, free: 26.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/0.1704, allocations: 27.95 kB / 0.7066 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00174/0.1722, allocations: 0.6614 MB / 0.7072 GB, free: 25.96 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001054/0.1732, allocations: 0.7415 MB / 0.708 GB, free: 25.21 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002789/0.1735, allocations: 143.8 kB / 0.7081 GB, free: 25.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003947/0.1739, allocations: 295.1 kB / 0.7084 GB, free: 24.78 MB / 442.7 MB Notification: Performance of Backend: time 7.31e-07/0.1739, allocations: 0 / 0.7084 GB, free: 24.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.1756, allocations: 0.6055 MB / 0.709 GB, free: 24.14 MB / 442.7 MB Notification: Performance of SimCode: time 0.002679/0.1783, allocations: 1.896 MB / 0.7108 GB, free: 22.2 MB / 442.7 MB Notification: Performance of Templates: time 0.01576/0.1941, allocations: 5.66 MB / 0.7163 GB, free: 16.55 MB / 442.7 MB