Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Machines.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.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Machines") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002569/0.002574, allocations: 365.6 kB / 17.22 MB, free: 4.922 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.765/3.765, allocations: 388.9 MB / 406.8 MB, free: 12.02 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.004717/0.004717, allocations: 229.3 kB / 452.2 MB, free: 14.61 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.7669/0.7669, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004534, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08883/0.08931, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.006878/0.09624, allocations: 5.505 MB / 0.6796 GB, free: 55.29 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009933/0.1062, allocations: 4.137 MB / 0.6836 GB, free: 51.14 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007478/0.107, allocations: 35.75 kB / 0.6837 GB, free: 51.11 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01404/0.1211, allocations: 4.363 MB / 0.6879 GB, free: 46.73 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.1229, allocations: 370 kB / 0.6883 GB, free: 46.37 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.124, allocations: 223.5 kB / 0.6885 GB, free: 46.15 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003797/0.1278, allocations: 1.801 MB / 0.6903 GB, free: 44.35 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.1291, allocations: 498.6 kB / 0.6907 GB, free: 43.83 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006349/0.1297, allocations: 306.6 kB / 0.691 GB, free: 43.53 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000907/0.1306, allocations: 450.4 kB / 0.6915 GB, free: 43.09 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.561e-05/0.1308, allocations: 24 kB / 0.6915 GB, free: 43.06 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.1311, allocations: 63.84 kB / 0.6915 GB, free: 43 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003714/0.1315, allocations: 255.3 kB / 0.6918 GB, free: 42.75 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.1317, allocations: 145.3 kB / 0.6919 GB, free: 42.6 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008904/0.1326, allocations: 0.5532 MB / 0.6925 GB, free: 42.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1326, allocations: 0 / 0.6925 GB, free: 42.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.857e-06/0.1327, allocations: 0 / 0.6925 GB, free: 42.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1327, allocations: 3.938 kB / 0.6925 GB, free: 42.04 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.002513/0.1352, allocations: 0.7965 MB / 0.6932 GB, free: 41.19 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.1353, allocations: 8.031 kB / 0.6933 GB, free: 41.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008759/0.1362, allocations: 103.1 kB / 0.6934 GB, free: 41.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.138, allocations: 0.521 MB / 0.6939 GB, free: 40.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.1381, allocations: 33 kB / 0.6939 GB, free: 40.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.1383, allocations: 47.98 kB / 0.6939 GB, free: 40.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.1401, allocations: 0.6453 MB / 0.6946 GB, free: 39.76 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/0.1401, allocations: 0 / 0.6946 GB, free: 39.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.643e-05/0.1402, allocations: 23.94 kB / 0.6946 GB, free: 39.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002595/0.1405, allocations: 48.97 kB / 0.6946 GB, free: 39.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.142, allocations: 483.6 kB / 0.6951 GB, free: 39.21 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005664/0.1477, allocations: 2.539 MB / 0.6976 GB, free: 36.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008993/0.1487, allocations: 315.6 kB / 0.6979 GB, free: 36.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/0.1492, allocations: 186.5 kB / 0.6981 GB, free: 36.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.912e-05/0.1493, allocations: 4 kB / 0.6981 GB, free: 36.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1493, allocations: 38.56 kB / 0.6981 GB, free: 35.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 4.508e-06/0.1494, allocations: 0 / 0.6981 GB, free: 35.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.005047/0.1544, allocations: 1.696 MB / 0.6998 GB, free: 34.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.1545, allocations: 111 kB / 0.6999 GB, free: 34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007552/0.1553, allocations: 421.8 kB / 0.7003 GB, free: 33.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.1554, allocations: 33.7 kB / 0.7003 GB, free: 33.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.1556, allocations: 307.5 kB / 0.7006 GB, free: 33.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.1558, allocations: 130.1 kB / 0.7007 GB, free: 33.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.1559, allocations: 12 kB / 0.7007 GB, free: 33.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.156, allocations: 358.8 kB / 0.7011 GB, free: 32.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/0.1565, allocations: 165 kB / 0.7012 GB, free: 32.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006389/0.1572, allocations: 302.1 kB / 0.7015 GB, free: 32.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/0.1579, allocations: 225.4 kB / 0.7017 GB, free: 32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1579, allocations: 0 / 0.7017 GB, free: 32 MB / 442.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002581/0.1605, allocations: 0.8002 MB / 0.7025 GB, free: 31.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1605, allocations: 8 kB / 0.7025 GB, free: 31.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.1606, allocations: 4 kB / 0.7025 GB, free: 31.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.1619, allocations: 209.7 kB / 0.7027 GB, free: 30.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/0.1626, allocations: 79.89 kB / 0.7028 GB, free: 30.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007204/0.1698, allocations: 3.875 MB / 0.7066 GB, free: 26.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006399/0.1705, allocations: 23.92 kB / 0.7066 GB, free: 26.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-05/0.1706, allocations: 23.98 kB / 0.7066 GB, free: 26.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (42): * Single equations (assignments): 40 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.000472/0.1711, allocations: 233.7 kB / 0.7068 GB, free: 26.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.1712, allocations: 47.44 kB / 0.7069 GB, free: 26.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.1729, allocations: 0.6317 MB / 0.7075 GB, free: 25.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.1729, allocations: 3.984 kB / 0.7075 GB, free: 25.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.1729, allocations: 4 kB / 0.7075 GB, free: 25.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.1732, allocations: 156.3 kB / 0.7077 GB, free: 25.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.1734, allocations: 8 kB / 0.7077 GB, free: 25.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005715/0.1739, allocations: 11.98 kB / 0.7077 GB, free: 25.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.1741, allocations: 27.95 kB / 0.7077 GB, free: 25.48 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002399/0.1765, allocations: 0.7427 MB / 0.7084 GB, free: 24.72 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001827/0.1783, allocations: 0.9197 MB / 0.7093 GB, free: 23.78 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004868/0.1788, allocations: 167.9 kB / 0.7095 GB, free: 23.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000527/0.1794, allocations: 295.1 kB / 0.7098 GB, free: 23.33 MB / 442.7 MB Notification: Performance of Backend: time 8.81e-07/0.1794, allocations: 0 / 0.7098 GB, free: 23.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002437/0.1818, allocations: 0.6845 MB / 0.7104 GB, free: 22.62 MB / 442.7 MB Notification: Performance of SimCode: time 0.003096/0.1849, allocations: 2.258 MB / 0.7127 GB, free: 20.31 MB / 442.7 MB Notification: Performance of Templates: time 0.01755/0.2025, allocations: 6.881 MB / 0.7194 GB, free: 13.45 MB / 442.7 MB