Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0008966/0.0008967, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007464/0.007464, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.421/1.421, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003517, allocations: 10.53 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3536, allocations: 162.2 MB / 1.074 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03258/0.3862, allocations: 29.73 MB / 1.103 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02105/0.4073, allocations: 13.41 MB / 1.116 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003248/0.4106, allocations: 127.2 kB / 1.116 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002568/0.4132, allocations: 0.6473 MB / 1.117 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007987/0.4212, allocations: 2.48 MB / 1.119 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005389/0.4266, allocations: 1.71 MB / 1.121 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01381/0.4404, allocations: 10.43 MB / 1.131 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01784/0.4583, allocations: 10.19 MB / 1.141 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006016/0.4643, allocations: 2.588 MB / 1.144 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00562/0.47, allocations: 2.95 MB / 1.147 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.00132/0.4713, allocations: 244 kB / 1.147 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005606/0.477, allocations: 1.38 MB / 1.148 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004183/0.4812, allocations: 1.909 MB / 1.15 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005255/0.4865, allocations: 2.388 MB / 1.152 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.4981, allocations: 9.013 MB / 1.161 GB, free: 13.95 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.4981, allocations: 4 kB / 1.161 GB, free: 13.95 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4981, allocations: 0 / 1.161 GB, free: 13.95 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003181/0.4984, allocations: 0 / 1.161 GB, free: 13.95 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.01215/0.5106, allocations: 4.15 MB / 1.165 GB, free: 9.723 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.5107, allocations: 8.031 kB / 1.165 GB, free: 9.715 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006641/0.5173, allocations: 1.006 MB / 1.166 GB, free: 8.703 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006357/0.5237, allocations: 2.888 MB / 1.169 GB, free: 5.734 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003385/0.5241, allocations: 320.8 kB / 1.169 GB, free: 5.418 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00134/0.5254, allocations: 424 kB / 1.17 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0155/0.5409, allocations: 6.795 MB / 1.176 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002047/0.5412, allocations: 15.84 kB / 1.176 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001026/0.5422, allocations: 180 kB / 1.177 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009638/0.5432, allocations: 376 kB / 1.177 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.5537, allocations: 5.11 MB / 1.182 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.036/0.5898, allocations: 30.79 MB / 1.212 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.5919, allocations: 1.391 MB / 1.213 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/0.5936, allocations: 1.332 MB / 1.215 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.003e-05/0.5937, allocations: 17.3 kB / 1.215 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.5938, allocations: 55.88 kB / 1.215 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=130): time 3.536e-06/0.5938, allocations: 0 / 1.215 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199): time 0.09004/0.6838, allocations: 22.79 MB / 1.237 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.6839, allocations: 73.41 kB / 1.237 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003034/0.687, allocations: 2.066 MB / 1.239 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003022/0.6873, allocations: 61.7 kB / 1.239 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001512/0.6888, allocations: 2.01 MB / 1.241 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007547/0.6896, allocations: 0.6778 MB / 1.242 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/0.6899, allocations: 182.2 kB / 1.242 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.69, allocations: 309.1 kB / 1.242 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002205/0.6922, allocations: 1.43 MB / 1.244 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002531/0.6947, allocations: 2.013 MB / 1.246 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6551/1.35, allocations: 3.687 MB / 1.249 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.974e-05/1.35, allocations: 5.156 kB / 1.249 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01629/1.366, allocations: 5.656 MB / 1.255 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/1.366, allocations: 15.22 kB / 1.255 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.141e-05/1.366, allocations: 16.94 kB / 1.255 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00693/1.373, allocations: 2.087 MB / 1.257 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.375, allocations: 377 kB / 1.257 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04097/1.416, allocations: 35.55 MB / 1.292 GB, free: 133.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003915/1.42, allocations: 126.6 kB / 1.292 GB, free: 133.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006828/1.421, allocations: 91.77 kB / 1.292 GB, free: 133.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.004026/1.425, allocations: 1.512 MB / 1.294 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001329/1.426, allocations: 279.2 kB / 1.294 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01544/1.442, allocations: 5.215 MB / 1.299 GB, free: 130.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.139e-05/1.442, allocations: 20.94 kB / 1.299 GB, free: 130.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001023/1.442, allocations: 20.66 kB / 1.299 GB, free: 130.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.89e-05/1.442, allocations: 12.84 kB / 1.299 GB, free: 130.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02504/1.467, allocations: 9.683 MB / 1.308 GB, free: 126.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/1.467, allocations: 8.75 kB / 1.308 GB, free: 126.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009477/1.468, allocations: 215.8 kB / 1.309 GB, free: 126.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005785/1.474, allocations: 1.835 MB / 1.31 GB, free: 125.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/1.474, allocations: 38.19 kB / 1.311 GB, free: 125.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02962/1.504, allocations: 34.57 MB / 1.344 GB, free: 95.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/1.504, allocations: 11.12 kB / 1.344 GB, free: 95.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00833/1.512, allocations: 4.913 MB / 1.349 GB, free: 92.39 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/1.514, allocations: 0.6166 MB / 1.35 GB, free: 91.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00038/1.514, allocations: 42.81 kB / 1.35 GB, free: 91.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.515, allocations: 124 kB / 1.35 GB, free: 91.83 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006891/1.516, allocations: 198.2 kB / 1.35 GB, free: 91.72 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.516, allocations: 57.12 kB / 1.35 GB, free: 91.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001784/1.518, allocations: 1.376 MB / 1.351 GB, free: 90.96 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.518, allocations: 0 / 1.351 GB, free: 90.96 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003876/1.522, allocations: 1.052 MB / 1.352 GB, free: 90.63 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.0003241/1.522, allocations: 163.4 kB / 1.353 GB, free: 90.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008562/1.531, allocations: 6.277 MB / 1.359 GB, free: 83.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/1.531, allocations: 0.875 kB / 1.359 GB, free: 83.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005805/1.537, allocations: 4.41 MB / 1.363 GB, free: 79.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006307/1.543, allocations: 0.9217 MB / 1.364 GB, free: 78.46 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/1.556, allocations: 10.06 MB / 1.374 GB, free: 68.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00284/1.559, allocations: 3.121 MB / 1.377 GB, free: 65.19 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002004/1.561, allocations: 0.5198 MB / 1.377 GB, free: 64.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003376/1.562, allocations: 155.4 kB / 1.377 GB, free: 64.51 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/1.562, allocations: 0 / 1.377 GB, free: 64.51 MB / 0.9981 GB Notification: Performance of Templates: time 0.1092/1.671, allocations: 57.02 MB / 1.433 GB, free: 8.281 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)