Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.67/1.67, allocations: 288.3 MB / 303.2 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001388, allocations: 189 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009218/0.0009218, allocations: 91.44 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004992, allocations: 20.2 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.268, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9506/1.219, allocations: 185 MB / 1.16 GB, free: 13.57 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/1.219, allocations: 97.88 kB / 1.16 GB, free: 13.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6399/1.859, allocations: 268.9 MB / 1.423 GB, free: 9.77 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.297e-06/1.859, allocations: 0 / 1.423 GB, free: 9.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005632/1.86, allocations: 147.9 kB / 1.423 GB, free: 9.625 MB / 0.948 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.02249/1.882, allocations: 5.134 MB / 1.428 GB, free: 4.414 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/1.882, allocations: 12.02 kB / 1.428 GB, free: 4.402 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01396/1.896, allocations: 1.492 MB / 1.429 GB, free: 2.902 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7881/2.684, allocations: 4.218 MB / 1.433 GB, free: 205 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007789/2.685, allocations: 380.9 kB / 1.434 GB, free: 205 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00331/2.689, allocations: 0.4984 MB / 1.434 GB, free: 205 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0332/2.722, allocations: 8.374 MB / 1.443 GB, free: 203.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004326/2.722, allocations: 36.25 kB / 1.443 GB, free: 203.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003038/2.725, allocations: 224.3 kB / 1.443 GB, free: 203.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000616/2.726, allocations: 332.2 kB / 1.443 GB, free: 203.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01999/2.746, allocations: 6.446 MB / 1.449 GB, free: 203.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07296/2.819, allocations: 40.01 MB / 1.488 GB, free: 180.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007124/2.826, allocations: 2.814 MB / 1.491 GB, free: 180.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005415/2.827, allocations: 27.88 kB / 1.491 GB, free: 180.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.538e-05/2.827, allocations: 59.94 kB / 1.491 GB, free: 180.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=265): time 5.631e-06/2.827, allocations: 4.188 kB / 1.491 GB, free: 180.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=424): time 0.2911/3.118, allocations: 64.9 MB / 1.555 GB, free: 174.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/3.118, allocations: 96.05 kB / 1.555 GB, free: 174.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004342/3.122, allocations: 1.941 MB / 1.557 GB, free: 174 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00117/3.124, allocations: 91.08 kB / 1.557 GB, free: 174 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001734/3.125, allocations: 2.33 MB / 1.559 GB, free: 173.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002163/3.127, allocations: 1.444 MB / 1.56 GB, free: 172.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003241/3.128, allocations: 92.41 kB / 1.561 GB, free: 172.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002428/3.128, allocations: 485.3 kB / 1.561 GB, free: 171.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003685/3.132, allocations: 2.776 MB / 1.564 GB, free: 171.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004051/3.136, allocations: 3.743 MB / 1.567 GB, free: 169.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004159/3.14, allocations: 3.362 MB / 1.571 GB, free: 168.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/3.14, allocations: 10.34 kB / 1.571 GB, free: 168.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02458/3.165, allocations: 11.78 MB / 1.582 GB, free: 163.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/3.165, allocations: 20.22 kB / 1.582 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.52e-05/3.165, allocations: 26.38 kB / 1.582 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01708/3.182, allocations: 5.008 MB / 1.587 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002528/3.184, allocations: 0.5061 MB / 1.588 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06871/3.253, allocations: 66.88 MB / 1.653 GB, free: 111.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004836/3.258, allocations: 189.6 kB / 1.653 GB, free: 111 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000843/3.259, allocations: 160 kB / 1.653 GB, free: 110.8 MB / 0.948 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.004851/3.264, allocations: 1.998 MB / 1.655 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/3.265, allocations: 395.3 kB / 1.656 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02332/3.288, allocations: 11.55 MB / 1.667 GB, free: 99.56 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.987e-05/3.288, allocations: 40 kB / 1.667 GB, free: 99.52 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000248/3.289, allocations: 52 kB / 1.667 GB, free: 99.47 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001381/3.289, allocations: 22.55 kB / 1.667 GB, free: 99.47 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03584/3.325, allocations: 17.89 MB / 1.684 GB, free: 85.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.334e-05/3.325, allocations: 8 kB / 1.684 GB, free: 85.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/3.327, allocations: 288.8 kB / 1.685 GB, free: 85.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01558/3.342, allocations: 4.522 MB / 1.689 GB, free: 81.62 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001/3.343, allocations: 76 kB / 1.689 GB, free: 81.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06195/3.405, allocations: 64.41 MB / 1.752 GB, free: 19.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/3.405, allocations: 15.89 kB / 1.752 GB, free: 19.69 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02845/3.434, allocations: 15.29 MB / 1.767 GB, free: 6.266 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003597/3.437, allocations: 0.9691 MB / 1.768 GB, free: 5.375 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/3.438, allocations: 83.56 kB / 1.768 GB, free: 5.297 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002658/3.441, allocations: 177.6 kB / 1.768 GB, free: 5.172 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001436/3.443, allocations: 397.3 kB / 1.769 GB, free: 4.922 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002632/3.443, allocations: 104 kB / 1.769 GB, free: 4.82 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002081/3.445, allocations: 1.468 MB / 1.77 GB, free: 3.605 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.9e-07/3.445, allocations: 0 / 1.77 GB, free: 3.605 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007284/3.452, allocations: 1.757 MB / 1.772 GB, free: 1.852 MB / 0.948 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.000678/3.453, allocations: 215.4 kB / 1.772 GB, free: 1.637 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02117/3.474, allocations: 11.64 MB / 1.783 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/3.474, allocations: 4 kB / 1.783 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.5628/4.037, allocations: 8.07 MB / 1.791 GB, free: 190.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006254/4.043, allocations: 0.9835 MB / 1.792 GB, free: 190.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02682/4.07, allocations: 14.09 MB / 1.806 GB, free: 185.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00793/4.078, allocations: 4.189 MB / 1.81 GB, free: 184.9 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004196/4.082, allocations: 0.6681 MB / 1.811 GB, free: 184.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006373/4.083, allocations: 178.3 kB / 1.811 GB, free: 184.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.112e-06/4.083, allocations: 0 / 1.811 GB, free: 184.9 MB / 0.9636 GB Notification: Performance of Templates: time 0.1606/4.244, allocations: 94.88 MB / 1.904 GB, free: 181.9 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)