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.98/4.98, allocations: 0.5623 GB / 0.5775 GB, free: 3.375 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.002533/0.002533, allocations: 356.2 kB / 0.6446 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.269/4.269, allocations: 410.7 MB / 1.113 GB, free: 5.902 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.001862/0.001862, allocations: 187.4 kB / 1.226 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005188/0.000519, allocations: 19.98 kB / 1.349 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7178/0.7183, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2507/0.9691, allocations: 185.9 MB / 1.643 GB, free: 98.23 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/0.9695, allocations: 99.94 kB / 1.643 GB, free: 98.13 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.845/2.815, allocations: 320.7 MB / 1.956 GB, free: 56.42 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.966e-06/2.815, allocations: 0 / 1.956 GB, free: 56.42 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0006466/2.816, allocations: 167.9 kB / 1.956 GB, free: 56.26 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.02867/2.844, allocations: 6.138 MB / 1.962 GB, free: 50.04 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/2.844, allocations: 15.62 kB / 1.962 GB, free: 50.02 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02226/2.867, allocations: 1.775 MB / 1.964 GB, free: 48.24 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.021/2.888, allocations: 5.043 MB / 1.969 GB, free: 43.12 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005918/2.888, allocations: 452.1 kB / 1.969 GB, free: 42.67 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003441/2.892, allocations: 0.5974 MB / 1.97 GB, free: 42.07 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03374/2.926, allocations: 10.03 MB / 1.98 GB, free: 31.56 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004586/2.926, allocations: 35.67 kB / 1.98 GB, free: 31.52 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003125/2.929, allocations: 263.9 kB / 1.98 GB, free: 31.27 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006148/2.93, allocations: 380.1 kB / 1.98 GB, free: 30.89 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0255/2.955, allocations: 7.839 MB / 1.988 GB, free: 23.03 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0959/3.051, allocations: 46.38 MB / 2.033 GB, free: 4.895 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0143/3.066, allocations: 4.189 MB / 2.037 GB, free: 0.6953 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01323/3.079, allocations: 3.617 MB / 2.041 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007539/3.08, allocations: 34.78 kB / 2.041 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.16e-05/3.08, allocations: 69.34 kB / 2.041 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=353): time 1.028e-05/3.08, allocations: 0 / 2.041 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of matching and sorting (n=578): time 1.601/4.681, allocations: 106.5 MB / 2.145 GB, free: 199.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/4.681, allocations: 119.6 kB / 2.145 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005526/4.687, allocations: 2.496 MB / 2.148 GB, free: 199.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001499/4.688, allocations: 122.7 kB / 2.148 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002123/4.69, allocations: 2.694 MB / 2.15 GB, free: 198.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.003123/4.694, allocations: 1.954 MB / 2.152 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007439/4.694, allocations: 115.2 kB / 2.152 GB, free: 197.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003638/4.695, allocations: 0.5304 MB / 2.153 GB, free: 196.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009787/4.705, allocations: 3.789 MB / 2.157 GB, free: 196.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01126/4.716, allocations: 4.93 MB / 2.161 GB, free: 195.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0118/4.728, allocations: 4.584 MB / 2.166 GB, free: 195.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.606e-05/4.728, allocations: 7.438 kB / 2.166 GB, free: 195.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06542/4.793, allocations: 15.99 MB / 2.181 GB, free: 194.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.901e-05/4.793, allocations: 16.09 kB / 2.182 GB, free: 194.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.974e-05/4.793, allocations: 30.44 kB / 2.182 GB, free: 194.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04452/4.838, allocations: 7.744 MB / 2.189 GB, free: 193.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004616/4.843, allocations: 0.5596 MB / 2.19 GB, free: 193.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1845/5.027, allocations: 67.59 MB / 2.256 GB, free: 142 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008118/5.035, allocations: 239.1 kB / 2.256 GB, free: 141.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001684/5.037, allocations: 204 kB / 2.256 GB, free: 141.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * 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 (286): * Single equations (assignments): 275 * 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,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007742/5.045, allocations: 2.439 MB / 2.258 GB, free: 139.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00183/5.047, allocations: 470.4 kB / 2.259 GB, free: 139.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06364/5.11, allocations: 15.9 MB / 2.274 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.789e-05/5.111, allocations: 56 kB / 2.274 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002445/5.111, allocations: 72 kB / 2.275 GB, free: 126.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001407/5.111, allocations: 31.98 kB / 2.275 GB, free: 126.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08379/5.195, allocations: 23.97 MB / 2.298 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.418e-05/5.195, allocations: 8 kB / 2.298 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003418/5.198, allocations: 324 kB / 2.298 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03921/5.238, allocations: 6.876 MB / 2.305 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001479/5.239, allocations: 108 kB / 2.305 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1448/5.384, allocations: 64.45 MB / 2.368 GB, free: 40.96 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/5.384, allocations: 15.89 kB / 2.368 GB, free: 40.95 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0668/5.451, allocations: 20.24 MB / 2.388 GB, free: 20.36 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004788/5.456, allocations: 1.257 MB / 2.389 GB, free: 19.08 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002365/5.458, allocations: 104 kB / 2.389 GB, free: 18.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006823/5.465, allocations: 231.7 kB / 2.389 GB, free: 18.75 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003085/5.468, allocations: 0.525 MB / 2.39 GB, free: 18.23 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001265/5.469, allocations: 140 kB / 2.39 GB, free: 18.09 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003398/5.473, allocations: 1.624 MB / 2.392 GB, free: 16.48 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.41e-07/5.473, allocations: 0 / 2.392 GB, free: 16.48 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01218/5.485, allocations: 2.311 MB / 2.394 GB, free: 14.17 MB / 0.9323 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,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 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.001648/5.487, allocations: 241.6 kB / 2.394 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.04079/5.528, allocations: 13.84 MB / 2.408 GB, free: 15.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/5.528, allocations: 0 / 2.408 GB, free: 15.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.03176/5.559, allocations: 9.055 MB / 2.416 GB, free: 6.711 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0127/5.572, allocations: 1.19 MB / 2.418 GB, free: 5.578 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0505/5.623, allocations: 17.89 MB / 2.435 GB, free: 3.691 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01394/5.637, allocations: 5.015 MB / 2.44 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005801/5.643, allocations: 0.7426 MB / 2.441 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/5.644, allocations: 191.4 kB / 2.441 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of SimCode: time 2.394e-06/5.644, allocations: 0 / 2.441 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of Templates: time 1.071/6.715, allocations: 125 MB / 2.563 GB, free: 210.4 MB / 0.9792 GB