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_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_3.0.0_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_3.0.0_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.001246/0.001246, allocations: 97.33 kB / 15.36 MB, free: 0.7305 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.001773/0.001772, allocations: 173.3 kB / 16.27 MB, free: 6.664 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.018/3.018, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003733, allocations: 11 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3457, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04134/0.3871, allocations: 36.75 MB / 1.11 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01895/0.4061, allocations: 10.86 MB / 1.121 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00411/0.4103, allocations: 131.3 kB / 1.121 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.4128, allocations: 0.7791 MB / 1.122 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006002/0.4188, allocations: 2.092 MB / 1.124 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004869/0.4237, allocations: 1.79 MB / 1.125 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0158/0.4395, allocations: 13.18 MB / 1.138 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02603/0.4656, allocations: 14.46 MB / 1.152 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006235/0.4719, allocations: 2.836 MB / 1.155 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007216/0.4791, allocations: 3.885 MB / 1.159 GB, free: 456 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001737/0.4809, allocations: 344 kB / 1.159 GB, free: 112 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0043/0.4852, allocations: 1.318 MB / 1.16 GB, free: 14.79 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004123/0.4893, allocations: 2.537 MB / 1.163 GB, free: 12.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.006512/0.4959, allocations: 2.96 MB / 1.166 GB, free: 9.266 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01536/0.5112, allocations: 11.68 MB / 1.177 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.5113, allocations: 8 kB / 1.177 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.589e-06/0.5113, allocations: 0 / 1.177 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0005465/0.5119, allocations: 7.875 kB / 1.177 GB, free: 13.54 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.01543/0.5273, allocations: 5.086 MB / 1.182 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5274, allocations: 8.031 kB / 1.182 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006596/0.534, allocations: 1.067 MB / 1.183 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007479/0.5415, allocations: 3.419 MB / 1.187 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000464/0.542, allocations: 423.8 kB / 1.187 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00203/0.544, allocations: 0.547 MB / 1.188 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02292/0.567, allocations: 9.37 MB / 1.197 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001613/0.5672, allocations: 19.81 kB / 1.197 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008663/0.5681, allocations: 252 kB / 1.197 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006363/0.5687, allocations: 422.9 kB / 1.197 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01611/0.5848, allocations: 7.123 MB / 1.204 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05065/0.6355, allocations: 41.37 MB / 1.245 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004826/0.6404, allocations: 3.116 MB / 1.248 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6626/1.303, allocations: 2.106 MB / 1.25 GB, free: 162 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000255/1.303, allocations: 23.11 kB / 1.25 GB, free: 162 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.685e-05/1.303, allocations: 61.41 kB / 1.25 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 6.733e-06/1.303, allocations: 0 / 1.25 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.02838/1.332, allocations: 10.62 MB / 1.26 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/1.332, allocations: 74.66 kB / 1.26 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004153/1.336, allocations: 2.002 MB / 1.262 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002882/1.336, allocations: 63.64 kB / 1.262 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001925/1.338, allocations: 2.401 MB / 1.265 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008489/1.339, allocations: 0.7321 MB / 1.265 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/1.34, allocations: 209.5 kB / 1.266 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.95e-05/1.34, allocations: 309.8 kB / 1.266 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/1.342, allocations: 1.373 MB / 1.267 GB, free: 156 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002546/1.345, allocations: 2.102 MB / 1.269 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005363/1.35, allocations: 3.767 MB / 1.273 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/1.35, allocations: 6 kB / 1.273 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008951/1.359, allocations: 5.065 MB / 1.278 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/1.359, allocations: 15.5 kB / 1.278 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.529e-05/1.359, allocations: 26.52 kB / 1.278 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003706/1.363, allocations: 1.582 MB / 1.28 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/1.364, allocations: 452.1 kB / 1.28 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02016/1.385, allocations: 17.11 MB / 1.297 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00267/1.387, allocations: 145.9 kB / 1.297 GB, free: 139.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/1.388, allocations: 114.5 kB / 1.297 GB, free: 139.5 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.003571/1.391, allocations: 1.941 MB / 1.299 GB, free: 138.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004781/1.392, allocations: 289.5 kB / 1.299 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006363/1.398, allocations: 4.457 MB / 1.303 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/1.398, allocations: 23.72 kB / 1.303 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/1.398, allocations: 19.88 kB / 1.303 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/1.398, allocations: 12.5 kB / 1.304 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/1.411, allocations: 9.664 MB / 1.313 GB, free: 131 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.411, allocations: 3.906 kB / 1.313 GB, free: 131 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008845/1.412, allocations: 236.6 kB / 1.313 GB, free: 130.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002824/1.414, allocations: 1.427 MB / 1.315 GB, free: 130.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/1.415, allocations: 39.33 kB / 1.315 GB, free: 130.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01639/1.431, allocations: 17.11 MB / 1.331 GB, free: 114.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.431, allocations: 7.938 kB / 1.331 GB, free: 114.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006674/1.438, allocations: 4.537 MB / 1.336 GB, free: 109.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001989/1.44, allocations: 0.6343 MB / 1.336 GB, free: 108.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004206/1.44, allocations: 44 kB / 1.336 GB, free: 108.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/1.441, allocations: 111.9 kB / 1.337 GB, free: 108.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007015/1.442, allocations: 181.6 kB / 1.337 GB, free: 108.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/1.442, allocations: 60 kB / 1.337 GB, free: 108.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001896/1.444, allocations: 1.315 MB / 1.338 GB, free: 107.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.444, allocations: 0 / 1.338 GB, free: 107.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004268/1.449, allocations: 1.141 MB / 1.339 GB, free: 106 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.0003257/1.449, allocations: 168.4 kB / 1.339 GB, free: 105.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006464/1.455, allocations: 4.696 MB / 1.344 GB, free: 101 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/1.455, allocations: 1 kB / 1.344 GB, free: 101 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003784/1.459, allocations: 2.929 MB / 1.347 GB, free: 98.07 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006562/1.466, allocations: 0.833 MB / 1.348 GB, free: 97.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02317/1.489, allocations: 11.77 MB / 1.359 GB, free: 85.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005995/1.495, allocations: 3.698 MB / 1.363 GB, free: 81.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004031/1.499, allocations: 0.5521 MB / 1.363 GB, free: 81.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006617/1.5, allocations: 151.4 kB / 1.363 GB, free: 80.99 MB / 0.9981 GB Notification: Performance of SimCode: time 1.714e-06/1.5, allocations: 0 / 1.363 GB, free: 80.99 MB / 0.9981 GB Notification: Performance of Templates: time 0.09249/1.592, allocations: 50.15 MB / 1.412 GB, free: 31.52 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)