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_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 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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.319/2.319, allocations: 252.6 MB / 265.2 MB, free: 5.703 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001513, allocations: 179.9 kB / 324.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.5754 GB, free: 10.41 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.001127/0.001127, allocations: 94.69 kB / 0.6797 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.695e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2565, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9359/1.193, allocations: 179.5 MB / 1.07 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/1.193, allocations: 94.67 kB / 1.07 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.993/3.186, allocations: 319.1 MB / 1.382 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.475e-06/3.186, allocations: 0 / 1.382 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001012/3.187, allocations: 172.5 kB / 1.382 GB, free: 200.6 MB / 0.8698 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.03275/3.219, allocations: 5.51 MB / 1.387 GB, free: 198 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/3.22, allocations: 10.72 kB / 1.387 GB, free: 198 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02982/3.249, allocations: 1.763 MB / 1.389 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02186/3.271, allocations: 5.028 MB / 1.394 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005893/3.272, allocations: 451.8 kB / 1.394 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003608/3.276, allocations: 0.5985 MB / 1.395 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0345/3.31, allocations: 9.879 MB / 1.405 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004552/3.311, allocations: 26.27 kB / 1.405 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003051/3.314, allocations: 271.7 kB / 1.405 GB, free: 190 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006735/3.314, allocations: 378.8 kB / 1.405 GB, free: 190 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02482/3.339, allocations: 7.698 MB / 1.413 GB, free: 187 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08431/3.424, allocations: 46.38 MB / 1.458 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008799/3.433, allocations: 4.136 MB / 1.462 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00837/3.441, allocations: 3.572 MB / 1.466 GB, free: 130 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006502/3.442, allocations: 42.16 kB / 1.466 GB, free: 130 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/3.442, allocations: 73.34 kB / 1.466 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=353): time 6.523e-06/3.442, allocations: 0 / 1.466 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=578): time 0.7903/4.232, allocations: 98.53 MB / 1.562 GB, free: 30.96 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/4.232, allocations: 107.9 kB / 1.562 GB, free: 30.84 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004194/4.236, allocations: 2.12 MB / 1.564 GB, free: 28.72 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001469/4.238, allocations: 121.6 kB / 1.564 GB, free: 28.59 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001975/4.24, allocations: 2.704 MB / 1.567 GB, free: 25.87 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003053/4.243, allocations: 1.949 MB / 1.569 GB, free: 23.93 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007742/4.244, allocations: 112 kB / 1.569 GB, free: 23.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003581/4.244, allocations: 0.5375 MB / 1.569 GB, free: 23.28 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009154/4.253, allocations: 3.717 MB / 1.573 GB, free: 19.56 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01064/4.264, allocations: 4.845 MB / 1.578 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/4.275, allocations: 4.536 MB / 1.582 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.558e-05/4.275, allocations: 8 kB / 1.582 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.7605/5.036, allocations: 15.86 MB / 1.598 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.196e-05/5.036, allocations: 18.19 kB / 1.598 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/5.036, allocations: 29.75 kB / 1.598 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07218/5.108, allocations: 7.704 MB / 1.605 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006412/5.115, allocations: 0.5563 MB / 1.606 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.189/5.304, allocations: 67.27 MB / 1.672 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008194/5.312, allocations: 244.3 kB / 1.672 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001665/5.314, allocations: 198.3 kB / 1.672 GB, free: 163.3 MB / 0.8698 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 () * 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.002629/5.316, allocations: 391.2 kB / 1.672 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002248/5.319, allocations: 464.1 kB / 1.673 GB, free: 163 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08481/5.404, allocations: 15.8 MB / 1.688 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-05/5.404, allocations: 57.91 kB / 1.688 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002807/5.404, allocations: 69.38 kB / 1.688 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001535/5.404, allocations: 28.88 kB / 1.688 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09111/5.495, allocations: 23.89 MB / 1.712 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.902e-05/5.495, allocations: 6.906 kB / 1.712 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003359/5.499, allocations: 326.9 kB / 1.712 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03794/5.537, allocations: 6.828 MB / 1.719 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001459/5.538, allocations: 109.7 kB / 1.719 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1598/5.698, allocations: 64.12 MB / 1.781 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/5.698, allocations: 11.94 kB / 1.781 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07378/5.772, allocations: 20.81 MB / 1.802 GB, free: 87.62 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004974/5.777, allocations: 1.251 MB / 1.803 GB, free: 86.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002194/5.779, allocations: 111.8 kB / 1.803 GB, free: 86.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006448/5.786, allocations: 228 kB / 1.803 GB, free: 86.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002979/5.789, allocations: 0.5227 MB / 1.804 GB, free: 85.87 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001303/5.79, allocations: 139.2 kB / 1.804 GB, free: 85.74 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003482/5.794, allocations: 1.59 MB / 1.806 GB, free: 84.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.212e-06/5.794, allocations: 0 / 1.806 GB, free: 84.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01312/5.807, allocations: 2.322 MB / 1.808 GB, free: 81.99 MB / 0.8698 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 () * 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.00171/5.808, allocations: 239.8 kB / 1.808 GB, free: 81.76 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.03763/5.846, allocations: 13.56 MB / 1.821 GB, free: 69.33 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.179e-05/5.846, allocations: 4 kB / 1.821 GB, free: 69.33 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0271/5.873, allocations: 8.886 MB / 1.83 GB, free: 61.31 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008808/5.882, allocations: 1.1 MB / 1.831 GB, free: 60.45 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0466/5.929, allocations: 12.96 MB / 1.844 GB, free: 48.85 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01581/5.945, allocations: 5.011 MB / 1.849 GB, free: 45.07 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007166/5.952, allocations: 0.7483 MB / 1.849 GB, free: 44.56 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/5.953, allocations: 191.4 kB / 1.849 GB, free: 44.37 MB / 0.8698 GB Notification: Performance of SimCode: time 1.613e-06/5.953, allocations: 0 / 1.849 GB, free: 44.37 MB / 0.8698 GB Notification: Performance of Templates: time 1.069/7.023, allocations: 125 MB / 1.972 GB, free: 185.2 MB / 0.9011 GB