Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 292.3 MB / 308.1 MB, free: 4.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001306/0.001306, allocations: 196.1 kB / 376.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205 MB / 0.6353 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0013/0.0013, allocations: 98.52 kB / 0.748 GB, free: 61.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3275, allocations: 114.6 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.006392/0.3339, allocations: 3.431 MB / 0.9856 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004792/0.3388, allocations: 2.226 MB / 0.9878 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003845/0.3392, allocations: 7.938 kB / 0.9878 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.3404, allocations: 263.1 kB / 0.988 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007932/0.3412, allocations: 235 kB / 0.9882 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009452/0.3421, allocations: 251.4 kB / 0.9885 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008062/0.343, allocations: 0.5336 MB / 0.989 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004699/0.3434, allocations: 164.8 kB / 0.9892 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003548/0.3438, allocations: 139.4 kB / 0.9893 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004557/0.3443, allocations: 179.4 kB / 0.9895 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.033e-05/0.3443, allocations: 12 kB / 0.9895 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009173/0.3453, allocations: 0.4951 MB / 0.99 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.3454, allocations: 99.7 kB / 0.9901 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.3456, allocations: 131.3 kB / 0.9902 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.3466, allocations: 0.518 MB / 0.9907 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3467, allocations: 0 / 0.9907 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3467, allocations: 7.938 kB / 0.9907 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.3467, allocations: 0 / 0.9907 GB, free: 1.641 MB / 0.7136 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.001341/0.348, allocations: 0.6081 MB / 0.9913 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.3481, allocations: 8.031 kB / 0.9913 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009275/0.349, allocations: 124.4 kB / 0.9914 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.3495, allocations: 275.7 kB / 0.9917 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.3495, allocations: 20.81 kB / 0.9917 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.3496, allocations: 20.38 kB / 0.9917 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.3503, allocations: 419.8 kB / 0.9921 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3504, allocations: 4 kB / 0.9921 GB, free: 64 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.3504, allocations: 8 kB / 0.9921 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.598e-05/0.3505, allocations: 32.53 kB / 0.9922 GB, free: 24 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006816/0.3512, allocations: 349.9 kB / 0.9925 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/0.354, allocations: 2.054 MB / 0.9945 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008232/0.3548, allocations: 354.7 kB / 0.9948 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/0.3552, allocations: 189.6 kB / 0.995 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.3553, allocations: 85.09 kB / 0.9951 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.3554, allocations: 42.5 kB / 0.9951 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.853e-06/0.3554, allocations: 0 / 0.9951 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.005006/0.3604, allocations: 1.576 MB / 0.9967 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.3605, allocations: 93.08 kB / 0.9968 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.3607, allocations: 232.9 kB / 0.997 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.3608, allocations: 33.7 kB / 0.997 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.3609, allocations: 176.1 kB / 0.9972 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.361, allocations: 122.3 kB / 0.9973 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.3612, allocations: 82.03 kB / 0.9974 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3613, allocations: 334.8 kB / 0.9977 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.3617, allocations: 198.5 kB / 0.9979 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.3622, allocations: 309 kB / 0.9982 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008975/0.3631, allocations: 0.5113 MB / 0.9987 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3631, allocations: 3.938 kB / 0.9987 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001309/0.3645, allocations: 0.6562 MB / 0.9993 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3645, allocations: 8 kB / 0.9993 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3645, allocations: 4 kB / 0.9993 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005414/0.3651, allocations: 147.4 kB / 0.9995 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.3655, allocations: 91.88 kB / 0.9996 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003804/0.3693, allocations: 3.949 MB / 1.003 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.3697, allocations: 36.16 kB / 1.003 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.3697, allocations: 16 kB / 1.003 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006706/0.3704, allocations: 320.8 kB / 1.004 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005598/0.371, allocations: 301.1 kB / 1.004 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009487/0.3719, allocations: 0.5037 MB / 1.005 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/0.372, allocations: 0 / 1.005 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001517/0.3735, allocations: 0.6521 MB / 1.005 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3735, allocations: 8 kB / 1.005 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3735, allocations: 416 / 1.005 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005366/0.3741, allocations: 155.3 kB / 1.005 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.3746, allocations: 91.88 kB / 1.005 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/0.3781, allocations: 3.946 MB / 1.009 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.3785, allocations: 31.95 kB / 1.009 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.3786, allocations: 20 kB / 1.009 GB, free: 13.21 MB / 0.7448 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.0002416/0.3788, allocations: 208.2 kB / 1.01 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3789, allocations: 35.61 kB / 1.01 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.3803, allocations: 0.6013 MB / 1.01 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/0.3803, allocations: 7.984 kB / 1.01 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.3804, allocations: 0 / 1.01 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3804, allocations: 4 kB / 1.01 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.3829, allocations: 1.318 MB / 1.011 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3829, allocations: 0 / 1.011 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.3831, allocations: 63.89 kB / 1.012 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004659/0.3836, allocations: 151.6 kB / 1.012 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.3837, allocations: 11.98 kB / 1.012 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003274/0.3869, allocations: 3.973 MB / 1.016 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.387, allocations: 0 / 1.016 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.389, allocations: 1.576 MB / 1.017 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.3892, allocations: 136.7 kB / 1.017 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.3892, allocations: 16 kB / 1.017 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.3895, allocations: 31.91 kB / 1.017 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.3896, allocations: 35.89 kB / 1.017 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.3897, allocations: 12 kB / 1.017 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001824/0.3899, allocations: 172.4 kB / 1.017 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.874e-06/0.3899, allocations: 0 / 1.017 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001012/0.3909, allocations: 175.9 kB / 1.018 GB, free: 4.129 MB / 0.7448 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.0002658/0.3912, allocations: 135.1 kB / 1.018 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002304/0.3935, allocations: 1.237 MB / 1.019 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.3935, allocations: 4 kB / 1.019 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007592/0.3943, allocations: 482.1 kB / 1.019 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005986/0.3949, allocations: 60.39 kB / 1.02 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.3966, allocations: 1.126 MB / 1.021 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.3971, allocations: 0.824 MB / 1.021 GB, free: 96 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.4906/0.8878, allocations: 112.6 kB / 1.022 GB, free: 96.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.888, allocations: 25.55 kB / 1.022 GB, free: 96.8 MB / 0.7448 GB Notification: Performance of SimCode: time 1.964e-06/0.888, allocations: 0 / 1.022 GB, free: 96.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.01268/0.9007, allocations: 6.203 MB / 1.028 GB, free: 96.72 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)