Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, 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.00156/0.00156, allocations: 192.6 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 62.27 kB / 0.912 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3162, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01995/0.3362, allocations: 16.71 MB / 1.085 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01165/0.3479, allocations: 6.433 MB / 1.091 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.3494, allocations: 55.88 kB / 1.091 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003508/0.3529, allocations: 1.298 MB / 1.092 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.3554, allocations: 0.8674 MB / 1.093 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003831/0.3593, allocations: 1.543 MB / 1.094 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004537/0.3638, allocations: 3.851 MB / 1.098 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006136/0.37, allocations: 5.011 MB / 1.103 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.3726, allocations: 1.64 MB / 1.105 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/0.3757, allocations: 1.99 MB / 1.107 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001445/0.3772, allocations: 376 kB / 1.107 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.3805, allocations: 0.8504 MB / 1.108 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003165/0.3837, allocations: 1.493 MB / 1.109 GB, free: 172 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003666/0.3874, allocations: 1.533 MB / 1.111 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00747/0.3949, allocations: 5.532 MB / 1.116 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3949, allocations: 0 / 1.116 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3949, allocations: 0 / 1.116 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002114/0.3951, allocations: 0 / 1.116 GB, free: 9.082 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.00837/0.4035, allocations: 2.726 MB / 1.119 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.4036, allocations: 16.03 kB / 1.119 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005635/0.4092, allocations: 0.8991 MB / 1.12 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/0.4124, allocations: 1.419 MB / 1.121 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.4126, allocations: 193.5 kB / 1.121 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009795/0.4136, allocations: 260.2 kB / 1.122 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.4238, allocations: 4.642 MB / 1.126 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.001e-05/0.4239, allocations: 7.938 kB / 1.126 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005683/0.4245, allocations: 112 kB / 1.126 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002349/0.4247, allocations: 180.2 kB / 1.126 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007747/0.4325, allocations: 3.929 MB / 1.13 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02903/0.4615, allocations: 21.55 MB / 1.151 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/0.4645, allocations: 2.264 MB / 1.153 GB, free: 400 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.4657, allocations: 0.724 MB / 1.154 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.724e-05/0.4657, allocations: 15.94 kB / 1.154 GB, free: 15.63 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.4658, allocations: 46.55 kB / 1.154 GB, free: 15.57 MB / 0.92 GB Notification: Performance of pre-optimization done (n=62): time 3.287e-06/0.4658, allocations: 0 / 1.154 GB, free: 15.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=68): time 0.007489/0.4733, allocations: 4.188 MB / 1.158 GB, free: 11.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001942/0.4735, allocations: 252.3 kB / 1.159 GB, free: 11.04 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/0.4755, allocations: 1.163 MB / 1.16 GB, free: 9.848 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.605e-05/0.4756, allocations: 37.7 kB / 1.16 GB, free: 9.805 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.4767, allocations: 1.191 MB / 1.161 GB, free: 8.594 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/0.477, allocations: 252.6 kB / 1.161 GB, free: 8.344 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005806/0.4776, allocations: 343 kB / 1.161 GB, free: 8.004 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002231/0.4779, allocations: 345.9 kB / 1.162 GB, free: 7.66 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.4793, allocations: 0.7503 MB / 1.163 GB, free: 6.906 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.4812, allocations: 1.446 MB / 1.164 GB, free: 5.133 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003164/0.4844, allocations: 2.193 MB / 1.166 GB, free: 2.609 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-05/0.4844, allocations: 8 kB / 1.166 GB, free: 2.602 MB / 0.92 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004246/0.4887, allocations: 2.266 MB / 1.168 GB, free: 336 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.985e-05/0.4887, allocations: 19.94 kB / 1.168 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.635e-05/0.4888, allocations: 24 kB / 1.168 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.189e-05/0.4888, allocations: 32 kB / 1.168 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.4906, allocations: 447.5 kB / 1.169 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.125e-05/0.4907, allocations: 51.8 kB / 1.169 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.4926, allocations: 231.2 kB / 1.169 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.4927, allocations: 87.97 kB / 1.169 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00263/0.4954, allocations: 1.589 MB / 1.171 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00181/0.4972, allocations: 1.368 MB / 1.172 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002555/0.4998, allocations: 2.013 MB / 1.174 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.85e-05/0.4998, allocations: 4 kB / 1.174 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.00375/0.5036, allocations: 2.066 MB / 1.176 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.5036, allocations: 23.92 kB / 1.176 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.039e-05/0.5036, allocations: 24 kB / 1.176 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.815e-05/0.5037, allocations: 39.94 kB / 1.176 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.5052, allocations: 408 kB / 1.177 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000119/0.5053, allocations: 55.78 kB / 1.177 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.507, allocations: 187.4 kB / 1.177 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/0.5072, allocations: 87.97 kB / 1.177 GB, free: 6.895 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004465/0.5077, allocations: 284.5 kB / 1.177 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/0.508, allocations: 114.6 kB / 1.177 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.5097, allocations: 1.1 MB / 1.178 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.5098, allocations: 12 kB / 1.178 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.5098, allocations: 3.984 kB / 1.178 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.5098, allocations: 7.984 kB / 1.178 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.5253, allocations: 10.21 MB / 1.188 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.236e-05/0.5255, allocations: 16.94 kB / 1.188 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007739/0.5263, allocations: 191.6 kB / 1.188 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.112e-05/0.5263, allocations: 20 kB / 1.189 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.384e-05/0.5264, allocations: 32 kB / 1.189 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.917e-05/0.5264, allocations: 31.86 kB / 1.189 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.77e-05/0.5265, allocations: 23.94 kB / 1.189 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002928/0.5294, allocations: 2.174 MB / 1.191 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008031/0.5302, allocations: 327.6 kB / 1.191 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003313/0.5306, allocations: 32 kB / 1.191 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.532, allocations: 107.8 kB / 1.191 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.5322, allocations: 107.5 kB / 1.191 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.707e-05/0.5322, allocations: 36 kB / 1.191 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001648/0.5339, allocations: 0.8205 MB / 1.192 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.71e-07/0.5339, allocations: 0 / 1.192 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004005/0.5379, allocations: 0.7344 MB / 1.193 GB, free: 6.016 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002861/0.5382, allocations: 155.4 kB / 1.193 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004612/0.5428, allocations: 2.607 MB / 1.196 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/0.5429, allocations: 8.062 kB / 1.196 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007784/0.5436, allocations: 0.5688 MB / 1.196 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/0.5458, allocations: 262.4 kB / 1.196 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008407/0.5542, allocations: 4.444 MB / 1.201 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002476/0.5567, allocations: 2.003 MB / 1.203 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002534/0.5593, allocations: 0.8834 MB / 1.203 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.5596, allocations: 91.41 kB / 1.204 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of SimCode: time 1.362e-06/0.5597, allocations: 0 / 1.204 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of Templates: time 0.02888/0.5885, allocations: 15.17 MB / 1.218 GB, free: 11.67 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)