Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008328/0.0008325, allocations: 97.56 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.00549/0.005491, allocations: 170.5 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.448/1.448, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005431/0.0005431, allocations: 12.62 kB / 0.9158 GB, free: 33.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3546, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.004997/0.3596, allocations: 3.082 MB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003679/0.3634, allocations: 2.154 MB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.3636, allocations: 7.938 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.3638, allocations: 35.7 kB / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006678/0.3645, allocations: 223.1 kB / 1.08 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007742/0.3653, allocations: 259.4 kB / 1.08 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005528/0.3658, allocations: 0.5336 MB / 1.08 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000583/0.3664, allocations: 341.4 kB / 1.081 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.3666, allocations: 119.5 kB / 1.081 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.367, allocations: 175.3 kB / 1.081 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.367, allocations: 12 kB / 1.081 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007977/0.3678, allocations: 0.5029 MB / 1.081 GB, free: 32 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.3679, allocations: 83.8 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.3681, allocations: 153 kB / 1.082 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006641/0.3688, allocations: 0.5179 MB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3688, allocations: 0 / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.534e-06/0.3688, allocations: 4 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.3688, allocations: 0 / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009409/0.3698, allocations: 0.569 MB / 1.083 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.3698, allocations: 12.03 kB / 1.083 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008471/0.3707, allocations: 124.4 kB / 1.083 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.371, allocations: 267.8 kB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.3711, allocations: 16.81 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.3711, allocations: 20.38 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007218/0.3718, allocations: 427.8 kB / 1.084 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3719, allocations: 0 / 1.084 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.3719, allocations: 12 kB / 1.084 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.29e-05/0.372, allocations: 40.47 kB / 1.084 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006574/0.3727, allocations: 354 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00248/0.3751, allocations: 2.062 MB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008025/0.376, allocations: 357 kB / 1.086 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004002/0.3764, allocations: 193.6 kB / 1.086 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.3765, allocations: 89.09 kB / 1.087 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.3766, allocations: 38.56 kB / 1.087 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.814e-06/0.3766, allocations: 0 / 1.087 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.005287/0.3819, allocations: 1.756 MB / 1.088 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.3819, allocations: 89.27 kB / 1.088 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.3822, allocations: 237 kB / 1.089 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.3822, allocations: 29.7 kB / 1.089 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.3823, allocations: 188 kB / 1.089 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.3825, allocations: 122.2 kB / 1.089 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.3825, allocations: 37.7 kB / 1.089 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3827, allocations: 338.8 kB / 1.089 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.3831, allocations: 192.8 kB / 1.089 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.3835, allocations: 321.1 kB / 1.09 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008888/0.3844, allocations: 0.5235 MB / 1.09 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3844, allocations: 4 kB / 1.09 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001302/0.3858, allocations: 0.6764 MB / 1.091 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.3859, allocations: 176.4 kB / 1.091 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3859, allocations: 4 kB / 1.091 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005134/0.3864, allocations: 159.2 kB / 1.091 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004048/0.3868, allocations: 95.88 kB / 1.091 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.3898, allocations: 3.954 MB / 1.095 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.3902, allocations: 35.95 kB / 1.095 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.3902, allocations: 19.94 kB / 1.095 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/0.3902, allocations: 4 kB / 1.095 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00123/0.3915, allocations: 0.6316 MB / 1.096 GB, free: 232 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3915, allocations: 4 kB / 1.096 GB, free: 228 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/0.3919, allocations: 143.4 kB / 1.096 GB, free: 72 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.3923, allocations: 95.88 kB / 1.096 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007042/0.393, allocations: 1.116 MB / 1.097 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.3933, allocations: 35.97 kB / 1.097 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.3933, allocations: 16 kB / 1.097 GB, free: 14.76 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002735/0.3936, allocations: 257 kB / 1.097 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.361e-05/0.3937, allocations: 27.72 kB / 1.098 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.395, allocations: 0.6287 MB / 1.098 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.395, allocations: 4 kB / 1.098 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3951, allocations: 4 kB / 1.098 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3951, allocations: 4 kB / 1.098 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.3974, allocations: 1.349 MB / 1.099 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3974, allocations: 3.984 kB / 1.099 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.3977, allocations: 72.16 kB / 1.1 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004376/0.3981, allocations: 155.2 kB / 1.1 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.3982, allocations: 8 kB / 1.1 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/0.4011, allocations: 3.961 MB / 1.104 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4011, allocations: 3.984 kB / 1.104 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.4023, allocations: 0.8026 MB / 1.104 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.4025, allocations: 140.7 kB / 1.104 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.4025, allocations: 15.94 kB / 1.104 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.4029, allocations: 43.95 kB / 1.105 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.792e-05/0.403, allocations: 31.91 kB / 1.105 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.403, allocations: 8 kB / 1.105 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001689/0.4032, allocations: 172.5 kB / 1.105 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4032, allocations: 4 kB / 1.105 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007787/0.404, allocations: 160 kB / 1.105 GB, free: 6.383 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002322/0.4042, allocations: 143.6 kB / 1.105 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.4063, allocations: 1.193 MB / 1.106 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4063, allocations: 4 kB / 1.106 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007622/0.4071, allocations: 0.4902 MB / 1.107 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007291/0.4078, allocations: 58.59 kB / 1.107 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.4092, allocations: 0.8942 MB / 1.108 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.4096, allocations: 0.8045 MB / 1.108 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003371/0.41, allocations: 110.9 kB / 1.109 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.091e-05/0.4101, allocations: 27.42 kB / 1.109 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.4101, allocations: 0 / 1.109 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of Templates: time 0.01102/0.4211, allocations: 5.648 MB / 1.114 GB, free: 12.88 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)