Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002417/0.002421, allocations: 356.2 kB / 16.57 MB, free: 5.59 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.482/3.482, allocations: 388.9 MB / 406.2 MB, free: 11.93 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.003491/0.003491, allocations: 239.7 kB / 451.6 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.6584/0.6584, allocations: 76.01 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004735, allocations: 16 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06894/0.06944, allocations: 53.23 MB / 0.6736 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.004061/0.07354, allocations: 4.132 MB / 0.6776 GB, free: 56.68 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.07508, allocations: 1.081 MB / 0.6787 GB, free: 55.59 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.07531, allocations: 23.81 kB / 0.6787 GB, free: 55.57 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.07546, allocations: 43.67 kB / 0.6788 GB, free: 55.52 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004762/0.07595, allocations: 202.7 kB / 0.679 GB, free: 55.32 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.07623, allocations: 111.8 kB / 0.6791 GB, free: 55.21 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.07663, allocations: 446.3 kB / 0.6795 GB, free: 54.78 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.07682, allocations: 84.88 kB / 0.6796 GB, free: 54.69 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.07704, allocations: 139.3 kB / 0.6797 GB, free: 54.55 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.07734, allocations: 179.3 kB / 0.6799 GB, free: 54.38 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.07739, allocations: 12 kB / 0.6799 GB, free: 54.37 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.996e-05/0.07745, allocations: 12 kB / 0.6799 GB, free: 54.36 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.372e-05/0.07755, allocations: 75.78 kB / 0.68 GB, free: 54.28 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.752e-05/0.07763, allocations: 77.52 kB / 0.68 GB, free: 54.2 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.07784, allocations: 203.5 kB / 0.6802 GB, free: 54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.22e-06/0.07785, allocations: 0 / 0.6802 GB, free: 54 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.79e-06/0.07786, allocations: 0 / 0.6802 GB, free: 54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.07788, allocations: 4 kB / 0.6802 GB, free: 54 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008057/0.0787, allocations: 0.5542 MB / 0.6808 GB, free: 53.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.07874, allocations: 8.031 kB / 0.6808 GB, free: 53.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.07881, allocations: 31.62 kB / 0.6808 GB, free: 53.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.07924, allocations: 317.7 kB / 0.6811 GB, free: 53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.07928, allocations: 16.44 kB / 0.6811 GB, free: 52.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.07934, allocations: 16 kB / 0.6812 GB, free: 52.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.07978, allocations: 298.7 kB / 0.6814 GB, free: 52.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.07981, allocations: 3.938 kB / 0.6814 GB, free: 52.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.07985, allocations: 12 kB / 0.6815 GB, free: 52.63 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.663e-06/0.07986, allocations: 7.984 kB / 0.6815 GB, free: 52.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.08022, allocations: 180.9 kB / 0.6816 GB, free: 52.45 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.08154, allocations: 1.224 MB / 0.6828 GB, free: 51.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.08188, allocations: 117.2 kB / 0.6829 GB, free: 51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.688e-05/0.08198, allocations: 49.77 kB / 0.683 GB, free: 50.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.08201, allocations: 7.953 kB / 0.683 GB, free: 50.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.08204, allocations: 30.56 kB / 0.683 GB, free: 50.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 2.235e-06/0.08205, allocations: 0 / 0.683 GB, free: 50.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008086/0.08286, allocations: 488.5 kB / 0.6835 GB, free: 50.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.08291, allocations: 81.11 kB / 0.6836 GB, free: 50.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.08315, allocations: 242.6 kB / 0.6838 GB, free: 50.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.08317, allocations: 29.7 kB / 0.6838 GB, free: 49.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.637e-05/0.08328, allocations: 199.5 kB / 0.684 GB, free: 49.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.08332, allocations: 35.55 kB / 0.684 GB, free: 49.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.884e-06/0.08334, allocations: 4.75 kB / 0.6841 GB, free: 49.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.08341, allocations: 326.8 kB / 0.6844 GB, free: 49.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.08351, allocations: 44 kB / 0.6844 GB, free: 49.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.08364, allocations: 128.8 kB / 0.6845 GB, free: 49.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.08377, allocations: 59.94 kB / 0.6846 GB, free: 49.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.617e-06/0.08378, allocations: 7.938 kB / 0.6846 GB, free: 49.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003467/0.08414, allocations: 205 kB / 0.6848 GB, free: 48.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.08416, allocations: 4 kB / 0.6848 GB, free: 48.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.741e-06/0.08418, allocations: 4 kB / 0.6848 GB, free: 48.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.08421, allocations: 8.438 kB / 0.6848 GB, free: 48.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.08442, allocations: 47.91 kB / 0.6849 GB, free: 48.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.449e-06/0.08445, allocations: 4 kB / 0.6849 GB, free: 48.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.08461, allocations: 8 kB / 0.6849 GB, free: 48.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.08464, allocations: 16 kB / 0.6849 GB, free: 48.84 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.08478, allocations: 153.7 kB / 0.685 GB, free: 48.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.08485, allocations: 27.67 kB / 0.6851 GB, free: 48.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.08511, allocations: 135.2 kB / 0.6852 GB, free: 48.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.601e-06/0.08513, allocations: 8 kB / 0.6852 GB, free: 48.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.114e-06/0.08514, allocations: 0 / 0.6852 GB, free: 48.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.567e-06/0.08515, allocations: 0 / 0.6852 GB, free: 48.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.08571, allocations: 491.1 kB / 0.6857 GB, free: 47.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-06/0.08573, allocations: 0 / 0.6857 GB, free: 47.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.0859, allocations: 19.98 kB / 0.6857 GB, free: 47.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.356e-06/0.08592, allocations: 4 kB / 0.6857 GB, free: 47.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.08594, allocations: 4 kB / 0.6857 GB, free: 47.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.146e-06/0.08596, allocations: 4 kB / 0.6857 GB, free: 47.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.955e-06/0.08597, allocations: 4.031 kB / 0.6857 GB, free: 47.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.08631, allocations: 276.9 kB / 0.686 GB, free: 47.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.08637, allocations: 100.8 kB / 0.6861 GB, free: 47.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.08643, allocations: 11.98 kB / 0.6861 GB, free: 47.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.08658, allocations: 0 / 0.6861 GB, free: 47.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.08663, allocations: 12.06 kB / 0.6861 GB, free: 47.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.08665, allocations: 4 kB / 0.6861 GB, free: 47.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.0868, allocations: 174 kB / 0.6862 GB, free: 47.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.08682, allocations: 0 / 0.6862 GB, free: 47.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003994/0.08723, allocations: 44 kB / 0.6863 GB, free: 47.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * 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 7.935e-05/0.08732, allocations: 103.2 kB / 0.6864 GB, free: 47.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.08757, allocations: 116.3 kB / 0.6865 GB, free: 47.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.325e-06/0.08759, allocations: 0 / 0.6865 GB, free: 47.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.144e-05/0.08769, allocations: 47.86 kB / 0.6865 GB, free: 47.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.08824, allocations: 48.53 kB / 0.6866 GB, free: 46.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009087/0.08916, allocations: 0.6809 MB / 0.6873 GB, free: 46.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.08941, allocations: 0.7833 MB / 0.688 GB, free: 45.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001622/0.08958, allocations: 30.28 kB / 0.688 GB, free: 45.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.449e-05/0.08965, allocations: 23.44 kB / 0.6881 GB, free: 45.39 MB / 442.7 MB Notification: Performance of SimCode: time 1.402e-06/0.08966, allocations: 0 / 0.6881 GB, free: 45.39 MB / 442.7 MB Notification: Performance of Templates: time 0.005841/0.09551, allocations: 1.835 MB / 0.6899 GB, free: 43.57 MB / 442.7 MB