Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001766/0.001766, allocations: 192.6 kB / 16.13 MB, free: 6.66 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.431/1.431, 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.93/2.93, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 69.36 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3738, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04229/0.4162, allocations: 37.62 MB / 1.104 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.4374, allocations: 10.96 MB / 1.115 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005146/0.4426, allocations: 143.2 kB / 1.115 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01136/0.4541, allocations: 4.065 MB / 1.119 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.009587/0.4637, allocations: 2.088 MB / 1.121 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.007192/0.471, allocations: 1.977 MB / 1.123 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01566/0.4866, allocations: 13.19 MB / 1.136 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02235/0.509, allocations: 12.44 MB / 1.148 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007301/0.5164, allocations: 3.41 MB / 1.151 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008694/0.5251, allocations: 4.588 MB / 1.156 GB, free: 132 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003115/0.5283, allocations: 0.5625 MB / 1.156 GB, free: 15.56 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005209/0.5335, allocations: 1.552 MB / 1.158 GB, free: 14.01 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.005361/0.5389, allocations: 2.888 MB / 1.161 GB, free: 11.12 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.008358/0.5473, allocations: 3.36 MB / 1.164 GB, free: 7.742 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01621/0.5635, allocations: 12.08 MB / 1.176 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.5636, allocations: 0 / 1.176 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5636, allocations: 0 / 1.176 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0005152/0.5641, allocations: 4 kB / 1.176 GB, free: 11.62 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02033/0.5844, allocations: 6.307 MB / 1.182 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.5845, allocations: 12.03 kB / 1.182 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0071/0.5916, allocations: 1.071 MB / 1.183 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00875/0.6004, allocations: 3.423 MB / 1.186 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005074/0.6009, allocations: 427.8 kB / 1.187 GB, free: 264 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002921/0.6039, allocations: 0.5394 MB / 1.187 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02555/0.6294, allocations: 9.381 MB / 1.196 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003637/0.6298, allocations: 23.72 kB / 1.197 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002326/0.6322, allocations: 244 kB / 1.197 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007105/0.6329, allocations: 414.9 kB / 1.197 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.6492, allocations: 7.123 MB / 1.204 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05178/0.701, allocations: 41.32 MB / 1.244 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6186/1.32, allocations: 3.086 MB / 1.247 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003925/1.324, allocations: 2.139 MB / 1.25 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/1.324, allocations: 31.61 kB / 1.25 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.798e-05/1.324, allocations: 62.78 kB / 1.25 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 5.07e-06/1.324, allocations: 3.375 kB / 1.25 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.02473/1.349, allocations: 10.55 MB / 1.26 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/1.349, allocations: 77.91 kB / 1.26 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003506/1.352, allocations: 2.004 MB / 1.262 GB, free: 161 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001911/1.352, allocations: 63.89 kB / 1.262 GB, free: 161 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/1.354, allocations: 2.397 MB / 1.264 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006227/1.355, allocations: 0.7372 MB / 1.265 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009464/1.356, allocations: 477.2 kB / 1.266 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.294e-05/1.356, allocations: 305 kB / 1.266 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00251/1.358, allocations: 1.378 MB / 1.267 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002763/1.361, allocations: 2.099 MB / 1.269 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004888/1.366, allocations: 3.771 MB / 1.273 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.652e-05/1.366, allocations: 9.5 kB / 1.273 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.0103/1.376, allocations: 5.062 MB / 1.278 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/1.376, allocations: 18.92 kB / 1.278 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.106e-05/1.376, allocations: 22.28 kB / 1.278 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004439/1.381, allocations: 1.586 MB / 1.279 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/1.383, allocations: 452.3 kB / 1.28 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/1.404, allocations: 17.07 MB / 1.297 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/1.406, allocations: 151.2 kB / 1.297 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004646/1.407, allocations: 104.6 kB / 1.297 GB, free: 141.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003319/1.41, allocations: 1.947 MB / 1.299 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008216/1.411, allocations: 290.4 kB / 1.299 GB, free: 140.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006805/1.418, allocations: 4.456 MB / 1.303 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/1.418, allocations: 19.69 kB / 1.303 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-05/1.418, allocations: 19.66 kB / 1.303 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/1.418, allocations: 19.77 kB / 1.303 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/1.434, allocations: 9.66 MB / 1.313 GB, free: 132.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/1.434, allocations: 7.25 kB / 1.313 GB, free: 132.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009532/1.435, allocations: 229.1 kB / 1.313 GB, free: 132 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003056/1.438, allocations: 1.438 MB / 1.314 GB, free: 131.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/1.438, allocations: 40 kB / 1.314 GB, free: 131.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/1.455, allocations: 17.07 MB / 1.331 GB, free: 113.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.455, allocations: 4.859 kB / 1.331 GB, free: 113.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007237/1.463, allocations: 4.541 MB / 1.336 GB, free: 109 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/1.464, allocations: 0.6304 MB / 1.336 GB, free: 108.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007164/1.465, allocations: 40 kB / 1.336 GB, free: 108.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/1.467, allocations: 115.9 kB / 1.336 GB, free: 108.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006148/1.467, allocations: 185.4 kB / 1.337 GB, free: 108 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/1.467, allocations: 60 kB / 1.337 GB, free: 107.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002071/1.47, allocations: 1.311 MB / 1.338 GB, free: 106.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.21e-07/1.47, allocations: 0 / 1.338 GB, free: 106.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004926/1.475, allocations: 1.152 MB / 1.339 GB, free: 105.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000411/1.475, allocations: 164.3 kB / 1.339 GB, free: 105.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006915/1.482, allocations: 4.685 MB / 1.344 GB, free: 100.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.482, allocations: 4 kB / 1.344 GB, free: 100.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004184/1.486, allocations: 2.922 MB / 1.347 GB, free: 97.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005206/1.491, allocations: 0.8344 MB / 1.347 GB, free: 96.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/1.509, allocations: 11.76 MB / 1.359 GB, free: 84.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004986/1.514, allocations: 3.69 MB / 1.362 GB, free: 81.19 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002379/1.516, allocations: 0.5517 MB / 1.363 GB, free: 80.63 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005739/1.517, allocations: 151.4 kB / 1.363 GB, free: 80.48 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.517, allocations: 0 / 1.363 GB, free: 80.48 MB / 0.9981 GB Notification: Performance of Templates: time 0.07471/1.591, allocations: 51.12 MB / 1.413 GB, free: 30.04 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)