Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.309/1.309, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009541/0.0009541, allocations: 184.3 kB / 327.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 0.5785 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007091/0.0007091, allocations: 85.67 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 16.05 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2033, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5927/0.7961, allocations: 178.7 MB / 1.076 GB, free: 64.25 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.7965, allocations: 97.28 kB / 1.076 GB, free: 64.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6011/1.398, allocations: 269.2 MB / 1.339 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.244e-06/1.398, allocations: 0 / 1.339 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0006053/1.398, allocations: 151.8 kB / 1.339 GB, free: 14.09 MB / 0.8386 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.01608/1.414, allocations: 5.075 MB / 1.344 GB, free: 8.941 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.414, allocations: 8.031 kB / 1.344 GB, free: 8.934 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/1.425, allocations: 1.499 MB / 1.345 GB, free: 7.426 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/1.437, allocations: 4.318 MB / 1.35 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004277/1.437, allocations: 378.1 kB / 1.35 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002165/1.439, allocations: 0.4998 MB / 1.35 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01764/1.457, allocations: 8.42 MB / 1.359 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001411/1.457, allocations: 23.72 kB / 1.359 GB, free: 9.246 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006299/1.458, allocations: 231.9 kB / 1.359 GB, free: 9.02 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003787/1.458, allocations: 333.9 kB / 1.359 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/1.472, allocations: 6.445 MB / 1.365 GB, free: 2.234 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4609/1.933, allocations: 40.01 MB / 1.405 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004384/1.937, allocations: 2.813 MB / 1.407 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003564/1.941, allocations: 2.577 MB / 1.41 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/1.941, allocations: 27.73 kB / 1.41 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/1.941, allocations: 68.77 kB / 1.41 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=265): time 4.919e-06/1.941, allocations: 0.75 kB / 1.41 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=424): time 0.2122/2.153, allocations: 64.94 MB / 1.473 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/2.153, allocations: 99.12 kB / 1.473 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00384/2.157, allocations: 2.252 MB / 1.476 GB, free: 144 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008511/2.158, allocations: 88.8 kB / 1.476 GB, free: 144 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001446/2.159, allocations: 2.339 MB / 1.478 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001867/2.161, allocations: 1.436 MB / 1.479 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007501/2.162, allocations: 87.81 kB / 1.479 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003065/2.162, allocations: 485.7 kB / 1.48 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004102/2.166, allocations: 2.774 MB / 1.483 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004509/2.171, allocations: 3.757 MB / 1.486 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008659/2.18, allocations: 7.127 MB / 1.493 GB, free: 140 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.972e-05/2.18, allocations: 7.25 kB / 1.493 GB, free: 140 MB / 0.8698 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02327/2.203, allocations: 11.8 MB / 1.505 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/2.203, allocations: 18.91 kB / 1.505 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-05/2.203, allocations: 30.16 kB / 1.505 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01601/2.219, allocations: 5.011 MB / 1.51 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/2.221, allocations: 0.5101 MB / 1.51 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06235/2.284, allocations: 64.92 MB / 1.574 GB, free: 95.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00417/2.288, allocations: 190.4 kB / 1.574 GB, free: 95.44 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/2.289, allocations: 157 kB / 1.574 GB, free: 95.41 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.004833/2.294, allocations: 2.002 MB / 1.576 GB, free: 93.75 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/2.295, allocations: 387.4 kB / 1.576 GB, free: 93.37 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02333/2.319, allocations: 11.57 MB / 1.588 GB, free: 84.13 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.019e-05/2.319, allocations: 46.94 kB / 1.588 GB, free: 84.09 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001635/2.319, allocations: 48 kB / 1.588 GB, free: 84.04 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.23e-05/2.319, allocations: 18.52 kB / 1.588 GB, free: 84.04 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03702/2.356, allocations: 17.9 MB / 1.605 GB, free: 69.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.44e-05/2.356, allocations: 10.91 kB / 1.605 GB, free: 69.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/2.358, allocations: 290.9 kB / 1.605 GB, free: 69.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0135/2.371, allocations: 4.513 MB / 1.61 GB, free: 66.17 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007912/2.372, allocations: 79 kB / 1.61 GB, free: 66.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05665/2.429, allocations: 62.45 MB / 1.671 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/2.429, allocations: 17.94 kB / 1.671 GB, free: 6.145 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02686/2.456, allocations: 14.66 MB / 1.685 GB, free: 9.801 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002764/2.458, allocations: 0.9709 MB / 1.686 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/2.459, allocations: 87.94 kB / 1.686 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002641/2.462, allocations: 172 kB / 1.686 GB, free: 8.703 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001404/2.464, allocations: 407.2 kB / 1.687 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003441/2.464, allocations: 104 kB / 1.687 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002604/2.466, allocations: 1.458 MB / 1.688 GB, free: 7.148 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/2.467, allocations: 0 / 1.688 GB, free: 7.148 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006701/2.473, allocations: 1.757 MB / 1.69 GB, free: 5.395 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.000681/2.474, allocations: 226 kB / 1.69 GB, free: 5.188 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01942/2.493, allocations: 11.67 MB / 1.702 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/2.493, allocations: 4 kB / 1.702 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01325/2.507, allocations: 8.083 MB / 1.71 GB, free: 3.191 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008122/2.515, allocations: 1.033 MB / 1.711 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4114/2.926, allocations: 14.26 MB / 1.725 GB, free: 171.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006424/2.933, allocations: 4.084 MB / 1.729 GB, free: 171 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003048/2.936, allocations: 0.6665 MB / 1.729 GB, free: 171 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005131/2.936, allocations: 176.5 kB / 1.729 GB, free: 171 MB / 0.9011 GB Notification: Performance of SimCode: time 7.22e-07/2.936, allocations: 0 / 1.729 GB, free: 171 MB / 0.9011 GB Notification: Performance of Templates: time 0.1452/3.081, allocations: 95.47 MB / 1.823 GB, free: 168.2 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)