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.377/2.377, allocations: 253.2 MB / 260.6 MB, free: 7.32 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.001462/0.001461, allocations: 166.5 kB / 319.9 MB, free: 3.043 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.109/2.109, 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.001134/0.001134, allocations: 93.02 kB / 0.6751 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.737e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2126, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.243, allocations: 178.7 MB / 1.063 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003574/1.244, allocations: 94.75 kB / 1.063 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.704/2.948, allocations: 266.3 MB / 1.323 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.896e-06/2.948, allocations: 7.375 kB / 1.323 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0006901/2.949, allocations: 146.2 kB / 1.324 GB, free: 197.3 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02323/2.972, allocations: 4.622 MB / 1.328 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/2.972, allocations: 11.41 kB / 1.328 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01709/2.989, allocations: 1.48 MB / 1.329 GB, free: 195 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01789/3.007, allocations: 4.206 MB / 1.334 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003226/3.008, allocations: 167.1 kB / 1.334 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002786/3.01, allocations: 304.5 kB / 1.334 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01805/3.029, allocations: 5.573 MB / 1.339 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0267/3.055, allocations: 7.538 MB / 1.347 GB, free: 192.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003186/3.056, allocations: 28.55 kB / 1.347 GB, free: 192.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002368/3.058, allocations: 14.59 kB / 1.347 GB, free: 192.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005361/3.059, allocations: 335.1 kB / 1.347 GB, free: 192.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07069/3.129, allocations: 38.91 MB / 1.385 GB, free: 163 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005438/3.135, allocations: 2.7 MB / 1.388 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005091/3.14, allocations: 2.475 MB / 1.39 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003677/3.14, allocations: 29.97 kB / 1.39 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/3.14, allocations: 58.94 kB / 1.39 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 7.013e-06/3.141, allocations: 4 kB / 1.39 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.1236/3.264, allocations: 27.36 MB / 1.417 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/3.264, allocations: 99.33 kB / 1.417 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/3.268, allocations: 1.622 MB / 1.419 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.00108/3.269, allocations: 25.7 kB / 1.419 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001772/3.271, allocations: 2.365 MB / 1.421 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002142/3.273, allocations: 1.387 MB / 1.422 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004983/3.273, allocations: 0 / 1.422 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002967/3.274, allocations: 483.5 kB / 1.423 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00594/3.28, allocations: 2.643 MB / 1.425 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007271/3.287, allocations: 3.58 MB / 1.429 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00756/3.295, allocations: 3.238 MB / 1.432 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-05/3.295, allocations: 8 kB / 1.432 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04491/3.34, allocations: 11.15 MB / 1.443 GB, free: 124 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.994e-05/3.34, allocations: 20.14 kB / 1.443 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.387e-05/3.34, allocations: 32 kB / 1.443 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03366/3.374, allocations: 4.885 MB / 1.448 GB, free: 119 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003968/3.378, allocations: 0.5031 MB / 1.448 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1043/3.482, allocations: 62.27 MB / 1.509 GB, free: 53.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006008/3.488, allocations: 99.86 kB / 1.509 GB, free: 53.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001305/3.489, allocations: 168 kB / 1.509 GB, free: 53.32 MB / 0.8542 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 () * 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.001417/3.491, allocations: 184.2 kB / 1.51 GB, free: 53.13 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/3.492, allocations: 371.6 kB / 1.51 GB, free: 52.77 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04318/3.535, allocations: 11 MB / 1.521 GB, free: 41.66 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.053e-05/3.535, allocations: 43.95 kB / 1.521 GB, free: 41.61 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001389/3.536, allocations: 59.98 kB / 1.521 GB, free: 41.55 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001121/3.536, allocations: 19.92 kB / 1.521 GB, free: 41.54 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05975/3.595, allocations: 16.52 MB / 1.537 GB, free: 24.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.134e-05/3.596, allocations: 16.14 kB / 1.537 GB, free: 24.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002927/3.599, allocations: 295.5 kB / 1.537 GB, free: 24.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0262/3.625, allocations: 4.418 MB / 1.542 GB, free: 20.07 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001044/3.626, allocations: 16 kB / 1.542 GB, free: 20.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7747/4.401, allocations: 60.01 MB / 1.6 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.598e-05/4.401, allocations: 11.94 kB / 1.6 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04924/4.45, allocations: 14.7 MB / 1.615 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004111/4.454, allocations: 0.9535 MB / 1.615 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001819/4.456, allocations: 16.78 kB / 1.615 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005126/4.461, allocations: 115.4 kB / 1.616 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002542/4.464, allocations: 403.8 kB / 1.616 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009605/4.465, allocations: 102.9 kB / 1.616 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003206/4.468, allocations: 1.191 MB / 1.617 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.12e-07/4.468, allocations: 0 / 1.617 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01178/4.48, allocations: 1.536 MB / 1.619 GB, free: 174.5 MB / 0.8698 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 () * 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.001465/4.481, allocations: 151.9 kB / 1.619 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.03121/4.513, allocations: 10.95 MB / 1.63 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/4.513, allocations: 0 / 1.63 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.02238/4.535, allocations: 7.59 MB / 1.637 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008208/4.543, allocations: 0.8612 MB / 1.638 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03049/4.574, allocations: 9.762 MB / 1.647 GB, free: 167 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009988/4.584, allocations: 4.192 MB / 1.651 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00449/4.588, allocations: 0.6501 MB / 1.652 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/4.59, allocations: 174.8 kB / 1.652 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.833e-06/4.59, allocations: 0 / 1.652 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.2399/4.829, allocations: 90.4 MB / 1.741 GB, free: 142.9 MB / 0.8698 GB