Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.856/4.856, allocations: 0.5623 GB / 0.5769 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002402/0.002401, allocations: 356.4 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.243/4.243, allocations: 410.7 MB / 1.112 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001761/0.001761, allocations: 175.6 kB / 1.225 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004897, allocations: 15.98 kB / 1.348 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5729/0.5735, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03842/0.6119, allocations: 37.42 MB / 1.497 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02339/0.6354, allocations: 14.36 MB / 1.511 GB, free: 232.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004147/0.6396, allocations: 159.1 kB / 1.511 GB, free: 232.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002884/0.6425, allocations: 0.787 MB / 1.512 GB, free: 231.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.007636/0.6501, allocations: 2.506 MB / 1.515 GB, free: 229 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006425/0.6566, allocations: 1.924 MB / 1.517 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0128/0.6694, allocations: 12.71 MB / 1.529 GB, free: 214.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02386/0.6933, allocations: 13.96 MB / 1.543 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005745/0.6991, allocations: 3.486 MB / 1.546 GB, free: 197.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006761/0.7059, allocations: 4.643 MB / 1.551 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001503/0.7075, allocations: 400 kB / 1.551 GB, free: 192.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003603/0.7111, allocations: 0.8856 MB / 1.552 GB, free: 191.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.003543/0.7146, allocations: 2.958 MB / 1.555 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0024/0.7171, allocations: 1.381 MB / 1.556 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.7288, allocations: 11.76 MB / 1.567 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.896e-06/0.7289, allocations: 4 kB / 1.568 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.97e-06/0.7289, allocations: 0 / 1.568 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002731/0.7292, allocations: 0 / 1.568 GB, free: 175.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01442/0.7436, allocations: 6.22 MB / 1.574 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.7436, allocations: 15.56 kB / 1.574 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/0.7557, allocations: 1.592 MB / 1.575 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009061/0.7648, allocations: 4.093 MB / 1.579 GB, free: 163 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003687/0.7652, allocations: 456.1 kB / 1.58 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001765/0.767, allocations: 0.5974 MB / 1.58 GB, free: 162 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02217/0.7892, allocations: 10.64 MB / 1.591 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002283/0.7895, allocations: 31.62 kB / 1.591 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001104/0.7906, allocations: 263.9 kB / 1.591 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002912/0.7935, allocations: 0.7768 MB / 1.592 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01871/0.8122, allocations: 8.51 MB / 1.6 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1044/0.9167, allocations: 46.95 MB / 1.646 GB, free: 90.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007158/0.9239, allocations: 4.299 MB / 1.65 GB, free: 86.39 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006545/0.9305, allocations: 3.677 MB / 1.654 GB, free: 82.71 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003819/0.9309, allocations: 38.73 kB / 1.654 GB, free: 82.67 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.36e-05/0.931, allocations: 89.2 kB / 1.654 GB, free: 82.57 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=353): time 7.925e-06/0.931, allocations: 0 / 1.654 GB, free: 82.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=578): time 1.154/2.085, allocations: 127.8 MB / 1.779 GB, free: 229.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/2.086, allocations: 111.9 kB / 1.779 GB, free: 229.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004382/2.09, allocations: 2.654 MB / 1.781 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/2.091, allocations: 125.7 kB / 1.781 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001589/2.093, allocations: 2.675 MB / 1.784 GB, free: 223.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002256/2.095, allocations: 1.959 MB / 1.786 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005745/2.095, allocations: 112 kB / 1.786 GB, free: 221.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000299/2.096, allocations: 0.5295 MB / 1.786 GB, free: 221.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008388/2.104, allocations: 4.06 MB / 1.79 GB, free: 217 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008858/2.113, allocations: 4.992 MB / 1.795 GB, free: 211.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01992/2.133, allocations: 4.823 MB / 1.8 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-05/2.133, allocations: 4 kB / 1.8 GB, free: 206.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.08223/2.215, allocations: 16.92 MB / 1.817 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/2.215, allocations: 12 kB / 1.817 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.855e-05/2.216, allocations: 24 kB / 1.817 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03872/2.254, allocations: 9.052 MB / 1.825 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/2.257, allocations: 0.5265 MB / 1.826 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1219/2.379, allocations: 70.6 MB / 1.895 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005159/2.384, allocations: 279.8 kB / 1.895 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/2.385, allocations: 192 kB / 1.895 GB, free: 107.6 MB / 0.8542 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005506/2.391, allocations: 2.425 MB / 1.898 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/2.392, allocations: 474.4 kB / 1.898 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0453/2.438, allocations: 16.75 MB / 1.915 GB, free: 87.85 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.828e-05/2.438, allocations: 56 kB / 1.915 GB, free: 87.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001677/2.438, allocations: 75.98 kB / 1.915 GB, free: 87.72 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.515e-05/2.438, allocations: 27.86 kB / 1.915 GB, free: 87.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0652/2.503, allocations: 25.62 MB / 1.94 GB, free: 61.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.756e-05/2.503, allocations: 8 kB / 1.94 GB, free: 61.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002289/2.506, allocations: 325.5 kB / 1.94 GB, free: 61.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03612/2.542, allocations: 8.259 MB / 1.948 GB, free: 53.23 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001146/2.543, allocations: 104 kB / 1.948 GB, free: 53.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1523/2.695, allocations: 67.45 MB / 2.014 GB, free: 232 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.591e-05/2.695, allocations: 15.89 kB / 2.014 GB, free: 216 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1071/2.803, allocations: 21.47 MB / 2.035 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008079/2.811, allocations: 1.366 MB / 2.036 GB, free: 8.992 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002859/2.814, allocations: 104 kB / 2.036 GB, free: 8.891 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008399/2.822, allocations: 291.6 kB / 2.037 GB, free: 8.605 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003911/2.826, allocations: 0.5182 MB / 2.037 GB, free: 8.086 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001535/2.828, allocations: 144 kB / 2.037 GB, free: 7.945 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01903/2.847, allocations: 1.755 MB / 2.039 GB, free: 6.203 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.612e-06/2.847, allocations: 0 / 2.039 GB, free: 6.203 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.02553/2.872, allocations: 2.441 MB / 2.041 GB, free: 3.762 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007662/2.88, allocations: 248.6 kB / 2.042 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.06277/2.943, allocations: 14.48 MB / 2.056 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.266e-05/2.943, allocations: 5 kB / 2.056 GB, free: 4.836 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.04307/2.986, allocations: 9.376 MB / 2.065 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01507/3.001, allocations: 1.28 MB / 2.066 GB, free: 10.08 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06366/3.065, allocations: 18.08 MB / 2.084 GB, free: 7.926 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01077/3.076, allocations: 5.021 MB / 2.089 GB, free: 2.863 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004143/3.08, allocations: 0.7371 MB / 2.09 GB, free: 2.16 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009276/3.081, allocations: 199.4 kB / 2.09 GB, free: 1.969 MB / 0.948 GB Notification: Performance of SimCode: time 1.778e-06/3.081, allocations: 0 / 2.09 GB, free: 1.969 MB / 0.948 GB Notification: Performance of Templates: time 0.8917/3.972, allocations: 135.3 MB / 2.222 GB, free: 214.3 MB / 0.948 GB