Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.PVsource.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.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002604/0.002604, 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.763/3.763, 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.003592/0.003593, allocations: 237.6 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.7364/0.7364, allocations: 76.01 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006116/0.0006119, allocations: 12 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1323, allocations: 53.23 MB / 0.6742 GB, free: 60.95 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.007608/0.14, allocations: 4.604 MB / 0.6787 GB, free: 56.32 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003784/0.1439, allocations: 1.447 MB / 0.6801 GB, free: 54.86 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004524/0.1444, allocations: 23.88 kB / 0.6802 GB, free: 54.84 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.1448, allocations: 91.34 kB / 0.6802 GB, free: 54.75 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.1459, allocations: 266.6 kB / 0.6805 GB, free: 54.49 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006594/0.1465, allocations: 163.6 kB / 0.6807 GB, free: 54.33 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007559/0.1473, allocations: 0.6543 MB / 0.6813 GB, free: 53.67 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.1484, allocations: 0.523 MB / 0.6818 GB, free: 53.11 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.1488, allocations: 203 kB / 0.682 GB, free: 52.91 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005421/0.1493, allocations: 267.1 kB / 0.6823 GB, free: 52.65 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/0.1494, allocations: 16 kB / 0.6823 GB, free: 52.64 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.1497, allocations: 87.75 kB / 0.6823 GB, free: 52.55 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.1499, allocations: 175.5 kB / 0.6825 GB, free: 52.38 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.15, allocations: 109.5 kB / 0.6826 GB, free: 52.27 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.1505, allocations: 387 kB / 0.683 GB, free: 51.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1505, allocations: 4 kB / 0.683 GB, free: 51.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1505, allocations: 0 / 0.683 GB, free: 51.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1505, allocations: 0 / 0.683 GB, free: 51.88 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001226/0.1518, allocations: 0.6287 MB / 0.6836 GB, free: 51.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1518, allocations: 16.03 kB / 0.6836 GB, free: 51.19 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008505/0.1527, allocations: 83.47 kB / 0.6837 GB, free: 51.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.1535, allocations: 390 kB / 0.6841 GB, free: 50.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.1535, allocations: 21 kB / 0.6841 GB, free: 50.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.1537, allocations: 51.88 kB / 0.6841 GB, free: 50.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008787/0.1546, allocations: 472.8 kB / 0.6846 GB, free: 50.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.1546, allocations: 0 / 0.6846 GB, free: 50.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-05/0.1547, allocations: 19.98 kB / 0.6846 GB, free: 50.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/0.1549, allocations: 24.98 kB / 0.6846 GB, free: 50.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007218/0.1556, allocations: 335.7 kB / 0.685 GB, free: 49.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/0.1583, allocations: 1.702 MB / 0.6866 GB, free: 47.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.1587, allocations: 149.1 kB / 0.6868 GB, free: 47.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.1589, allocations: 105.7 kB / 0.6869 GB, free: 47.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.159, allocations: 0 / 0.6869 GB, free: 47.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.159, allocations: 42.55 kB / 0.6869 GB, free: 47.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/0.159, allocations: 0 / 0.6869 GB, free: 47.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.001869/0.1609, allocations: 0.8481 MB / 0.6877 GB, free: 46.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.1609, allocations: 81.11 kB / 0.6878 GB, free: 46.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.1613, allocations: 308.4 kB / 0.6881 GB, free: 46.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1613, allocations: 29.7 kB / 0.6881 GB, free: 46.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1615, allocations: 251.4 kB / 0.6884 GB, free: 45.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.1616, allocations: 59.2 kB / 0.6884 GB, free: 45.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.1616, allocations: 8.125 kB / 0.6884 GB, free: 45.92 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.68e-05/0.1617, allocations: 342.8 kB / 0.6888 GB, free: 45.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.1619, allocations: 84.23 kB / 0.6888 GB, free: 45.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.1622, allocations: 206.1 kB / 0.689 GB, free: 45.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.1625, allocations: 136.5 kB / 0.6892 GB, free: 45.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1625, allocations: 0 / 0.6892 GB, free: 45.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001242/0.1637, allocations: 455.8 kB / 0.6896 GB, free: 44.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1638, allocations: 4 kB / 0.6896 GB, free: 44.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008451/0.1646, allocations: 292.4 kB / 0.6899 GB, free: 44.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007082/0.1653, allocations: 128.9 kB / 0.69 GB, free: 44.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.1657, allocations: 55.91 kB / 0.6901 GB, free: 44.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/0.1689, allocations: 2.143 MB / 0.6922 GB, free: 41.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.1693, allocations: 19.92 kB / 0.6922 GB, free: 41.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.1694, allocations: 16 kB / 0.6922 GB, free: 41.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002557/0.1696, allocations: 181.7 kB / 0.6924 GB, free: 41.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.1697, allocations: 31.66 kB / 0.6924 GB, free: 41.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005639/0.1703, allocations: 251.4 kB / 0.6926 GB, free: 41.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1703, allocations: 4 kB / 0.6926 GB, free: 41.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1703, allocations: 4.062 kB / 0.6926 GB, free: 41.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.541e-05/0.1704, allocations: 112.7 kB / 0.6927 GB, free: 41.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.179e-05/0.1705, allocations: 0 / 0.6927 GB, free: 41.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.1708, allocations: 11.94 kB / 0.6928 GB, free: 41.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.1708, allocations: 15.97 kB / 0.6928 GB, free: 41.23 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001047/0.1719, allocations: 436.9 kB / 0.6932 GB, free: 40.8 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006537/0.1726, allocations: 0.5443 MB / 0.6937 GB, free: 40.23 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001751/0.1728, allocations: 82.39 kB / 0.6938 GB, free: 40.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002578/0.173, allocations: 211.1 kB / 0.694 GB, free: 39.95 MB / 442.7 MB Notification: Performance of Backend: time 6.62e-07/0.173, allocations: 0 / 0.694 GB, free: 39.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.1744, allocations: 430.4 kB / 0.6944 GB, free: 39.52 MB / 442.7 MB Notification: Performance of SimCode: time 0.00198/0.1764, allocations: 1.537 MB / 0.6959 GB, free: 37.93 MB / 442.7 MB Notification: Performance of Templates: time 0.01155/0.188, allocations: 4.174 MB / 0.7 GB, free: 33.77 MB / 442.7 MB