Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, 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.008722/0.008722, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 14.12 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3615, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003803/0.3654, allocations: 2.505 MB / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003511/0.3689, allocations: 2.088 MB / 1.079 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.3692, allocations: 7.938 kB / 1.079 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.3695, allocations: 27.78 kB / 1.079 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008104/0.3703, allocations: 199.3 kB / 1.079 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008444/0.3711, allocations: 247.4 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006357/0.3718, allocations: 454.6 kB / 1.08 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007962/0.3726, allocations: 362.3 kB / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.3729, allocations: 103.6 kB / 1.08 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003693/0.3733, allocations: 163.4 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.3733, allocations: 8 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007635/0.3741, allocations: 475.1 kB / 1.081 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.3742, allocations: 87.77 kB / 1.081 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.3743, allocations: 125.2 kB / 1.081 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.3749, allocations: 494.8 kB / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3749, allocations: 0 / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3749, allocations: 0 / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3749, allocations: 0 / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001059/0.376, allocations: 0.5305 MB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3761, allocations: 8.031 kB / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/0.377, allocations: 124.5 kB / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.3773, allocations: 264.9 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.3774, allocations: 20.8 kB / 1.082 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.3774, allocations: 24.12 kB / 1.082 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007082/0.3781, allocations: 397.9 kB / 1.083 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3782, allocations: 0 / 1.083 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.3782, allocations: 8 kB / 1.083 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/0.3783, allocations: 23.98 kB / 1.083 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007366/0.379, allocations: 387.6 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.3812, allocations: 1.745 MB / 1.085 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007516/0.382, allocations: 356.9 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/0.3824, allocations: 193.6 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/0.3825, allocations: 93.08 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.3826, allocations: 42.5 kB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.3826, allocations: 0 / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35): time 0.009268/0.3919, allocations: 2.204 MB / 1.087 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.3919, allocations: 85.11 kB / 1.088 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.3921, allocations: 183.5 kB / 1.088 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/0.3922, allocations: 37.64 kB / 1.088 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.562e-05/0.3923, allocations: 156.2 kB / 1.088 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.3924, allocations: 118.3 kB / 1.088 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.3925, allocations: 33.7 kB / 1.088 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3926, allocations: 334.8 kB / 1.088 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005711/0.3932, allocations: 267.8 kB / 1.089 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006336/0.3938, allocations: 365.4 kB / 1.089 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.3951, allocations: 0.6424 MB / 1.09 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3951, allocations: 3.938 kB / 1.09 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001427/0.3965, allocations: 0.6902 MB / 1.09 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.3966, allocations: 150.8 kB / 1.09 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3966, allocations: 0 / 1.09 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.3967, allocations: 4 kB / 1.09 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009616/0.3976, allocations: 163.8 kB / 1.091 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.3977, allocations: 4 kB / 1.091 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004772/0.3981, allocations: 59.92 kB / 1.091 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.3982, allocations: 23.92 kB / 1.091 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3982, allocations: 11.94 kB / 1.091 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001304/0.3995, allocations: 0.6088 MB / 1.091 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3996, allocations: 4 kB / 1.091 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.3996, allocations: 4.188 kB / 1.091 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008994/0.4005, allocations: 151.8 kB / 1.091 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.4005, allocations: 7.938 kB / 1.091 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004497/0.401, allocations: 63.92 kB / 1.092 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.401, allocations: 16.05 kB / 1.092 GB, free: 5.164 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * 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.0002521/0.4013, allocations: 241 kB / 1.092 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.319e-05/0.4014, allocations: 27.73 kB / 1.092 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.4028, allocations: 0.6964 MB / 1.092 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.4029, allocations: 4 kB / 1.092 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.4029, allocations: 3.984 kB / 1.092 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4029, allocations: 11.94 kB / 1.092 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.4051, allocations: 1.387 MB / 1.094 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.4051, allocations: 7.938 kB / 1.094 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005671/0.4057, allocations: 123.8 kB / 1.094 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.4057, allocations: 4 kB / 1.094 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.4058, allocations: 12 kB / 1.094 GB, free: 2.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.4058, allocations: 3.938 kB / 1.094 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4058, allocations: 8.094 kB / 1.094 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.4069, allocations: 0.7366 MB / 1.095 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.407, allocations: 148.7 kB / 1.095 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.4071, allocations: 8 kB / 1.095 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.4075, allocations: 47.94 kB / 1.095 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.4076, allocations: 31.91 kB / 1.095 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.4076, allocations: 12 kB / 1.095 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002055/0.4078, allocations: 151.8 kB / 1.095 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4079, allocations: 0 / 1.095 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007016/0.4086, allocations: 148 kB / 1.095 GB, free: 1.199 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * 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.0002648/0.4088, allocations: 127.2 kB / 1.095 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.4107, allocations: 0.9146 MB / 1.096 GB, free: 152 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4107, allocations: 0 / 1.096 GB, free: 152 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005083/0.4113, allocations: 261.2 kB / 1.096 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005917/0.4119, allocations: 60.91 kB / 1.097 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.4134, allocations: 0.811 MB / 1.097 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.4139, allocations: 0.7838 MB / 1.098 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006046/0.4145, allocations: 186.7 kB / 1.098 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.4146, allocations: 35.36 kB / 1.098 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.4146, allocations: 0 / 1.098 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of Templates: time 0.009824/0.4245, allocations: 4.864 MB / 1.103 GB, free: 9.105 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)