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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.412/2.412, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001532, allocations: 181.4 kB / 325.6 MB, free: 2.84 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.392/2.392, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001187/0.001186, allocations: 100.4 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000617/0.000617, allocations: 15.25 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2142, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9163/1.131, allocations: 178.5 MB / 1.073 GB, free: 66 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000384/1.131, allocations: 98.97 kB / 1.073 GB, free: 66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.062/2.193, allocations: 268.9 MB / 1.336 GB, free: 1.168 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.745e-06/2.193, allocations: 0 / 1.336 GB, free: 1.168 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0006513/2.193, allocations: 147.9 kB / 1.336 GB, free: 1.023 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02551/2.219, allocations: 5.146 MB / 1.341 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/2.219, allocations: 12.02 kB / 1.341 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01814/2.237, allocations: 1.491 MB / 1.343 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01824/2.255, allocations: 4.219 MB / 1.347 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005887/2.256, allocations: 378.1 kB / 1.347 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002968/2.259, allocations: 0.4998 MB / 1.347 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03061/2.29, allocations: 8.376 MB / 1.356 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004266/2.29, allocations: 35.67 kB / 1.356 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002553/2.293, allocations: 224 kB / 1.356 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006658/2.293, allocations: 326 kB / 1.356 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02315/2.317, allocations: 6.453 MB / 1.363 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7604/3.077, allocations: 39.99 MB / 1.402 GB, free: 154 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/3.087, allocations: 2.817 MB / 1.404 GB, free: 154 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007358/3.088, allocations: 28.27 kB / 1.404 GB, free: 154 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.033e-05/3.088, allocations: 64.88 kB / 1.404 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=265): time 9.929e-06/3.088, allocations: 0.7812 kB / 1.404 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=424): time 0.5259/3.614, allocations: 64.91 MB / 1.468 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/3.614, allocations: 97.23 kB / 1.468 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004268/3.619, allocations: 1.938 MB / 1.47 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.00114/3.62, allocations: 99.81 kB / 1.47 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001914/3.622, allocations: 2.331 MB / 1.472 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002403/3.624, allocations: 1.442 MB / 1.474 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007695/3.625, allocations: 87.94 kB / 1.474 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003415/3.625, allocations: 477.8 kB / 1.474 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007163/3.633, allocations: 2.784 MB / 1.477 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008102/3.641, allocations: 3.737 MB / 1.48 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008346/3.649, allocations: 3.364 MB / 1.484 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.438e-05/3.649, allocations: 9.656 kB / 1.484 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.05778/3.707, allocations: 11.78 MB / 1.495 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.443e-05/3.707, allocations: 18.91 kB / 1.495 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.714e-05/3.707, allocations: 26 kB / 1.495 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04026/3.747, allocations: 5.019 MB / 1.5 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003998/3.751, allocations: 0.5058 MB / 1.501 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1526/3.904, allocations: 66.88 MB / 1.566 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009394/3.914, allocations: 185.2 kB / 1.566 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001719/3.915, allocations: 164.7 kB / 1.566 GB, free: 102.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009026/3.924, allocations: 2.001 MB / 1.568 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002365/3.927, allocations: 390 kB / 1.569 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07174/3.999, allocations: 11.55 MB / 1.58 GB, free: 92.22 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.94e-05/3.999, allocations: 40 kB / 1.58 GB, free: 92.18 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003199/3.999, allocations: 48 kB / 1.58 GB, free: 92.14 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001264/3.999, allocations: 21.56 kB / 1.58 GB, free: 92.14 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09472/4.094, allocations: 17.89 MB / 1.598 GB, free: 77.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.751e-05/4.094, allocations: 8.938 kB / 1.598 GB, free: 77.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004674/4.099, allocations: 293.1 kB / 1.598 GB, free: 77.69 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04049/4.139, allocations: 4.523 MB / 1.602 GB, free: 74.28 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009955/4.14, allocations: 83.25 kB / 1.602 GB, free: 74.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1065/4.247, allocations: 64.41 MB / 1.665 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/4.247, allocations: 10.34 kB / 1.665 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05053/4.297, allocations: 15.51 MB / 1.68 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004133/4.302, allocations: 0.9776 MB / 1.681 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001762/4.303, allocations: 87.56 kB / 1.681 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005226/4.309, allocations: 176.5 kB / 1.682 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002526/4.311, allocations: 395 kB / 1.682 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006795/4.312, allocations: 104 kB / 1.682 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003794/4.316, allocations: 1.468 MB / 1.683 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.41e-07/4.316, allocations: 0 / 1.683 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01043/4.326, allocations: 1.756 MB / 1.685 GB, free: 11.51 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001421/4.328, allocations: 228.7 kB / 1.685 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.03623/4.364, allocations: 11.62 MB / 1.697 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/4.364, allocations: 0 / 1.697 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.03605/4.4, allocations: 8.681 MB / 1.705 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008549/4.409, allocations: 0.9797 MB / 1.706 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7122/5.121, allocations: 14.08 MB / 1.72 GB, free: 175 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01133/5.132, allocations: 4.192 MB / 1.724 GB, free: 174.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004737/5.137, allocations: 0.6723 MB / 1.725 GB, free: 174.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/5.139, allocations: 173.3 kB / 1.725 GB, free: 174.1 MB / 0.9011 GB Notification: Performance of SimCode: time 1.483e-06/5.139, allocations: 0.7812 kB / 1.725 GB, free: 174.1 MB / 0.9011 GB Notification: Performance of Templates: time 0.2553/5.394, allocations: 94.86 MB / 1.818 GB, free: 171.6 MB / 0.9011 GB