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.001074/0.001074, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001165/0.001165, allocations: 192.4 kB / 16.25 MB, free: 6.629 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.387/1.387, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.22 kB / 0.9115 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3409, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02187/0.3629, allocations: 20.11 MB / 1.087 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.3745, allocations: 6.391 MB / 1.094 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002592/0.3771, allocations: 75.62 kB / 1.094 GB, free: 156 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005802/0.383, allocations: 2.089 MB / 1.096 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003655/0.3866, allocations: 1.097 MB / 1.097 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003576/0.3902, allocations: 1.177 MB / 1.098 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00614/0.3964, allocations: 4.866 MB / 1.103 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01057/0.407, allocations: 6.766 MB / 1.109 GB, free: 72 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003897/0.4109, allocations: 2.114 MB / 1.111 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004388/0.4153, allocations: 2.454 MB / 1.114 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001736/0.4171, allocations: 428 kB / 1.114 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003633/0.4207, allocations: 1.006 MB / 1.115 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003481/0.4243, allocations: 1.665 MB / 1.117 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.006186/0.4305, allocations: 1.914 MB / 1.119 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.4406, allocations: 6.524 MB / 1.125 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.4406, allocations: 3.984 kB / 1.125 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4407, allocations: 0 / 1.125 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000262/0.4409, allocations: 0 / 1.125 GB, free: 15.93 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.01021/0.4511, allocations: 3.456 MB / 1.128 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.542e-05/0.4512, allocations: 8.031 kB / 1.128 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004237/0.4555, allocations: 0.6371 MB / 1.129 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/0.4599, allocations: 1.932 MB / 1.131 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002586/0.4602, allocations: 230.3 kB / 1.131 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001314/0.4615, allocations: 296.3 kB / 1.131 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/0.4746, allocations: 4.89 MB / 1.136 GB, free: 4.16 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/0.4749, allocations: 15.86 kB / 1.136 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008629/0.4757, allocations: 132 kB / 1.136 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000485/0.4762, allocations: 229.7 kB / 1.137 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008065/0.4843, allocations: 3.75 MB / 1.14 GB, free: 28 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03136/0.5157, allocations: 21.55 MB / 1.161 GB, free: 8.477 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.518, allocations: 1.318 MB / 1.163 GB, free: 7.152 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.5197, allocations: 1.053 MB / 1.164 GB, free: 6.102 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.178e-05/0.5199, allocations: 13 kB / 1.164 GB, free: 6.086 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.966e-05/0.5199, allocations: 47.5 kB / 1.164 GB, free: 6.031 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 3.487e-06/0.5199, allocations: 0 / 1.164 GB, free: 6.031 MB / 0.92 GB Notification: Performance of matching and sorting (n=138): time 0.02388/0.5438, allocations: 8.649 MB / 1.172 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.5439, allocations: 68.72 kB / 1.172 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.5458, allocations: 1.13 MB / 1.173 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.546, allocations: 49.7 kB / 1.173 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008364/0.5468, allocations: 1.3 MB / 1.175 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004081/0.5472, allocations: 481.2 kB / 1.175 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004902/0.5477, allocations: 295.3 kB / 1.175 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5479, allocations: 305.1 kB / 1.176 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.5492, allocations: 0.9135 MB / 1.176 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.5508, allocations: 1.33 MB / 1.178 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/0.554, allocations: 2.426 MB / 1.18 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.554, allocations: 4 kB / 1.18 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006247/0.5603, allocations: 3.468 MB / 1.184 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.5603, allocations: 13.25 kB / 1.184 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.5603, allocations: 12 kB / 1.184 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003327/0.5637, allocations: 1.188 MB / 1.185 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009789/0.5647, allocations: 259.5 kB / 1.185 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01812/0.5828, allocations: 13.85 MB / 1.198 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.585, allocations: 95.97 kB / 1.199 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003596/0.5853, allocations: 64 kB / 1.199 GB, free: 1.266 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.002687/0.588, allocations: 1.114 MB / 1.2 GB, free: 144 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005395/0.5886, allocations: 158.2 kB / 1.2 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006342/0.5949, allocations: 3.173 MB / 1.203 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.417e-05/0.595, allocations: 12 kB / 1.203 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.76e-05/0.5951, allocations: 15.94 kB / 1.203 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.5951, allocations: 7.969 kB / 1.203 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/0.607, allocations: 6.252 MB / 1.209 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.6071, allocations: 4.562 kB / 1.209 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006184/0.6077, allocations: 147.8 kB / 1.209 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002993/0.6107, allocations: 1.071 MB / 1.21 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.6108, allocations: 32 kB / 1.21 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01898/0.6298, allocations: 13.55 MB / 1.224 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.6299, allocations: 4 kB / 1.224 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005989/0.6359, allocations: 3.158 MB / 1.227 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009054/0.6368, allocations: 419.1 kB / 1.227 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003751/0.6372, allocations: 39.92 kB / 1.227 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000973/0.6382, allocations: 79.89 kB / 1.227 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003797/0.6386, allocations: 124.7 kB / 1.227 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.6387, allocations: 40 kB / 1.227 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001229/0.6399, allocations: 0.7632 MB / 1.228 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.11e-07/0.6399, allocations: 0 / 1.228 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002363/0.6423, allocations: 0.6641 MB / 1.229 GB, free: 1.746 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.0003026/0.6426, allocations: 147 kB / 1.229 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006473/0.6491, allocations: 3.634 MB / 1.232 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.6491, allocations: 8.25 kB / 1.232 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003501/0.6526, allocations: 1.947 MB / 1.234 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/0.6555, allocations: 0.4989 MB / 1.235 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.6674, allocations: 6.736 MB / 1.241 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003248/0.6706, allocations: 2.336 MB / 1.244 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001258/0.6719, allocations: 362 kB / 1.244 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.6722, allocations: 95.42 kB / 1.244 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/0.6722, allocations: 0 / 1.244 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of Templates: time 0.6383/1.31, allocations: 32.83 MB / 1.276 GB, free: 158.6 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)