Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001539/0.001539, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001065/0.001065, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.345/1.345, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.7448 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.34 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3571, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.005013/0.3622, allocations: 3.444 MB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003342/0.3656, allocations: 2.162 MB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.3657, allocations: 4 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009537/0.3667, allocations: 271 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004461/0.3671, allocations: 219.1 kB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.3678, allocations: 263.4 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000404/0.3682, allocations: 394.6 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004161/0.3686, allocations: 229 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.3688, allocations: 155.5 kB / 1.075 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.3691, allocations: 183.3 kB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.3692, allocations: 20 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/0.3697, allocations: 431.1 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.975e-05/0.3698, allocations: 99.77 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.37, allocations: 135.3 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005888/0.3706, allocations: 0.5336 MB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3706, allocations: 0 / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3706, allocations: 0 / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.3706, allocations: 0 / 1.076 GB, free: 2.277 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.0009341/0.3715, allocations: 0.6158 MB / 1.077 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3716, allocations: 8.031 kB / 1.077 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008198/0.3724, allocations: 124.4 kB / 1.077 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.3728, allocations: 271.7 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.3728, allocations: 16.81 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.3728, allocations: 24.36 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006854/0.3735, allocations: 419.8 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3736, allocations: 0 / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.3736, allocations: 8 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.304e-05/0.3736, allocations: 44.47 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006196/0.3743, allocations: 345.9 kB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.3767, allocations: 2.054 MB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007883/0.3775, allocations: 349 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/0.3779, allocations: 189.6 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.378, allocations: 89.09 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.378, allocations: 30.56 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.492e-06/0.378, allocations: 0 / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.005169/0.3832, allocations: 1.577 MB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.3833, allocations: 85.33 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.3836, allocations: 236.9 kB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.3837, allocations: 37.73 kB / 1.082 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.3838, allocations: 183.9 kB / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.111e-05/0.3839, allocations: 114.3 kB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.3841, allocations: 86.03 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3843, allocations: 334.8 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/0.3847, allocations: 198.5 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.3851, allocations: 307.1 kB / 1.083 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000853/0.386, allocations: 0.5085 MB / 1.084 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.386, allocations: 8 kB / 1.084 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001232/0.3872, allocations: 0.6563 MB / 1.085 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3873, allocations: 4 kB / 1.085 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.3873, allocations: 7.984 kB / 1.085 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/0.3878, allocations: 143.5 kB / 1.085 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.3882, allocations: 87.88 kB / 1.085 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/0.3913, allocations: 4.174 MB / 1.089 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.3917, allocations: 43.91 kB / 1.089 GB, free: 4.066 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.3917, allocations: 19.94 kB / 1.089 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004953/0.3922, allocations: 324.9 kB / 1.089 GB, free: 3.723 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004293/0.3927, allocations: 301.1 kB / 1.09 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007826/0.3935, allocations: 0.5114 MB / 1.09 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.3935, allocations: 0 / 1.09 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001186/0.3947, allocations: 0.6448 MB / 1.091 GB, free: 2.168 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.3947, allocations: 8 kB / 1.091 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3947, allocations: 3.984 kB / 1.091 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003966/0.3951, allocations: 151.4 kB / 1.091 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.3955, allocations: 91.88 kB / 1.091 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/0.3983, allocations: 4.174 MB / 1.095 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.3987, allocations: 40.08 kB / 1.095 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.3987, allocations: 16 kB / 1.095 GB, free: 13.35 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.0001741/0.3989, allocations: 209.6 kB / 1.095 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.02e-05/0.399, allocations: 31.62 kB / 1.095 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.4002, allocations: 0.6128 MB / 1.096 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4003, allocations: 4 kB / 1.096 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.4003, allocations: 0 / 1.096 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4003, allocations: 4 kB / 1.096 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.4025, allocations: 1.318 MB / 1.097 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4025, allocations: 12.19 kB / 1.097 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.4028, allocations: 63.89 kB / 1.097 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004005/0.4032, allocations: 155.2 kB / 1.097 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.4032, allocations: 16 kB / 1.097 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002926/0.4062, allocations: 4.182 MB / 1.102 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4062, allocations: 3.938 kB / 1.102 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.4073, allocations: 0.7715 MB / 1.102 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.4075, allocations: 140.7 kB / 1.102 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.4076, allocations: 16.02 kB / 1.102 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.4079, allocations: 27.97 kB / 1.102 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.408, allocations: 31.95 kB / 1.102 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.408, allocations: 15.94 kB / 1.103 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000161/0.4082, allocations: 180.5 kB / 1.103 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4082, allocations: 0 / 1.103 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007332/0.4089, allocations: 160 kB / 1.103 GB, free: 4.859 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.0002183/0.4091, allocations: 143.6 kB / 1.103 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002117/0.4113, allocations: 1.261 MB / 1.104 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4113, allocations: 4 kB / 1.104 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007876/0.4121, allocations: 490 kB / 1.105 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.4127, allocations: 57.83 kB / 1.105 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.4142, allocations: 0.8931 MB / 1.106 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.4147, allocations: 0.8084 MB / 1.106 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000343/0.4151, allocations: 110.9 kB / 1.106 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/0.4152, allocations: 27.44 kB / 1.107 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of SimCode: time 4.41e-07/0.4152, allocations: 0 / 1.107 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of Templates: time 0.01226/0.4274, allocations: 6.263 MB / 1.113 GB, free: 10.7 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)