Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.843/4.843, allocations: 0.5623 GB / 0.5775 GB, free: 3.344 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.002546/0.002545, allocations: 355.6 kB / 0.6446 GB, free: 185.7 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.211/4.211, allocations: 410.7 MB / 1.113 GB, free: 5.961 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.001781/0.001781, allocations: 194.1 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005251/0.0005254, allocations: 12 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.755/0.7556, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2565/1.012, allocations: 192.5 MB / 1.649 GB, free: 91.65 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/1.013, allocations: 107.9 kB / 1.649 GB, free: 91.55 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.2418/1.254, allocations: 66.62 MB / 1.714 GB, free: 24.59 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.537e-06/1.254, allocations: 0 / 1.714 GB, free: 24.59 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001277/1.255, allocations: 35.94 kB / 1.715 GB, free: 24.55 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.00636/1.261, allocations: 1.788 MB / 1.716 GB, free: 22.71 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/1.261, allocations: 11.62 kB / 1.716 GB, free: 22.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005294/1.266, allocations: 0.6611 MB / 1.717 GB, free: 22.04 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003633/1.27, allocations: 1.25 MB / 1.718 GB, free: 20.75 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/1.27, allocations: 119.2 kB / 1.718 GB, free: 20.63 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005145/1.271, allocations: 159.9 kB / 1.718 GB, free: 20.47 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007555/1.278, allocations: 2.656 MB / 1.721 GB, free: 17.75 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.314e-05/1.278, allocations: 11.94 kB / 1.721 GB, free: 17.74 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002932/1.279, allocations: 67.98 kB / 1.721 GB, free: 17.68 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001455/1.279, allocations: 87.22 kB / 1.721 GB, free: 17.59 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006393/1.285, allocations: 2.214 MB / 1.723 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01907/1.304, allocations: 10.89 MB / 1.734 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/1.306, allocations: 0.7604 MB / 1.735 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/1.308, allocations: 0.5441 MB / 1.735 GB, free: 2.273 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/1.308, allocations: 93.47 kB / 1.735 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/1.308, allocations: 38.92 kB / 1.735 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=46): time 3.096e-06/1.308, allocations: 0 / 1.735 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of matching and sorting (n=72): time 0.6949/2.003, allocations: 9.057 MB / 1.744 GB, free: 230.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/2.003, allocations: 87.7 kB / 1.744 GB, free: 230.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/2.005, allocations: 0.9429 MB / 1.745 GB, free: 230.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002739/2.006, allocations: 43.53 kB / 1.745 GB, free: 230.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006957/2.006, allocations: 0.7748 MB / 1.746 GB, free: 229.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003701/2.007, allocations: 251 kB / 1.746 GB, free: 229.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/2.007, allocations: 20.06 kB / 1.746 GB, free: 229.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001881/2.007, allocations: 403 kB / 1.747 GB, free: 229.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/2.009, allocations: 0.8055 MB / 1.747 GB, free: 229.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002679/2.012, allocations: 1.164 MB / 1.749 GB, free: 228.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/2.015, allocations: 1.007 MB / 1.75 GB, free: 228.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-05/2.015, allocations: 3.688 kB / 1.75 GB, free: 228.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01779/2.033, allocations: 3.817 MB / 1.753 GB, free: 228.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003111/2.033, allocations: 419.1 kB / 1.754 GB, free: 228.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/2.033, allocations: 10.34 kB / 1.754 GB, free: 228.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01563/2.049, allocations: 2.184 MB / 1.756 GB, free: 228.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/2.05, allocations: 219.6 kB / 1.756 GB, free: 228.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02906/2.079, allocations: 11.44 MB / 1.767 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/2.082, allocations: 196.2 kB / 1.767 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/2.082, allocations: 54.38 kB / 1.767 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/2.082, allocations: 3.75 kB / 1.767 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0136/2.096, allocations: 3.099 MB / 1.77 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.705e-05/2.096, allocations: 11.31 kB / 1.77 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/2.106, allocations: 1.373 MB / 1.772 GB, free: 225 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/2.108, allocations: 287.2 kB / 1.772 GB, free: 225 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01799/2.126, allocations: 6.608 MB / 1.779 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/2.128, allocations: 166.9 kB / 1.779 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/2.128, allocations: 46.62 kB / 1.779 GB, free: 221.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.001827/2.13, allocations: 0.9003 MB / 1.78 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003292/2.131, allocations: 95.58 kB / 1.78 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01547/2.146, allocations: 3.358 MB / 1.783 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/2.146, allocations: 11.77 kB / 1.783 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.537e-06/2.146, allocations: 2.344 kB / 1.783 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-05/2.146, allocations: 5.344 kB / 1.783 GB, free: 220.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02072/2.167, allocations: 5.935 MB / 1.789 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/2.167, allocations: 3.656 kB / 1.789 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008561/2.168, allocations: 105.2 kB / 1.789 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01396/2.182, allocations: 1.971 MB / 1.791 GB, free: 218 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002124/2.182, allocations: 14.69 kB / 1.791 GB, free: 217.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02457/2.207, allocations: 9.826 MB / 1.8 GB, free: 212.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/2.207, allocations: 3.625 kB / 1.8 GB, free: 212.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/2.222, allocations: 3.232 MB / 1.804 GB, free: 210.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/2.223, allocations: 334 kB / 1.804 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002594/2.223, allocations: 12 kB / 1.804 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/2.225, allocations: 152.4 kB / 1.804 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/2.225, allocations: 67.23 kB / 1.804 GB, free: 209.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.686e-05/2.225, allocations: 20 kB / 1.804 GB, free: 209.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001283/2.227, allocations: 0.6719 MB / 1.805 GB, free: 209.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/2.227, allocations: 0 / 1.805 GB, free: 209.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003588/2.23, allocations: 0.7278 MB / 1.806 GB, free: 208.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004469/2.231, allocations: 185.3 kB / 1.806 GB, free: 208.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01411/2.245, allocations: 4.127 MB / 1.81 GB, free: 205 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/2.245, allocations: 0 / 1.81 GB, free: 205 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005057/2.25, allocations: 1.476 MB / 1.811 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/2.252, allocations: 247.5 kB / 1.811 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008325/2.26, allocations: 4.061 MB / 1.815 GB, free: 200 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/2.262, allocations: 1.771 MB / 1.817 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002298/2.265, allocations: 0.5206 MB / 1.818 GB, free: 197.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/2.265, allocations: 59.44 kB / 1.818 GB, free: 197.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.112e-06/2.265, allocations: 0 / 1.818 GB, free: 197.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.06306/2.328, allocations: 29.83 MB / 1.847 GB, free: 168.6 MB / 0.8542 GB