Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.243/2.243, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001311/0.001311, allocations: 172.4 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.424/2.424, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0009441/0.000944, allocations: 96.16 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006286/0.0006287, allocations: 16.34 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2086, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.999/1.208, allocations: 200.6 MB / 1.095 GB, free: 54.26 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/1.208, allocations: 103.8 kB / 1.095 GB, free: 54.26 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3242/1.532, allocations: 84.63 MB / 1.178 GB, free: 25.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.108e-06/1.532, allocations: 0 / 1.178 GB, free: 25.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002565/1.533, allocations: 43.94 kB / 1.178 GB, free: 25.53 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.007712/1.54, allocations: 1.814 MB / 1.18 GB, free: 23.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.54, allocations: 8.031 kB / 1.18 GB, free: 23.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01969/1.56, allocations: 1.884 MB / 1.182 GB, free: 21.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00442/1.565, allocations: 1.224 MB / 1.183 GB, free: 20.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.708e-05/1.565, allocations: 89.42 kB / 1.183 GB, free: 20.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004425/1.565, allocations: 128.2 kB / 1.183 GB, free: 20.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/1.575, allocations: 2.745 MB / 1.186 GB, free: 18.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-05/1.576, allocations: 11.94 kB / 1.186 GB, free: 18.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/1.576, allocations: 58.42 kB / 1.186 GB, free: 18.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/1.576, allocations: 85.91 kB / 1.186 GB, free: 18.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/1.591, allocations: 2.841 MB / 1.189 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.024/1.615, allocations: 10.73 MB / 1.199 GB, free: 6.641 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/1.627, allocations: 2.571 MB / 1.202 GB, free: 4.496 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005935/1.633, allocations: 1.311 MB / 1.203 GB, free: 3.531 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/1.634, allocations: 12.83 kB / 1.203 GB, free: 3.52 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/1.634, allocations: 51.48 kB / 1.203 GB, free: 3.469 MB / 0.698 GB Notification: Performance of pre-optimization done (n=89): time 3.917e-06/1.634, allocations: 4 kB / 1.203 GB, free: 3.465 MB / 0.698 GB Notification: Performance of matching and sorting (n=131): time 0.0926/1.726, allocations: 14.01 MB / 1.217 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/1.727, allocations: 226.9 kB / 1.217 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/1.729, allocations: 1.117 MB / 1.218 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004494/1.73, allocations: 49.7 kB / 1.218 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008185/1.73, allocations: 0.7106 MB / 1.219 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008433/1.731, allocations: 447.6 kB / 1.219 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/1.731, allocations: 24 kB / 1.219 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000197/1.732, allocations: 361.9 kB / 1.22 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006982/1.739, allocations: 1.372 MB / 1.221 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007287/1.746, allocations: 1.634 MB / 1.223 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007171/1.753, allocations: 1.466 MB / 1.224 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/1.753, allocations: 4 kB / 1.224 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.02408/1.777, allocations: 4.559 MB / 1.228 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/1.777, allocations: 4 kB / 1.228 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/1.778, allocations: 12.06 kB / 1.228 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01221/1.79, allocations: 1.615 MB / 1.23 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004247/1.794, allocations: 443.2 kB / 1.23 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04349/1.838, allocations: 24.83 MB / 1.255 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004885/1.843, allocations: 319.5 kB / 1.255 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004706/1.843, allocations: 63.89 kB / 1.255 GB, free: 12.64 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001619/1.845, allocations: 446.8 kB / 1.256 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006869/1.845, allocations: 158.1 kB / 1.256 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.024/1.869, allocations: 4.593 MB / 1.26 GB, free: 7.391 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/1.869, allocations: 12 kB / 1.26 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.88e-05/1.87, allocations: 12 kB / 1.26 GB, free: 7.367 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.69e-05/1.87, allocations: 7.969 kB / 1.26 GB, free: 7.359 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03107/1.901, allocations: 7.021 MB / 1.267 GB, free: 200 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.449e-05/1.901, allocations: 4 kB / 1.267 GB, free: 196 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003753/1.905, allocations: 387.5 kB / 1.267 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0115/1.916, allocations: 1.525 MB / 1.269 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003951/1.916, allocations: 39.97 kB / 1.269 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04083/1.957, allocations: 23.86 MB / 1.292 GB, free: 4.617 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.957, allocations: 7.938 kB / 1.292 GB, free: 4.609 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02234/1.98, allocations: 4.364 MB / 1.297 GB, free: 152 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/1.982, allocations: 470.9 kB / 1.297 GB, free: 15.67 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006707/1.982, allocations: 28 kB / 1.297 GB, free: 15.64 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004543/1.987, allocations: 319.5 kB / 1.297 GB, free: 15.33 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007402/1.988, allocations: 132.6 kB / 1.297 GB, free: 15.2 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000275/1.988, allocations: 51.97 kB / 1.297 GB, free: 15.15 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 0.001944/1.99, allocations: 0.7448 MB / 1.298 GB, free: 14.4 MB / 0.8074 GB Notification: Performance of sort global known variables: time 7.91e-07/1.99, allocations: 0 / 1.298 GB, free: 14.4 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.003846/1.994, allocations: 0.6133 MB / 1.299 GB, free: 13.79 MB / 0.8074 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007045/1.995, allocations: 169.1 kB / 1.299 GB, free: 13.62 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.02084/2.015, allocations: 5.16 MB / 1.304 GB, free: 8.289 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/2.016, allocations: 3.906 kB / 1.304 GB, free: 8.285 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 0.01313/2.029, allocations: 3.572 MB / 1.307 GB, free: 4.543 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004773/2.033, allocations: 0.516 MB / 1.308 GB, free: 4.031 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/2.05, allocations: 4.517 MB / 1.312 GB, free: 15.46 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001936/2.052, allocations: 1.477 MB / 1.314 GB, free: 13.95 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003373/2.056, allocations: 425.4 kB / 1.314 GB, free: 13.53 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000853/2.056, allocations: 119.4 kB / 1.314 GB, free: 13.41 MB / 0.823 GB Notification: Performance of SimCode: time 1.522e-06/2.056, allocations: 4 kB / 1.314 GB, free: 13.41 MB / 0.823 GB Notification: Performance of Templates: time 0.106/2.163, allocations: 37.67 MB / 1.351 GB, free: 8.098 MB / 0.8542 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)