Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.566/2.566, 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.001419/0.001419, allocations: 188.5 kB / 371.4 MB, free: 10.67 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.068/2.068, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001025/0.001025, allocations: 94.42 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006438/0.0006441, allocations: 20.36 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1604, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02492/0.1854, allocations: 19.8 MB / 0.9981 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1961, allocations: 5.987 MB / 1.004 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.198, allocations: 75.5 kB / 1.004 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.1992, allocations: 433.3 kB / 1.004 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003684/0.2029, allocations: 1.098 MB / 1.005 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002847/0.2057, allocations: 0.8324 MB / 1.006 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004979/0.2107, allocations: 2.796 MB / 1.009 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01279/0.2236, allocations: 6.228 MB / 1.015 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003056/0.2267, allocations: 1.491 MB / 1.017 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003157/0.2299, allocations: 1.713 MB / 1.018 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006638/0.2306, allocations: 204 kB / 1.018 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.2322, allocations: 443.6 kB / 1.019 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002267/0.2345, allocations: 1.567 MB / 1.02 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.2358, allocations: 0.7381 MB / 1.021 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008103/0.2439, allocations: 5.879 MB / 1.027 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.216e-06/0.244, allocations: 0 / 1.027 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.119e-06/0.244, allocations: 0 / 1.027 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001382/0.2441, allocations: 4 kB / 1.027 GB, free: 10.76 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007516/0.2517, allocations: 3.087 MB / 1.03 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.2517, allocations: 12.02 kB / 1.03 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007923/0.2597, allocations: 1.256 MB / 1.031 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005605/0.2653, allocations: 2.161 MB / 1.033 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003237/0.2657, allocations: 234.4 kB / 1.033 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/0.2668, allocations: 315.9 kB / 1.034 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01589/0.2827, allocations: 6.158 MB / 1.04 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/0.2829, allocations: 19.88 kB / 1.04 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007111/0.2836, allocations: 135.9 kB / 1.04 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007142/0.2843, allocations: 414.3 kB / 1.04 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/0.2968, allocations: 4.643 MB / 1.045 GB, free: 7.957 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5965/0.8934, allocations: 29.04 MB / 1.073 GB, free: 71.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002878/0.8963, allocations: 1.414 MB / 1.075 GB, free: 71.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.8965, allocations: 20.67 kB / 1.075 GB, free: 71.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.8965, allocations: 44.7 kB / 1.075 GB, free: 71.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 4.648e-06/0.8965, allocations: 0 / 1.075 GB, free: 71.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=179): time 0.1675/1.064, allocations: 36.3 MB / 1.11 GB, free: 63.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/1.064, allocations: 75.41 kB / 1.11 GB, free: 63.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/1.066, allocations: 1.405 MB / 1.112 GB, free: 62.47 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003379/1.067, allocations: 56.7 kB / 1.112 GB, free: 62.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008939/1.068, allocations: 1.534 MB / 1.113 GB, free: 61.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006379/1.068, allocations: 0.611 MB / 1.114 GB, free: 60.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/1.069, allocations: 42.41 kB / 1.114 GB, free: 60.51 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.069, allocations: 387.4 kB / 1.114 GB, free: 60.14 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003154/1.072, allocations: 1.781 MB / 1.116 GB, free: 59.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003693/1.076, allocations: 2.342 MB / 1.118 GB, free: 57.54 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003878/1.08, allocations: 2.049 MB / 1.12 GB, free: 56.46 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-05/1.08, allocations: 2.969 kB / 1.12 GB, free: 56.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02821/1.108, allocations: 8.538 MB / 1.128 GB, free: 48.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/1.108, allocations: 16.06 kB / 1.128 GB, free: 48.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/1.108, allocations: 16 kB / 1.128 GB, free: 48.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01841/1.126, allocations: 4.626 MB / 1.133 GB, free: 43.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/1.128, allocations: 315.3 kB / 1.133 GB, free: 43.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05318/1.181, allocations: 30.82 MB / 1.163 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/1.183, allocations: 147.8 kB / 1.164 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003961/1.184, allocations: 87.98 kB / 1.164 GB, free: 11.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002836/1.187, allocations: 1.328 MB / 1.165 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005688/1.187, allocations: 197.6 kB / 1.165 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02083/1.208, allocations: 8.422 MB / 1.173 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/1.208, allocations: 16 kB / 1.173 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.537e-05/1.208, allocations: 28 kB / 1.173 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.58e-05/1.208, allocations: 11.97 kB / 1.173 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03485/1.243, allocations: 12.82 MB / 1.186 GB, free: 4.246 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/1.243, allocations: 12.06 kB / 1.186 GB, free: 4.238 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000927/1.244, allocations: 167.7 kB / 1.186 GB, free: 4.074 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02091/1.265, allocations: 4.481 MB / 1.19 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004188/1.266, allocations: 39.95 kB / 1.191 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06521/1.331, allocations: 30.45 MB / 1.22 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.368e-05/1.331, allocations: 12 kB / 1.22 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02394/1.355, allocations: 8.627 MB / 1.229 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001888/1.357, allocations: 0.6272 MB / 1.229 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004822/1.357, allocations: 40 kB / 1.229 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/1.359, allocations: 131.8 kB / 1.229 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008565/1.36, allocations: 169 kB / 1.23 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/1.36, allocations: 51.94 kB / 1.23 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001902/1.362, allocations: 0.947 MB / 1.231 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.68e-07/1.362, allocations: 7.375 kB / 1.231 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005234/1.367, allocations: 1.102 MB / 1.232 GB, free: 4.273 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005447/1.368, allocations: 143.7 kB / 1.232 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01723/1.385, allocations: 6.411 MB / 1.238 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/1.385, allocations: 4 kB / 1.238 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01256/1.398, allocations: 4.286 MB / 1.242 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/1.401, allocations: 470.6 kB / 1.243 GB, free: 8.832 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/1.418, allocations: 8.096 MB / 1.251 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005178/1.423, allocations: 2.794 MB / 1.253 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001632/1.425, allocations: 392.5 kB / 1.254 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/1.425, allocations: 91.44 kB / 1.254 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of SimCode: time 1.64e-06/1.425, allocations: 0 / 1.254 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of Templates: time 0.1257/1.551, allocations: 55.49 MB / 1.308 GB, free: 6.121 MB / 0.823 GB