Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 192.8 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 472.6 MB / 0.7447 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.67 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3959, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03025/0.4262, allocations: 30.52 MB / 1.097 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02079/0.447, allocations: 13.54 MB / 1.111 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005712/0.4528, allocations: 131.2 kB / 1.111 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00981/0.4627, allocations: 2.976 MB / 1.114 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.009716/0.4725, allocations: 2.471 MB / 1.116 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00682/0.4794, allocations: 1.836 MB / 1.118 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01383/0.4932, allocations: 10.43 MB / 1.128 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01583/0.5091, allocations: 9.07 MB / 1.137 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007253/0.5164, allocations: 2.97 MB / 1.14 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006809/0.5232, allocations: 3.434 MB / 1.143 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002288/0.5255, allocations: 400 kB / 1.143 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005053/0.5306, allocations: 1.529 MB / 1.145 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003964/0.5346, allocations: 2.163 MB / 1.147 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.006532/0.5412, allocations: 2.644 MB / 1.15 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.554, allocations: 9.293 MB / 1.159 GB, free: 13.11 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.5541, allocations: 4 kB / 1.159 GB, free: 13.11 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.086e-06/0.5541, allocations: 0 / 1.159 GB, free: 13.11 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003297/0.5544, allocations: 7.938 kB / 1.159 GB, free: 13.1 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01634/0.5708, allocations: 5.132 MB / 1.164 GB, free: 7.891 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 8.728e-05/0.5709, allocations: 8.031 kB / 1.164 GB, free: 7.883 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008867/0.5797, allocations: 1.002 MB / 1.165 GB, free: 6.875 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007186/0.587, allocations: 2.896 MB / 1.168 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/0.5873, allocations: 316.8 kB / 1.168 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/0.5889, allocations: 420 kB / 1.168 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/0.6039, allocations: 6.791 MB / 1.175 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/0.6041, allocations: 11.84 kB / 1.175 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004872/0.6046, allocations: 195.9 kB / 1.175 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008908/0.6055, allocations: 368 kB / 1.175 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009611/0.6151, allocations: 5.114 MB / 1.18 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03855/0.6537, allocations: 30.74 MB / 1.21 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/0.6562, allocations: 1.387 MB / 1.212 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00204/0.6582, allocations: 1.332 MB / 1.213 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.6584, allocations: 17.3 kB / 1.213 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.593e-05/0.6585, allocations: 63.81 kB / 1.213 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=130): time 3.407e-06/0.6585, allocations: 0 / 1.213 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199): time 0.08948/0.748, allocations: 23.06 MB / 1.236 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.7481, allocations: 73.41 kB / 1.236 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004281/0.7524, allocations: 2.058 MB / 1.238 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003826/0.7528, allocations: 61.7 kB / 1.238 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.7543, allocations: 2.01 MB / 1.24 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008808/0.7552, allocations: 0.6777 MB / 1.24 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.7563, allocations: 412.2 kB / 1.241 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.7564, allocations: 313 kB / 1.241 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002287/0.7587, allocations: 1.426 MB / 1.243 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002626/0.7613, allocations: 2.01 MB / 1.245 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.618/1.379, allocations: 3.694 MB / 1.248 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/1.379, allocations: 5.281 kB / 1.248 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01176/1.391, allocations: 5.663 MB / 1.254 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/1.391, allocations: 13.75 kB / 1.254 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/1.391, allocations: 17.59 kB / 1.254 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006492/1.398, allocations: 2.08 MB / 1.256 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/1.399, allocations: 378 kB / 1.256 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03869/1.438, allocations: 35.51 MB / 1.291 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003731/1.442, allocations: 126 kB / 1.291 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007327/1.443, allocations: 88.23 kB / 1.291 GB, free: 134.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00593/1.449, allocations: 1.515 MB / 1.292 GB, free: 133.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/1.45, allocations: 279.8 kB / 1.293 GB, free: 133.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/1.462, allocations: 5.215 MB / 1.298 GB, free: 131.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/1.462, allocations: 18.25 kB / 1.298 GB, free: 131.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001086/1.462, allocations: 21.75 kB / 1.298 GB, free: 131.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/1.462, allocations: 12.27 kB / 1.298 GB, free: 131.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02184/1.484, allocations: 9.679 MB / 1.307 GB, free: 127.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.677e-05/1.484, allocations: 7.688 kB / 1.307 GB, free: 127.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009099/1.485, allocations: 215.6 kB / 1.308 GB, free: 127.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006238/1.491, allocations: 1.835 MB / 1.309 GB, free: 126.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002749/1.492, allocations: 49.19 kB / 1.309 GB, free: 126.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02946/1.521, allocations: 34.51 MB / 1.343 GB, free: 96.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/1.521, allocations: 14.78 kB / 1.343 GB, free: 96.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009444/1.531, allocations: 4.908 MB / 1.348 GB, free: 93.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/1.532, allocations: 0.6238 MB / 1.348 GB, free: 92.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008863/1.533, allocations: 43.48 kB / 1.349 GB, free: 92.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/1.535, allocations: 129.7 kB / 1.349 GB, free: 92.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007701/1.536, allocations: 193.2 kB / 1.349 GB, free: 92.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/1.536, allocations: 55.38 kB / 1.349 GB, free: 92.61 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002431/1.539, allocations: 1.378 MB / 1.35 GB, free: 91.87 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.539, allocations: 0 / 1.35 GB, free: 91.87 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004566/1.543, allocations: 1.047 MB / 1.351 GB, free: 91.78 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004143/1.544, allocations: 172.2 kB / 1.351 GB, free: 91.64 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009029/1.553, allocations: 6.266 MB / 1.358 GB, free: 85.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.553, allocations: 0.875 kB / 1.358 GB, free: 85.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005798/1.559, allocations: 4.398 MB / 1.362 GB, free: 80.58 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005224/1.564, allocations: 0.9057 MB / 1.363 GB, free: 79.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/1.58, allocations: 10.05 MB / 1.373 GB, free: 69.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004177/1.584, allocations: 3.127 MB / 1.376 GB, free: 66.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002252/1.586, allocations: 0.5198 MB / 1.376 GB, free: 65.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000549/1.587, allocations: 147.4 kB / 1.376 GB, free: 65.77 MB / 0.9981 GB Notification: Performance of SimCode: time 1.493e-06/1.587, allocations: 0 / 1.376 GB, free: 65.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.0841/1.671, allocations: 58.22 MB / 1.433 GB, free: 8.348 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)