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.001462/0.001462, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002236/0.002236, allocations: 193 kB / 16.13 MB, free: 6.656 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 60.94 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3338, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.005881/0.3398, allocations: 3.444 MB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003363/0.3431, allocations: 2.193 MB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.3433, allocations: 11.94 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009234/0.3443, allocations: 271.1 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.3447, allocations: 223.1 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006311/0.3454, allocations: 258.8 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005074/0.3459, allocations: 0.5297 MB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.3463, allocations: 169 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.3465, allocations: 127.5 kB / 1.075 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.3468, allocations: 195.2 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.3468, allocations: 16 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007591/0.3476, allocations: 0.499 MB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.3477, allocations: 99.7 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.3479, allocations: 127.3 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006101/0.3485, allocations: 0.5258 MB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3485, allocations: 0 / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.11e-07/0.3485, allocations: 4 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3485, allocations: 0 / 1.076 GB, free: 2.254 MB / 0.8262 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.0009447/0.3495, allocations: 0.6019 MB / 1.077 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3495, allocations: 12.03 kB / 1.077 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008541/0.3504, allocations: 120.4 kB / 1.077 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.3507, allocations: 271.7 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.3507, allocations: 20.81 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.3508, allocations: 20.36 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006788/0.3515, allocations: 427.8 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3515, allocations: 0 / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.3515, allocations: 15.92 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.031e-05/0.3516, allocations: 32.55 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006072/0.3522, allocations: 345.9 kB / 1.078 GB, free: 304 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.3547, allocations: 2.046 MB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008254/0.3555, allocations: 353.6 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003878/0.3559, allocations: 189.6 kB / 1.08 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.3561, allocations: 93.09 kB / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3561, allocations: 34.56 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.783e-06/0.3561, allocations: 0 / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.004877/0.361, allocations: 1.577 MB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.361, allocations: 89.33 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.3613, allocations: 233 kB / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.3613, allocations: 29.7 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.3614, allocations: 188 kB / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/0.3615, allocations: 114.3 kB / 1.083 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.3616, allocations: 94.03 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.3618, allocations: 330.8 kB / 1.083 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/0.3622, allocations: 202.4 kB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.3626, allocations: 305.1 kB / 1.083 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008376/0.3635, allocations: 0.504 MB / 1.084 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3635, allocations: 0 / 1.084 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001237/0.3647, allocations: 0.6606 MB / 1.085 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3647, allocations: 4.406 kB / 1.085 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3648, allocations: 15.94 kB / 1.085 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005097/0.3653, allocations: 143.3 kB / 1.085 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.3657, allocations: 91.88 kB / 1.085 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/0.3686, allocations: 3.942 MB / 1.089 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.3689, allocations: 39.83 kB / 1.089 GB, free: 4.297 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.3689, allocations: 20 kB / 1.089 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005052/0.3695, allocations: 312.9 kB / 1.089 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004391/0.3699, allocations: 301.2 kB / 1.089 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008214/0.3707, allocations: 0.5076 MB / 1.09 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.344e-06/0.3708, allocations: 7.984 kB / 1.09 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001278/0.372, allocations: 0.6601 MB / 1.09 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.3721, allocations: 4 kB / 1.09 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3721, allocations: 4 kB / 1.09 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004091/0.3725, allocations: 143.5 kB / 1.091 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.3729, allocations: 95.81 kB / 1.091 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003148/0.3761, allocations: 3.946 MB / 1.095 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.3764, allocations: 31.95 kB / 1.095 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.3764, allocations: 20.09 kB / 1.095 GB, free: 13.82 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.0001775/0.3766, allocations: 216 kB / 1.095 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-05/0.3767, allocations: 31.7 kB / 1.095 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.378, allocations: 0.6087 MB / 1.095 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.378, allocations: 4 kB / 1.095 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.378, allocations: 0 / 1.095 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.378, allocations: 3.984 kB / 1.095 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/0.3803, allocations: 1.318 MB / 1.097 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3803, allocations: 0 / 1.097 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.3806, allocations: 64.14 kB / 1.097 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004595/0.3811, allocations: 159.2 kB / 1.097 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.3811, allocations: 8 kB / 1.097 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.3841, allocations: 3.957 MB / 1.101 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3841, allocations: 4.062 kB / 1.101 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.3853, allocations: 0.7713 MB / 1.102 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.3854, allocations: 148.9 kB / 1.102 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.3855, allocations: 8 kB / 1.102 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.3858, allocations: 31.95 kB / 1.102 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3859, allocations: 31.84 kB / 1.102 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.3859, allocations: 16 kB / 1.102 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001692/0.3861, allocations: 168.5 kB / 1.102 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3861, allocations: 4 kB / 1.102 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007865/0.3869, allocations: 168 kB / 1.102 GB, free: 5.582 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.0003277/0.3873, allocations: 141.2 kB / 1.102 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002329/0.3896, allocations: 1.235 MB / 1.103 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3896, allocations: 0 / 1.103 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007638/0.3904, allocations: 490 kB / 1.104 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.391, allocations: 60.33 kB / 1.104 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.3924, allocations: 0.863 MB / 1.105 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.3928, allocations: 0.8123 MB / 1.106 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003491/0.3931, allocations: 114.9 kB / 1.106 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.3932, allocations: 31.36 kB / 1.106 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3932, allocations: 0 / 1.106 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of Templates: time 0.01153/0.4048, allocations: 6.018 MB / 1.112 GB, free: 11.71 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)