Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.662/2.662, allocations: 287.9 MB / 302.9 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001511, allocations: 189.4 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.4 MB / 0.6301 GB, free: 10.27 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 92.78 kB / 0.7434 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004638, allocations: 12.38 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1552, allocations: 115.3 MB / 0.9788 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.05507/0.2103, allocations: 30.59 MB / 1.009 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.04143/0.2518, allocations: 9.661 MB / 1.018 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004802/0.2566, allocations: 119.2 kB / 1.018 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.259, allocations: 0.6793 MB / 1.019 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006393/0.2654, allocations: 1.573 MB / 1.02 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004852/0.2703, allocations: 1.168 MB / 1.022 GB, free: 232 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007853/0.2782, allocations: 3.893 MB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02256/0.3008, allocations: 10.38 MB / 1.035 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004782/0.3056, allocations: 2.137 MB / 1.038 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00461/0.3103, allocations: 2.203 MB / 1.04 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001266/0.3116, allocations: 280 kB / 1.04 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.3138, allocations: 0.523 MB / 1.04 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003301/0.3172, allocations: 1.921 MB / 1.042 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002355/0.3195, allocations: 1.03 MB / 1.043 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01201/0.3316, allocations: 8.404 MB / 1.052 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.672e-06/0.3316, allocations: 0 / 1.052 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.901e-06/0.3316, allocations: 0 / 1.052 GB, free: 1.328 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002007/0.3319, allocations: 0 / 1.052 GB, free: 1.328 MB / 0.6667 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.01134/0.3432, allocations: 4.371 MB / 1.056 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3433, allocations: 8.031 kB / 1.056 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005616/0.3489, allocations: 0.9149 MB / 1.057 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007563/0.3565, allocations: 2.925 MB / 1.06 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004557/0.357, allocations: 357.5 kB / 1.06 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00146/0.3585, allocations: 471.9 kB / 1.06 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5701/0.9286, allocations: 7.83 MB / 1.068 GB, free: 80.26 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002518/0.9289, allocations: 21.09 kB / 1.068 GB, free: 80.26 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001158/0.93, allocations: 202.4 kB / 1.068 GB, free: 80.26 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008089/0.9309, allocations: 366.3 kB / 1.069 GB, free: 80.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01646/0.9473, allocations: 5.904 MB / 1.074 GB, free: 78.47 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04633/0.9937, allocations: 36.24 MB / 1.11 GB, free: 48.87 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004575/0.9983, allocations: 2.133 MB / 1.112 GB, free: 48.06 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.9985, allocations: 20.28 kB / 1.112 GB, free: 48.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.9986, allocations: 52.06 kB / 1.112 GB, free: 48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=157): time 5.852e-06/0.9986, allocations: 0 / 1.112 GB, free: 48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.01771/1.016, allocations: 7.537 MB / 1.119 GB, free: 43.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/1.016, allocations: 68.53 kB / 1.119 GB, free: 43.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/1.02, allocations: 1.844 MB / 1.121 GB, free: 42.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003281/1.02, allocations: 53.05 kB / 1.121 GB, free: 42.13 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001312/1.021, allocations: 2.13 MB / 1.123 GB, free: 40.26 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006518/1.022, allocations: 0.5547 MB / 1.124 GB, free: 39.79 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/1.022, allocations: 43.94 kB / 1.124 GB, free: 39.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.022, allocations: 398.1 kB / 1.124 GB, free: 39.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/1.025, allocations: 1.05 MB / 1.125 GB, free: 38.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002768/1.027, allocations: 1.744 MB / 1.127 GB, free: 37.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/1.03, allocations: 1.349 MB / 1.128 GB, free: 36.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.085e-05/1.03, allocations: 6.031 kB / 1.128 GB, free: 36.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.009266/1.039, allocations: 3.899 MB / 1.132 GB, free: 34.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/1.04, allocations: 14.72 kB / 1.132 GB, free: 34.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.159e-05/1.04, allocations: 26.06 kB / 1.132 GB, free: 34.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003399/1.043, allocations: 0.9338 MB / 1.133 GB, free: 33.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/1.045, allocations: 422.1 kB / 1.133 GB, free: 33.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02341/1.069, allocations: 21.42 MB / 1.154 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/1.071, allocations: 130.8 kB / 1.154 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004431/1.072, allocations: 90.53 kB / 1.155 GB, free: 14.19 MB / 0.6823 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.00357/1.075, allocations: 1.649 MB / 1.156 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006648/1.076, allocations: 256.2 kB / 1.156 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006883/1.083, allocations: 3.249 MB / 1.16 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/1.083, allocations: 19.88 kB / 1.16 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/1.083, allocations: 7.25 kB / 1.16 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-05/1.083, allocations: 11.95 kB / 1.16 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01716/1.1, allocations: 7.542 MB / 1.167 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-05/1.1, allocations: 7.953 kB / 1.167 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/1.102, allocations: 215.6 kB / 1.167 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003146/1.105, allocations: 0.8918 MB / 1.168 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002919/1.105, allocations: 31.98 kB / 1.168 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0289/1.134, allocations: 21.39 MB / 1.189 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/1.134, allocations: 4 kB / 1.189 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008661/1.143, allocations: 3.701 MB / 1.193 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001744/1.144, allocations: 0.5292 MB / 1.193 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006416/1.145, allocations: 35.98 kB / 1.193 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/1.147, allocations: 91.89 kB / 1.193 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005086/1.147, allocations: 133 kB / 1.193 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/1.148, allocations: 51.98 kB / 1.193 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002573/1.15, allocations: 1.201 MB / 1.195 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.95e-07/1.15, allocations: 0 / 1.195 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004356/1.155, allocations: 0.9102 MB / 1.196 GB, free: 4.477 MB / 0.7136 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.0005111/1.155, allocations: 162 kB / 1.196 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009386/1.165, allocations: 4.408 MB / 1.2 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/1.165, allocations: 4 kB / 1.2 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.006147/1.171, allocations: 2.991 MB / 1.203 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004345/1.175, allocations: 0.7516 MB / 1.204 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/1.195, allocations: 9.235 MB / 1.213 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006359/1.201, allocations: 3.294 MB / 1.216 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002731/1.204, allocations: 0.5254 MB / 1.216 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000602/1.204, allocations: 139.4 kB / 1.217 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of SimCode: time 1.748e-06/1.204, allocations: 4 kB / 1.217 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of Templates: time 0.104/1.308, allocations: 39.73 MB / 1.255 GB, free: 7.363 MB / 0.7761 GB