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_RL_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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009751/0.009751, allocations: 169.5 kB / 16.27 MB, free: 6.336 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.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 9.5 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3218, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02251/0.3443, allocations: 19.5 MB / 1.093 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01117/0.3555, allocations: 6.376 MB / 1.099 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.3571, allocations: 75.56 kB / 1.099 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.3583, allocations: 408.8 kB / 1.1 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003513/0.3618, allocations: 1.104 MB / 1.101 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.3648, allocations: 1.088 MB / 1.102 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00777/0.3726, allocations: 6.972 MB / 1.109 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01117/0.3838, allocations: 7.27 MB / 1.116 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.3869, allocations: 1.494 MB / 1.117 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002867/0.3898, allocations: 2.024 MB / 1.119 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003747/0.3902, allocations: 180 kB / 1.12 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.392, allocations: 0.9163 MB / 1.12 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.3934, allocations: 1.356 MB / 1.122 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.395, allocations: 1.568 MB / 1.123 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005541/0.4006, allocations: 6.214 MB / 1.129 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4006, allocations: 0 / 1.129 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4006, allocations: 0 / 1.129 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001251/0.4007, allocations: 0 / 1.129 GB, free: 14.75 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005508/0.4062, allocations: 2.808 MB / 1.132 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4063, allocations: 12.02 kB / 1.132 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003493/0.4098, allocations: 0.641 MB / 1.133 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00321/0.413, allocations: 1.939 MB / 1.135 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.4132, allocations: 230.3 kB / 1.135 GB, free: 9 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004696/0.4137, allocations: 292.3 kB / 1.135 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00803/0.4217, allocations: 4.882 MB / 1.14 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.863e-05/0.4218, allocations: 19.84 kB / 1.14 GB, free: 3.613 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/0.4221, allocations: 128 kB / 1.14 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000424/0.4226, allocations: 229.7 kB / 1.14 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00589/0.4285, allocations: 3.746 MB / 1.144 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02141/0.4499, allocations: 21.62 MB / 1.165 GB, free: 7.883 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.4517, allocations: 1.31 MB / 1.166 GB, free: 6.566 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.4531, allocations: 1.038 MB / 1.167 GB, free: 5.531 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.284e-05/0.4532, allocations: 17 kB / 1.167 GB, free: 5.512 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.4532, allocations: 47.55 kB / 1.167 GB, free: 5.457 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 5.39e-06/0.4533, allocations: 0 / 1.167 GB, free: 5.457 MB / 0.92 GB Notification: Performance of matching and sorting (n=138): time 0.02469/0.4779, allocations: 8.715 MB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.478, allocations: 68.72 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.4796, allocations: 1.13 MB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.4798, allocations: 49.7 kB / 1.177 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009043/0.4807, allocations: 1.3 MB / 1.178 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.00043/0.4811, allocations: 481 kB / 1.179 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.4813, allocations: 129.6 kB / 1.179 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4814, allocations: 309.1 kB / 1.179 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.4827, allocations: 0.9096 MB / 1.18 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.4843, allocations: 1.326 MB / 1.181 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/0.4874, allocations: 2.426 MB / 1.184 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-06/0.4875, allocations: 4 kB / 1.184 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006228/0.4937, allocations: 3.468 MB / 1.187 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.4938, allocations: 16.06 kB / 1.187 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/0.4938, allocations: 15.94 kB / 1.187 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00329/0.4971, allocations: 1.18 MB / 1.188 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009716/0.4981, allocations: 259.6 kB / 1.189 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/0.5145, allocations: 12.77 MB / 1.201 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.5159, allocations: 87.97 kB / 1.201 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.5161, allocations: 67.98 kB / 1.201 GB, free: 1.895 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002019/0.5181, allocations: 1.118 MB / 1.202 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/0.5184, allocations: 162.1 kB / 1.202 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005864/0.5243, allocations: 3.169 MB / 1.206 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.5243, allocations: 16 kB / 1.206 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/0.5243, allocations: 12 kB / 1.206 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.5243, allocations: 11.91 kB / 1.206 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.5344, allocations: 6.237 MB / 1.212 GB, free: 7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.5345, allocations: 4 kB / 1.212 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/0.535, allocations: 148.3 kB / 1.212 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002862/0.5379, allocations: 1.075 MB / 1.213 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.705e-05/0.538, allocations: 28 kB / 1.213 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/0.5537, allocations: 12.45 MB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.5538, allocations: 7.938 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005349/0.5591, allocations: 3.158 MB / 1.228 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007972/0.5599, allocations: 427.1 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.5601, allocations: 31.94 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007914/0.5609, allocations: 83.83 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003662/0.5613, allocations: 128.7 kB / 1.229 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.584e-05/0.5614, allocations: 40 kB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001028/0.5624, allocations: 0.7671 MB / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5624, allocations: 0 / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001969/0.5644, allocations: 0.6602 MB / 1.23 GB, free: 3.496 MB / 0.9825 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002415/0.5647, allocations: 144.6 kB / 1.23 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004812/0.5695, allocations: 3.13 MB / 1.233 GB, free: 184 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5695, allocations: 4 kB / 1.233 GB, free: 180 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002988/0.5725, allocations: 1.96 MB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/0.5754, allocations: 467.3 kB / 1.236 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009255/0.5847, allocations: 6.761 MB / 1.242 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002342/0.5871, allocations: 2.336 MB / 1.245 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001168/0.5883, allocations: 354.1 kB / 1.245 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.5885, allocations: 87.38 kB / 1.245 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of SimCode: time 1.212e-06/0.5885, allocations: 4 kB / 1.245 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of Templates: time 0.6346/1.223, allocations: 30.94 MB / 1.275 GB, free: 157.7 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)