Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Load.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.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002611/0.002611, allocations: 362.3 kB / 17.21 MB, free: 4.953 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.658/3.658, allocations: 388.9 MB / 406.8 MB, free: 11.89 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.003552/0.003552, allocations: 237.6 kB / 452.2 MB, free: 14.5 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.7365/0.7365, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.000463, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08945/0.08994, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4715/0.5615, allocations: 97.17 MB / 0.7691 GB, free: 81.57 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.5618, allocations: 94.05 kB / 0.7692 GB, free: 81.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05906/0.6209, allocations: 13.68 MB / 0.7826 GB, free: 78.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.621, allocations: 0 / 0.7826 GB, free: 78.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.095e-05/0.6211, allocations: 16.12 kB / 0.7826 GB, free: 78.94 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002511/0.6236, allocations: 0.8075 MB / 0.7834 GB, free: 78.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.6236, allocations: 8.719 kB / 0.7834 GB, free: 78.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000804/0.6244, allocations: 98.5 kB / 0.7835 GB, free: 78.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.6265, allocations: 0.6055 MB / 0.7841 GB, free: 77.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.6265, allocations: 33.22 kB / 0.7841 GB, free: 77.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.6267, allocations: 46.16 kB / 0.7841 GB, free: 77.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.628, allocations: 0.678 MB / 0.7848 GB, free: 77.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.628, allocations: 3.953 kB / 0.7848 GB, free: 77.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-05/0.6281, allocations: 24.97 kB / 0.7848 GB, free: 77.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.344e-05/0.6282, allocations: 28.23 kB / 0.7848 GB, free: 77.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.6294, allocations: 0.508 MB / 0.7853 GB, free: 77.47 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004847/0.6343, allocations: 3.019 MB / 0.7883 GB, free: 75.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/0.6351, allocations: 337.5 kB / 0.7886 GB, free: 75.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/0.6356, allocations: 192.6 kB / 0.7888 GB, free: 75.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.038e-05/0.6356, allocations: 16.61 kB / 0.7888 GB, free: 75.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.6357, allocations: 41.8 kB / 0.7889 GB, free: 75.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 3.166e-06/0.6357, allocations: 0 / 0.7889 GB, free: 75.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.003118/0.6388, allocations: 1.333 MB / 0.7902 GB, free: 74.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.6389, allocations: 80.98 kB / 0.7902 GB, free: 74.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/0.6394, allocations: 385 kB / 0.7906 GB, free: 74.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.6395, allocations: 35.64 kB / 0.7906 GB, free: 74.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.6397, allocations: 282.8 kB / 0.7909 GB, free: 74.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.6398, allocations: 133 kB / 0.791 GB, free: 73.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.6399, allocations: 13.12 kB / 0.791 GB, free: 73.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.64, allocations: 350.1 kB / 0.7914 GB, free: 73.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/0.6404, allocations: 204.6 kB / 0.7916 GB, free: 73.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.641, allocations: 381.2 kB / 0.7919 GB, free: 73.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005908/0.6416, allocations: 265.3 kB / 0.7922 GB, free: 73.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.6416, allocations: 3.719 kB / 0.7922 GB, free: 73.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003464/0.6451, allocations: 0.8639 MB / 0.793 GB, free: 73.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.6452, allocations: 7.719 kB / 0.793 GB, free: 73.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.6452, allocations: 7.719 kB / 0.793 GB, free: 73.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002964/0.6481, allocations: 297.1 kB / 0.7933 GB, free: 72.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.6495, allocations: 142.4 kB / 0.7935 GB, free: 72.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007045/0.6566, allocations: 3.79 MB / 0.7972 GB, free: 69.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007068/0.6573, allocations: 31.06 kB / 0.7972 GB, free: 69.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.6574, allocations: 26.95 kB / 0.7972 GB, free: 69.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * Array equations: 1 * 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 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003991/0.6578, allocations: 221.5 kB / 0.7974 GB, free: 69.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.6579, allocations: 43.77 kB / 0.7975 GB, free: 69.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.6592, allocations: 0.5388 MB / 0.798 GB, free: 69.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/0.6592, allocations: 9.766 kB / 0.798 GB, free: 69.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6592, allocations: 3.031 kB / 0.798 GB, free: 69.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.6593, allocations: 4 kB / 0.798 GB, free: 69.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.6615, allocations: 1.086 MB / 0.7991 GB, free: 69.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.6615, allocations: 0 / 0.7991 GB, free: 69.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008955/0.6624, allocations: 92.72 kB / 0.7992 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.6624, allocations: 4.688 kB / 0.7992 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/0.6625, allocations: 16.25 kB / 0.7992 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.6625, allocations: 6.5 kB / 0.7992 GB, free: 69.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6625, allocations: 6.438 kB / 0.7992 GB, free: 69.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.6642, allocations: 0.8354 MB / 0.8 GB, free: 68.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.6643, allocations: 112.1 kB / 0.8001 GB, free: 68.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.098e-05/0.6644, allocations: 13.95 kB / 0.8001 GB, free: 68.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004686/0.6649, allocations: 28.59 kB / 0.8002 GB, free: 68.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.665, allocations: 23.59 kB / 0.8002 GB, free: 68.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/0.665, allocations: 12.91 kB / 0.8002 GB, free: 68.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003817/0.6654, allocations: 259.4 kB / 0.8004 GB, free: 68.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6654, allocations: 2.656 kB / 0.8004 GB, free: 68.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007974/0.6662, allocations: 137.5 kB / 0.8006 GB, free: 68.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 simulation (40): * Single equations (assignments): 38 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002077/0.6665, allocations: 137.7 kB / 0.8007 GB, free: 68.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002413/0.6689, allocations: 0.8343 MB / 0.8015 GB, free: 68.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6689, allocations: 0 / 0.8015 GB, free: 68.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005969/0.6695, allocations: 233.9 kB / 0.8017 GB, free: 68.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008364/0.6704, allocations: 79.97 kB / 0.8018 GB, free: 68.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.6736, allocations: 1.579 MB / 0.8034 GB, free: 67.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/0.6742, allocations: 0.9147 MB / 0.8043 GB, free: 66.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006944/0.6749, allocations: 130.8 kB / 0.8044 GB, free: 66.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.6752, allocations: 36.39 kB / 0.8044 GB, free: 66.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6752, allocations: 4 kB / 0.8044 GB, free: 66.2 MB / 442.7 MB Notification: Performance of Templates: time 0.01544/0.6906, allocations: 5.883 MB / 0.8102 GB, free: 63.41 MB / 442.7 MB