Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.00143/0.001431, allocations: 108 kB / 15.6 MB, free: 132 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.001685/0.001685, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.79/2.79, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 63.69 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3512, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02055/0.3717, allocations: 16.72 MB / 1.085 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.3825, allocations: 6.433 MB / 1.091 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.3838, allocations: 47.88 kB / 1.091 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003497/0.3873, allocations: 1.291 MB / 1.092 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.3899, allocations: 0.8752 MB / 1.093 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003899/0.3938, allocations: 1.547 MB / 1.094 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004941/0.3987, allocations: 3.859 MB / 1.098 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006579/0.4053, allocations: 5.003 MB / 1.103 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/0.4085, allocations: 1.64 MB / 1.105 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/0.4118, allocations: 1.99 MB / 1.107 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.4129, allocations: 384 kB / 1.107 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/0.4152, allocations: 0.8427 MB / 1.108 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001821/0.417, allocations: 1.489 MB / 1.109 GB, free: 108 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002172/0.4192, allocations: 1.533 MB / 1.111 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005367/0.4246, allocations: 5.532 MB / 1.116 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.769e-06/0.4247, allocations: 4 kB / 1.116 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.983e-06/0.4247, allocations: 4 kB / 1.116 GB, free: 9.012 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001334/0.4248, allocations: 0 / 1.116 GB, free: 9.012 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.005842/0.4307, allocations: 2.728 MB / 1.119 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4307, allocations: 8.031 kB / 1.119 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005065/0.4358, allocations: 0.907 MB / 1.12 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.4386, allocations: 1.415 MB / 1.121 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.4387, allocations: 193.5 kB / 1.121 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006373/0.4394, allocations: 252.3 kB / 1.122 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008506/0.4479, allocations: 4.654 MB / 1.126 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.554e-05/0.448, allocations: 7.938 kB / 1.126 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000299/0.4483, allocations: 108 kB / 1.126 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001961/0.4485, allocations: 176.3 kB / 1.126 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007053/0.4556, allocations: 3.929 MB / 1.13 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02426/0.4799, allocations: 21.55 MB / 1.151 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/0.4823, allocations: 2.258 MB / 1.153 GB, free: 340 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009976/0.4834, allocations: 0.7238 MB / 1.154 GB, free: 15.58 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.4834, allocations: 19.84 kB / 1.154 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.4835, allocations: 46.56 kB / 1.154 GB, free: 15.51 MB / 0.92 GB Notification: Performance of pre-optimization done (n=62): time 2.986e-06/0.4835, allocations: 0 / 1.154 GB, free: 15.51 MB / 0.92 GB Notification: Performance of matching and sorting (n=68): time 0.005516/0.489, allocations: 4.192 MB / 1.158 GB, free: 11.27 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.4891, allocations: 255.2 kB / 1.159 GB, free: 10.96 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.4908, allocations: 1.168 MB / 1.16 GB, free: 9.773 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-05/0.4909, allocations: 37.7 kB / 1.16 GB, free: 9.73 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006565/0.4915, allocations: 1.187 MB / 1.161 GB, free: 8.523 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.4918, allocations: 252.6 kB / 1.161 GB, free: 8.273 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004731/0.4923, allocations: 339 kB / 1.161 GB, free: 7.938 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4924, allocations: 341.9 kB / 1.162 GB, free: 7.598 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.4937, allocations: 0.7581 MB / 1.163 GB, free: 6.836 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.4954, allocations: 1.45 MB / 1.164 GB, free: 5.059 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002913/0.4984, allocations: 2.185 MB / 1.166 GB, free: 2.543 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.4984, allocations: 8 kB / 1.166 GB, free: 2.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004183/0.5026, allocations: 2.266 MB / 1.168 GB, free: 268 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/0.5027, allocations: 23.97 kB / 1.168 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/0.5027, allocations: 24 kB / 1.168 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.4e-05/0.5027, allocations: 32 kB / 1.168 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.5044, allocations: 447.2 kB / 1.169 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-05/0.5045, allocations: 51.8 kB / 1.169 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.5063, allocations: 235.2 kB / 1.169 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.5065, allocations: 87.97 kB / 1.169 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00269/0.5092, allocations: 1.584 MB / 1.171 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001597/0.5108, allocations: 1.372 MB / 1.172 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002609/0.5134, allocations: 2.013 MB / 1.174 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.193e-05/0.5134, allocations: 8 kB / 1.174 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003632/0.5171, allocations: 2.066 MB / 1.176 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.5171, allocations: 16 kB / 1.176 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.5172, allocations: 24 kB / 1.176 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/0.5172, allocations: 39.94 kB / 1.176 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.5186, allocations: 407.3 kB / 1.177 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.133e-05/0.5187, allocations: 48.08 kB / 1.177 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.5203, allocations: 199.4 kB / 1.177 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.5205, allocations: 87.97 kB / 1.177 GB, free: 6.824 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.0003716/0.5208, allocations: 283.6 kB / 1.177 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/0.5212, allocations: 106.6 kB / 1.177 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.5229, allocations: 1.099 MB / 1.178 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.523, allocations: 11.94 kB / 1.178 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.523, allocations: 4 kB / 1.178 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.523, allocations: 3.984 kB / 1.178 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/0.5365, allocations: 10.21 MB / 1.188 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/0.5366, allocations: 16 kB / 1.188 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006653/0.5373, allocations: 187.7 kB / 1.188 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.042e-05/0.5373, allocations: 20 kB / 1.188 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/0.5374, allocations: 36 kB / 1.189 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-05/0.5374, allocations: 31.86 kB / 1.189 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.671e-05/0.5374, allocations: 24.47 kB / 1.189 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.5397, allocations: 2.178 MB / 1.191 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005476/0.5402, allocations: 323.6 kB / 1.191 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.5404, allocations: 35.98 kB / 1.191 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.5416, allocations: 111.8 kB / 1.191 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.5417, allocations: 99.5 kB / 1.191 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/0.5418, allocations: 47.98 kB / 1.191 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001357/0.5432, allocations: 0.8088 MB / 1.192 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5432, allocations: 4 kB / 1.192 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003303/0.5465, allocations: 0.7383 MB / 1.193 GB, free: 5.949 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.0002765/0.5468, allocations: 159.4 kB / 1.193 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004422/0.5512, allocations: 2.611 MB / 1.196 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.5513, allocations: 0 / 1.196 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008213/0.5521, allocations: 0.5738 MB / 1.196 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/0.5543, allocations: 248.2 kB / 1.196 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007404/0.5617, allocations: 4.444 MB / 1.201 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/0.5638, allocations: 2.011 MB / 1.203 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002485/0.5663, allocations: 0.8833 MB / 1.203 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/0.5666, allocations: 87.41 kB / 1.204 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of SimCode: time 1.142e-06/0.5666, allocations: 3.938 kB / 1.204 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of Templates: time 0.02721/0.5939, allocations: 15.18 MB / 1.218 GB, free: 11.58 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)