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_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 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.782/2.782, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001519/0.001518, allocations: 179.5 kB / 325.6 MB, free: 2.832 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.491/2.491, allocations: 205.4 MB / 0.5766 GB, free: 21.14 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.001659/0.001659, allocations: 106.5 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006502/0.0006506, allocations: 12.75 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2221, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.09485/0.317, allocations: 33.04 MB / 0.9312 GB, free: 32.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0218/0.3389, allocations: 10.71 MB / 0.9416 GB, free: 22.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003555/0.3425, allocations: 127.2 kB / 0.9417 GB, free: 21.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003056/0.3456, allocations: 0.7609 MB / 0.9425 GB, free: 21.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007066/0.3527, allocations: 1.702 MB / 0.9441 GB, free: 19.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005814/0.3586, allocations: 1.3 MB / 0.9454 GB, free: 18.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.008947/0.3675, allocations: 4.447 MB / 0.9497 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02575/0.3933, allocations: 12.66 MB / 0.9621 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006145/0.3995, allocations: 2.495 MB / 0.9645 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006925/0.4065, allocations: 2.647 MB / 0.9671 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.00179/0.4084, allocations: 344 kB / 0.9675 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005728/0.4141, allocations: 0.5894 MB / 0.968 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.008004/0.4222, allocations: 2.307 MB / 0.9703 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003671/0.4259, allocations: 1.194 MB / 0.9715 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01683/0.4428, allocations: 10.03 MB / 0.9812 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4429, allocations: 0 / 0.9812 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.26e-06/0.4429, allocations: 0 / 0.9812 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004142/0.4433, allocations: 3.938 kB / 0.9812 GB, free: 13.35 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0188/0.4621, allocations: 5.102 MB / 0.9862 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.4622, allocations: 12.03 kB / 0.9862 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007886/0.4701, allocations: 1.015 MB / 0.9872 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.4814, allocations: 3.342 MB / 0.9905 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006631/0.4821, allocations: 423.4 kB / 0.9909 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002519/0.4847, allocations: 0.5429 MB / 0.9914 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03089/0.5156, allocations: 9.291 MB / 1.001 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003424/0.516, allocations: 23.78 kB / 1.001 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002038/0.5181, allocations: 243.9 kB / 1.001 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001168/0.5193, allocations: 422.9 kB / 1.001 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0238/0.5432, allocations: 7.084 MB / 1.008 GB, free: 1.395 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07943/0.6226, allocations: 41.36 MB / 1.048 GB, free: 4.289 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/0.6352, allocations: 3.096 MB / 1.051 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003667/0.6357, allocations: 26 kB / 1.052 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.189e-05/0.6358, allocations: 56.56 kB / 1.052 GB, free: 1.102 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 8.846e-06/0.6358, allocations: 4 kB / 1.052 GB, free: 1.098 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.6785/1.314, allocations: 10.43 MB / 1.062 GB, free: 135.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/1.314, allocations: 77.5 kB / 1.062 GB, free: 135.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005/1.319, allocations: 1.981 MB / 1.064 GB, free: 135.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004818/1.32, allocations: 66.3 kB / 1.064 GB, free: 135.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002153/1.322, allocations: 2.404 MB / 1.066 GB, free: 134.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/1.323, allocations: 0.7314 MB / 1.067 GB, free: 133.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/1.324, allocations: 58.31 kB / 1.067 GB, free: 133.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000221/1.324, allocations: 411 kB / 1.067 GB, free: 133.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004207/1.328, allocations: 1.36 MB / 1.069 GB, free: 133.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005398/1.334, allocations: 2.086 MB / 1.071 GB, free: 132.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004639/1.338, allocations: 1.722 MB / 1.072 GB, free: 131.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-05/1.338, allocations: 7.344 kB / 1.072 GB, free: 131.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01496/1.353, allocations: 5.047 MB / 1.077 GB, free: 129.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/1.353, allocations: 17.97 kB / 1.077 GB, free: 129.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.816e-05/1.354, allocations: 23.56 kB / 1.077 GB, free: 129.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006127/1.36, allocations: 1.566 MB / 1.079 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003318/1.363, allocations: 460.2 kB / 1.079 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03372/1.397, allocations: 17.69 MB / 1.097 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00358/1.4, allocations: 144.6 kB / 1.097 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005148/1.401, allocations: 111.7 kB / 1.097 GB, free: 117.5 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 (231): * Single equations (assignments): 227 * 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 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004758/1.406, allocations: 1.946 MB / 1.099 GB, free: 116.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008958/1.407, allocations: 289.6 kB / 1.099 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/1.418, allocations: 4.43 MB / 1.103 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/1.418, allocations: 20.88 kB / 1.103 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.224e-05/1.418, allocations: 19.95 kB / 1.103 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.735e-05/1.418, allocations: 11.95 kB / 1.103 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02497/1.443, allocations: 9.643 MB / 1.113 GB, free: 103 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.938e-05/1.443, allocations: 8 kB / 1.113 GB, free: 103 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/1.445, allocations: 231.6 kB / 1.113 GB, free: 102.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005799/1.451, allocations: 1.434 MB / 1.114 GB, free: 101.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000395/1.452, allocations: 40 kB / 1.114 GB, free: 101.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03152/1.483, allocations: 17.73 MB / 1.132 GB, free: 83.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.483, allocations: 7.938 kB / 1.132 GB, free: 83.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/1.494, allocations: 4.871 MB / 1.137 GB, free: 77.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002102/1.496, allocations: 0.6381 MB / 1.137 GB, free: 77.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006518/1.497, allocations: 45 kB / 1.137 GB, free: 77.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002333/1.499, allocations: 119.9 kB / 1.137 GB, free: 77.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007594/1.5, allocations: 177.6 kB / 1.138 GB, free: 76.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002128/1.5, allocations: 60 kB / 1.138 GB, free: 76.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002435/1.503, allocations: 1.292 MB / 1.139 GB, free: 75.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.41e-07/1.503, allocations: 4 kB / 1.139 GB, free: 75.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004805/1.508, allocations: 1.141 MB / 1.14 GB, free: 74.47 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004887/1.508, allocations: 167 kB / 1.14 GB, free: 74.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.519, allocations: 4.666 MB / 1.145 GB, free: 69.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/1.519, allocations: 8 kB / 1.145 GB, free: 69.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007328/1.526, allocations: 2.922 MB / 1.148 GB, free: 66.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006144/1.532, allocations: 0.8047 MB / 1.148 GB, free: 65.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03216/1.565, allocations: 11.21 MB / 1.159 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009442/1.574, allocations: 3.797 MB / 1.163 GB, free: 50.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004889/1.579, allocations: 0.5518 MB / 1.164 GB, free: 50.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/1.58, allocations: 143.4 kB / 1.164 GB, free: 50.03 MB / 0.698 GB Notification: Performance of SimCode: time 1.713e-06/1.58, allocations: 4 kB / 1.164 GB, free: 50.02 MB / 0.698 GB Notification: Performance of Templates: time 0.1305/1.711, allocations: 48.78 MB / 1.211 GB, free: 1.863 MB / 0.698 GB