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.545/2.545, allocations: 253.2 MB / 260.6 MB, free: 7.543 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.002218/0.002217, allocations: 183.2 kB / 319.9 MB, free: 3.102 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.001107/0.001107, allocations: 96.56 kB / 0.6751 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.58e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1978, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9564/1.154, allocations: 179.7 MB / 1.064 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003791/1.155, allocations: 95.78 kB / 1.064 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.913/3.068, allocations: 317.8 MB / 1.375 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.053e-06/3.068, allocations: 0 / 1.375 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0006338/3.069, allocations: 176.5 kB / 1.375 GB, free: 190.2 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.02543/3.094, allocations: 5.503 MB / 1.38 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/3.094, allocations: 14.92 kB / 1.38 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02086/3.115, allocations: 1.762 MB / 1.382 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02122/3.137, allocations: 5.026 MB / 1.387 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003917/3.137, allocations: 201.7 kB / 1.387 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003527/3.141, allocations: 355.3 kB / 1.387 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0218/3.162, allocations: 6.835 MB / 1.394 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03113/3.194, allocations: 8.99 MB / 1.403 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004235/3.194, allocations: 35 kB / 1.403 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002926/3.197, allocations: 12 kB / 1.403 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006112/3.198, allocations: 384.1 kB / 1.403 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08307/3.281, allocations: 45.11 MB / 1.447 GB, free: 121 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008308/3.289, allocations: 4.043 MB / 1.451 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007832/3.297, allocations: 3.451 MB / 1.455 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006119/3.298, allocations: 38.78 kB / 1.455 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.039e-05/3.298, allocations: 73.28 kB / 1.455 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=353): time 6.382e-06/3.298, allocations: 0 / 1.455 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=578): time 0.1679/3.466, allocations: 37.31 MB / 1.491 GB, free: 75.89 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/3.466, allocations: 111.9 kB / 1.491 GB, free: 75.76 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003743/3.47, allocations: 1.821 MB / 1.493 GB, free: 73.94 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001439/3.471, allocations: 25.7 kB / 1.493 GB, free: 73.91 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00199/3.473, allocations: 2.708 MB / 1.496 GB, free: 71.17 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.003247/3.476, allocations: 1.878 MB / 1.498 GB, free: 69.27 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008572/3.477, allocations: 0 / 1.498 GB, free: 69.27 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004116/3.478, allocations: 0.5259 MB / 1.498 GB, free: 68.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008377/3.486, allocations: 3.615 MB / 1.502 GB, free: 65.11 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009738/3.496, allocations: 4.697 MB / 1.506 GB, free: 59.98 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/3.506, allocations: 4.414 MB / 1.51 GB, free: 55.53 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.88e-05/3.506, allocations: 8 kB / 1.51 GB, free: 55.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.05909/3.565, allocations: 15.17 MB / 1.525 GB, free: 40.24 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/3.565, allocations: 19.16 kB / 1.525 GB, free: 40.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.261e-05/3.565, allocations: 35.94 kB / 1.525 GB, free: 40.19 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04265/3.608, allocations: 7.303 MB / 1.532 GB, free: 32.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004465/3.613, allocations: 0.5615 MB / 1.533 GB, free: 32.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8498/4.462, allocations: 65.15 MB / 1.597 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007939/4.47, allocations: 128.9 kB / 1.597 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001729/4.472, allocations: 204.6 kB / 1.597 GB, free: 174.7 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.001961/4.474, allocations: 185.9 kB / 1.597 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00185/4.476, allocations: 448.7 kB / 1.598 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06752/4.544, allocations: 15.16 MB / 1.612 GB, free: 174 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001351/4.544, allocations: 53.88 kB / 1.612 GB, free: 174 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000271/4.544, allocations: 76.34 kB / 1.612 GB, free: 174 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001446/4.544, allocations: 24.89 kB / 1.613 GB, free: 174 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08832/4.633, allocations: 22.29 MB / 1.634 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.359e-05/4.633, allocations: 7.719 kB / 1.634 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003394/4.636, allocations: 321.1 kB / 1.635 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03751/4.674, allocations: 6.732 MB / 1.641 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001371/4.675, allocations: 19.02 kB / 1.641 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1411/4.816, allocations: 62.24 MB / 1.702 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.651e-05/4.816, allocations: 13 kB / 1.702 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08759/4.904, allocations: 20.16 MB / 1.722 GB, free: 134 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005885/4.91, allocations: 1.236 MB / 1.723 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002665/4.912, allocations: 26.36 kB / 1.723 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006873/4.919, allocations: 142.4 kB / 1.723 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003473/4.923, allocations: 0.5276 MB / 1.724 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001431/4.924, allocations: 136.9 kB / 1.724 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003224/4.928, allocations: 1.33 MB / 1.725 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.31e-07/4.928, allocations: 0 / 1.725 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01365/4.941, allocations: 2.009 MB / 1.727 GB, free: 132.6 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.001732/4.943, allocations: 139.1 kB / 1.727 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.03937/4.983, allocations: 13.02 MB / 1.74 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/4.983, allocations: 0 / 1.74 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.02741/5.01, allocations: 8.49 MB / 1.748 GB, free: 122 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008933/5.019, allocations: 0.9796 MB / 1.749 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03599/5.055, allocations: 12.67 MB / 1.761 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01125/5.066, allocations: 5.016 MB / 1.766 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004911/5.071, allocations: 0.7336 MB / 1.767 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/5.073, allocations: 183.4 kB / 1.767 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.432e-06/5.073, allocations: 0 / 1.767 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.2855/5.358, allocations: 119.9 MB / 1.884 GB, free: 5.934 MB / 0.8698 GB