Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.596/2.596, allocations: 287.9 MB / 302.9 MB, free: 8.293 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.001415/0.001414, allocations: 173.2 kB / 371.4 MB, free: 10.68 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.058/2.058, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001038/0.001037, allocations: 100.8 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008605/0.0008608, allocations: 16.81 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2354, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0178/0.2532, allocations: 8.767 MB / 0.9873 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008823/0.2621, allocations: 3.059 MB / 0.9903 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.2634, allocations: 27.81 kB / 0.9903 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007205/0.2641, allocations: 190.9 kB / 0.9905 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.2666, allocations: 498.5 kB / 0.991 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.269, allocations: 0.5209 MB / 0.9915 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002994/0.2721, allocations: 1.438 MB / 0.9929 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004325/0.2764, allocations: 2.701 MB / 0.9955 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.2776, allocations: 0.8138 MB / 0.9963 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.2788, allocations: 0.9972 MB / 0.9973 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.2791, allocations: 116 kB / 0.9974 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006173/0.2797, allocations: 223.8 kB / 0.9976 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007331/0.2805, allocations: 0.842 MB / 0.9985 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003835/0.2809, allocations: 376.8 kB / 0.9988 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002726/0.2836, allocations: 2.969 MB / 1.002 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.583e-06/0.2837, allocations: 0 / 1.002 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.466e-06/0.2837, allocations: 0 / 1.002 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.157e-05/0.2837, allocations: 4 kB / 1.002 GB, free: 4.562 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003312/0.287, allocations: 1.772 MB / 1.003 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2871, allocations: 16.02 kB / 1.003 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/0.2979, allocations: 1.429 MB / 1.005 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.3005, allocations: 1.227 MB / 1.006 GB, free: 16 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.3007, allocations: 115 kB / 1.006 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004891/0.3012, allocations: 147.9 kB / 1.006 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.3122, allocations: 3.413 MB / 1.01 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.869e-05/0.3124, allocations: 3.938 kB / 1.01 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005687/0.3129, allocations: 67.95 kB / 1.01 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006303/0.3136, allocations: 207.1 kB / 1.01 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/0.3275, allocations: 3.12 MB / 1.013 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03301/0.3605, allocations: 13.58 MB / 1.026 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003751/0.3643, allocations: 1.711 MB / 1.028 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.3645, allocations: 16.94 kB / 1.028 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.3646, allocations: 39.56 kB / 1.028 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 4.8e-06/0.3646, allocations: 4 kB / 1.028 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.1843/0.5489, allocations: 35.94 MB / 1.063 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.549, allocations: 73.41 kB / 1.063 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.551, allocations: 1.046 MB / 1.064 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003907/0.5514, allocations: 57.7 kB / 1.064 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007354/0.5521, allocations: 0.7835 MB / 1.065 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000851/0.553, allocations: 0.6277 MB / 1.066 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.5533, allocations: 36 kB / 1.066 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002639/0.5535, allocations: 385.9 kB / 1.066 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5699/1.123, allocations: 1.924 MB / 1.068 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004575/1.128, allocations: 2.275 MB / 1.07 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004691/1.133, allocations: 2.215 MB / 1.072 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/1.133, allocations: 2.781 kB / 1.072 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0277/1.161, allocations: 8.995 MB / 1.081 GB, free: 80.53 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/1.161, allocations: 9.484 kB / 1.081 GB, free: 80.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/1.161, allocations: 9.156 kB / 1.081 GB, free: 80.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02691/1.188, allocations: 4.978 MB / 1.086 GB, free: 79.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/1.19, allocations: 191.8 kB / 1.086 GB, free: 79.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1085/1.298, allocations: 36.85 MB / 1.122 GB, free: 59.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/1.301, allocations: 104.3 kB / 1.122 GB, free: 59.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003306/1.301, allocations: 69.03 kB / 1.122 GB, free: 59 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001689/1.303, allocations: 0.8017 MB / 1.123 GB, free: 58.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004348/1.303, allocations: 147 kB / 1.123 GB, free: 58.41 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02345/1.327, allocations: 8.871 MB / 1.132 GB, free: 50.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/1.327, allocations: 24 kB / 1.132 GB, free: 50.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-05/1.327, allocations: 31.95 kB / 1.132 GB, free: 50.58 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/1.327, allocations: 7.969 kB / 1.132 GB, free: 50.57 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03991/1.367, allocations: 13.12 MB / 1.145 GB, free: 37.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.77e-05/1.367, allocations: 7.953 kB / 1.145 GB, free: 37.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000879/1.368, allocations: 123.8 kB / 1.145 GB, free: 37.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02033/1.388, allocations: 4.746 MB / 1.149 GB, free: 32.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004131/1.389, allocations: 40 kB / 1.149 GB, free: 32.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09194/1.481, allocations: 33 MB / 1.182 GB, free: 14.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.448e-05/1.481, allocations: 7.938 kB / 1.182 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02699/1.508, allocations: 8.554 MB / 1.19 GB, free: 6.191 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/1.51, allocations: 0.61 MB / 1.191 GB, free: 5.562 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004693/1.51, allocations: 43.98 kB / 1.191 GB, free: 5.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/1.512, allocations: 95.84 kB / 1.191 GB, free: 5.426 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000916/1.513, allocations: 157.4 kB / 1.191 GB, free: 5.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/1.513, allocations: 48 kB / 1.191 GB, free: 5.223 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001481/1.514, allocations: 0.7343 MB / 1.192 GB, free: 4.477 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.21e-07/1.514, allocations: 4 kB / 1.192 GB, free: 4.473 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004257/1.519, allocations: 0.9961 MB / 1.193 GB, free: 3.477 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,77.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004811/1.519, allocations: 144.5 kB / 1.193 GB, free: 3.328 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01398/1.533, allocations: 5.829 MB / 1.199 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.533, allocations: 4 kB / 1.199 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01032/1.544, allocations: 3.779 MB / 1.202 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/1.545, allocations: 195.2 kB / 1.202 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/1.556, allocations: 5.632 MB / 1.208 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002617/1.559, allocations: 1.891 MB / 1.21 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001189/1.56, allocations: 343.4 kB / 1.21 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/1.56, allocations: 59.38 kB / 1.21 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of SimCode: time 1.664e-06/1.561, allocations: 8 kB / 1.21 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of Templates: time 0.118/1.679, allocations: 54.41 MB / 1.263 GB, free: 11.17 MB / 0.7761 GB