Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.695/2.695, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002194/0.002194, allocations: 177.4 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.529/2.529, allocations: 205.4 MB / 0.5766 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001252/0.001252, allocations: 98.8 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006268/0.0006271, allocations: 15.12 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2157, allocations: 106.3 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04337/0.2591, allocations: 30.62 MB / 0.9288 GB, free: 35.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02038/0.2795, allocations: 9.657 MB / 0.9382 GB, free: 25.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/0.2832, allocations: 123.2 kB / 0.9383 GB, free: 25.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003214/0.2865, allocations: 0.6754 MB / 0.939 GB, free: 24.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007567/0.2941, allocations: 1.573 MB / 0.9405 GB, free: 23.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005559/0.2997, allocations: 1.168 MB / 0.9417 GB, free: 22.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.008265/0.308, allocations: 3.878 MB / 0.9455 GB, free: 18.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02219/0.3303, allocations: 10.39 MB / 0.9556 GB, free: 7.664 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005368/0.3357, allocations: 2.129 MB / 0.9577 GB, free: 5.527 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005115/0.3409, allocations: 2.203 MB / 0.9598 GB, free: 3.316 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001652/0.3426, allocations: 288 kB / 0.9601 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003258/0.3459, allocations: 0.5229 MB / 0.9606 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.003479/0.3494, allocations: 1.921 MB / 0.9625 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.002738/0.3522, allocations: 1.027 MB / 0.9635 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.3663, allocations: 8.411 MB / 0.9717 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3663, allocations: 0 / 0.9717 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.406e-06/0.3663, allocations: 0 / 0.9717 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003493/0.3667, allocations: 0 / 0.9717 GB, free: 7.113 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01576/0.3825, allocations: 4.375 MB / 0.976 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3825, allocations: 8.031 kB / 0.976 GB, free: 2.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00708/0.3896, allocations: 0.9111 MB / 0.9769 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009467/0.3992, allocations: 2.921 MB / 0.9797 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004995/0.3997, allocations: 357.5 kB / 0.9801 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001903/0.4016, allocations: 464 kB / 0.9805 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02501/0.4267, allocations: 7.828 MB / 0.9882 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002653/0.427, allocations: 23.72 kB / 0.9882 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001559/0.4286, allocations: 208 kB / 0.9884 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009109/0.4295, allocations: 373 kB / 0.9887 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01883/0.4483, allocations: 5.898 MB / 0.9945 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05984/0.5082, allocations: 36.25 MB / 1.03 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006091/0.5144, allocations: 2.138 MB / 1.032 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.5146, allocations: 17.31 kB / 1.032 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.353e-05/0.5147, allocations: 55.83 kB / 1.032 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=157): time 4.529e-06/0.5147, allocations: 0 / 1.032 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.02507/0.5398, allocations: 7.528 MB / 1.039 GB, free: 13.74 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.5399, allocations: 68.72 kB / 1.039 GB, free: 13.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003985/0.5439, allocations: 1.841 MB / 1.041 GB, free: 11.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004115/0.5444, allocations: 57.7 kB / 1.041 GB, free: 11.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002101/0.5465, allocations: 2.123 MB / 1.043 GB, free: 9.586 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001005/0.5475, allocations: 0.5779 MB / 1.044 GB, free: 9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.5478, allocations: 44 kB / 1.044 GB, free: 8.957 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002401/0.5481, allocations: 390.3 kB / 1.044 GB, free: 8.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003017/0.5511, allocations: 1.055 MB / 1.045 GB, free: 7.512 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003885/0.555, allocations: 1.748 MB / 1.047 GB, free: 5.445 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003832/0.5589, allocations: 1.345 MB / 1.048 GB, free: 4.098 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.328e-05/0.559, allocations: 4 kB / 1.048 GB, free: 4.094 MB / 0.698 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.014/0.573, allocations: 3.902 MB / 1.052 GB, free: 148 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.711e-05/0.5731, allocations: 16.03 kB / 1.052 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.252e-05/0.5731, allocations: 24 kB / 1.052 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6562/1.229, allocations: 0.9223 MB / 1.053 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/1.232, allocations: 427.9 kB / 1.054 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02697/1.259, allocations: 21.43 MB / 1.075 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/1.263, allocations: 124.2 kB / 1.075 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004089/1.263, allocations: 94.83 kB / 1.075 GB, free: 122 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004867/1.268, allocations: 1.644 MB / 1.076 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007924/1.269, allocations: 253.4 kB / 1.077 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009967/1.279, allocations: 3.256 MB / 1.08 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.1e-05/1.279, allocations: 19.91 kB / 1.08 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.57e-05/1.279, allocations: 8.625 kB / 1.08 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.254e-05/1.279, allocations: 8.891 kB / 1.08 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/1.3, allocations: 7.532 MB / 1.087 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.019e-05/1.3, allocations: 7.547 kB / 1.087 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/1.302, allocations: 222.1 kB / 1.087 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00415/1.306, allocations: 0.8907 MB / 1.088 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002802/1.306, allocations: 35.75 kB / 1.088 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02528/1.331, allocations: 21.38 MB / 1.109 GB, free: 99.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/1.331, allocations: 4.938 kB / 1.109 GB, free: 99.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009121/1.341, allocations: 3.712 MB / 1.113 GB, free: 96.72 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001708/1.342, allocations: 0.5291 MB / 1.113 GB, free: 96.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005194/1.343, allocations: 34.84 kB / 1.113 GB, free: 96.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/1.345, allocations: 93.56 kB / 1.113 GB, free: 96.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005865/1.345, allocations: 140.8 kB / 1.114 GB, free: 96.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/1.346, allocations: 46.75 kB / 1.114 GB, free: 96.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002364/1.348, allocations: 1.204 MB / 1.115 GB, free: 95.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.71e-07/1.348, allocations: 5.312 kB / 1.115 GB, free: 95.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004458/1.352, allocations: 0.9012 MB / 1.116 GB, free: 95.42 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004455/1.353, allocations: 160.4 kB / 1.116 GB, free: 95.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009603/1.363, allocations: 4.412 MB / 1.12 GB, free: 92.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/1.363, allocations: 0 / 1.12 GB, free: 92.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006465/1.369, allocations: 2.997 MB / 1.123 GB, free: 89.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005641/1.375, allocations: 0.7412 MB / 1.124 GB, free: 88.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/1.395, allocations: 9.233 MB / 1.133 GB, free: 79.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005908/1.401, allocations: 3.284 MB / 1.136 GB, free: 76.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003144/1.404, allocations: 0.5332 MB / 1.137 GB, free: 75.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007829/1.405, allocations: 143.4 kB / 1.137 GB, free: 75.41 MB / 0.698 GB Notification: Performance of SimCode: time 1.503e-06/1.405, allocations: 0 / 1.137 GB, free: 75.41 MB / 0.698 GB Notification: Performance of Templates: time 0.1036/1.509, allocations: 39.73 MB / 1.175 GB, free: 36.25 MB / 0.698 GB