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.001091/0.001091, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 195 kB / 16.53 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.828/2.828, allocations: 472.6 MB / 0.7451 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 61.34 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4127, allocations: 159.9 MB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02573/0.4385, allocations: 20.26 MB / 1.088 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.4519, allocations: 6.445 MB / 1.094 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002694/0.4547, allocations: 87.62 kB / 1.094 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.006241/0.461, allocations: 2.236 MB / 1.097 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004236/0.4652, allocations: 1.181 MB / 1.098 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004345/0.4696, allocations: 1.289 MB / 1.099 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00689/0.4765, allocations: 4.846 MB / 1.104 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01/0.4865, allocations: 5.638 MB / 1.109 GB, free: 356 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004581/0.4912, allocations: 2.072 MB / 1.111 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004074/0.4953, allocations: 2.348 MB / 1.113 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001272/0.4966, allocations: 428 kB / 1.114 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.4994, allocations: 1.003 MB / 1.115 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002496/0.5019, allocations: 1.661 MB / 1.116 GB, free: 8.828 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003858/0.5058, allocations: 1.918 MB / 1.118 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00693/0.5127, allocations: 6.474 MB / 1.125 GB, free: 420 kB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.5128, allocations: 7.938 kB / 1.125 GB, free: 412 kB / 0.8731 GB Notification: Performance of FrontEnd: time 5.33e-06/0.5128, allocations: 3.984 kB / 1.125 GB, free: 408 kB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001421/0.5129, allocations: 7.938 kB / 1.125 GB, free: 400 kB / 0.8731 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.006412/0.5194, allocations: 3.44 MB / 1.128 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5194, allocations: 8.031 kB / 1.128 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/0.5226, allocations: 0.6332 MB / 1.129 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/0.5257, allocations: 1.947 MB / 1.131 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.5259, allocations: 222.3 kB / 1.131 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004319/0.5263, allocations: 296.2 kB / 1.131 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00704/0.5334, allocations: 4.89 MB / 1.136 GB, free: 4.637 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-05/0.5335, allocations: 11.92 kB / 1.136 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.5338, allocations: 128 kB / 1.136 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004138/0.5342, allocations: 221.7 kB / 1.136 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005745/0.5399, allocations: 3.75 MB / 1.14 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02129/0.5612, allocations: 21.57 MB / 1.161 GB, free: 8.957 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.5631, allocations: 1.319 MB / 1.162 GB, free: 7.629 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.5645, allocations: 1.05 MB / 1.163 GB, free: 6.578 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.948e-05/0.5645, allocations: 16.98 kB / 1.163 GB, free: 6.562 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.5646, allocations: 43.56 kB / 1.163 GB, free: 6.512 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 3.667e-06/0.5646, allocations: 0 / 1.163 GB, free: 6.512 MB / 0.92 GB Notification: Performance of matching and sorting (n=138): time 0.02385/0.5885, allocations: 8.657 MB / 1.172 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.5886, allocations: 64.72 kB / 1.172 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.5901, allocations: 1.13 MB / 1.173 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.339e-05/0.5902, allocations: 45.7 kB / 1.173 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008627/0.5911, allocations: 1.3 MB / 1.174 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/0.5915, allocations: 481.2 kB / 1.175 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004489/0.592, allocations: 291.3 kB / 1.175 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5921, allocations: 309.1 kB / 1.175 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.5933, allocations: 0.9135 MB / 1.176 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.5949, allocations: 1.326 MB / 1.177 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/0.5979, allocations: 2.43 MB / 1.18 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.5979, allocations: 4 kB / 1.18 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005828/0.6037, allocations: 3.463 MB / 1.183 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.6038, allocations: 12 kB / 1.183 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.6038, allocations: 12 kB / 1.183 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003078/0.6069, allocations: 1.194 MB / 1.184 GB, free: 432 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008956/0.6078, allocations: 263.5 kB / 1.185 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01694/0.6247, allocations: 13.84 MB / 1.198 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.6264, allocations: 91.91 kB / 1.198 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.6265, allocations: 64 kB / 1.198 GB, free: 1.754 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.001973/0.6285, allocations: 1.118 MB / 1.199 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/0.6287, allocations: 158.1 kB / 1.2 GB, free: 480 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005504/0.6343, allocations: 3.169 MB / 1.203 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.6343, allocations: 12 kB / 1.203 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.6343, allocations: 15.94 kB / 1.203 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.6343, allocations: 7.969 kB / 1.203 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009862/0.6442, allocations: 6.253 MB / 1.209 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.6442, allocations: 4 kB / 1.209 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.6448, allocations: 151.7 kB / 1.209 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002768/0.6476, allocations: 1.076 MB / 1.21 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.336e-05/0.6477, allocations: 28 kB / 1.21 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/0.6642, allocations: 13.55 MB / 1.223 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.6643, allocations: 11.88 kB / 1.223 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005251/0.6695, allocations: 3.15 MB / 1.226 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007564/0.6703, allocations: 423 kB / 1.227 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.6705, allocations: 35.92 kB / 1.227 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007986/0.6713, allocations: 83.84 kB / 1.227 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003467/0.6716, allocations: 128.7 kB / 1.227 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.05e-05/0.6717, allocations: 36.38 kB / 1.227 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001083/0.6728, allocations: 0.7671 MB / 1.228 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6728, allocations: 0 / 1.228 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002042/0.6749, allocations: 0.6602 MB / 1.228 GB, free: 2.234 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.0002599/0.6751, allocations: 143.6 kB / 1.229 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00583/0.681, allocations: 3.638 MB / 1.232 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.681, allocations: 4 kB / 1.232 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002898/0.6839, allocations: 1.944 MB / 1.234 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/0.6861, allocations: 0.498 MB / 1.234 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009528/0.6956, allocations: 5.444 MB / 1.24 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002365/0.698, allocations: 2.336 MB / 1.242 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001056/0.699, allocations: 358.1 kB / 1.242 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.6993, allocations: 91.36 kB / 1.243 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/0.6993, allocations: 0 / 1.243 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of Templates: time 0.5856/1.285, allocations: 32.66 MB / 1.274 GB, free: 159.2 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)