Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.00126, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 193.3 kB / 16.53 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.013/2.013, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 69.52 kB / 0.6715 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3329, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.006464/0.3394, allocations: 3.335 MB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003905/0.3434, allocations: 2.195 MB / 0.7888 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.3437, allocations: 7.938 kB / 0.7888 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.3448, allocations: 282.9 kB / 0.7891 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000696/0.3455, allocations: 242.9 kB / 0.7893 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009647/0.3465, allocations: 291.1 kB / 0.7896 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005995/0.3471, allocations: 390.7 kB / 0.7899 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005292/0.3476, allocations: 213 kB / 0.7901 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004613/0.3481, allocations: 151.5 kB / 0.7903 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000514/0.3486, allocations: 175.3 kB / 0.7904 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.3487, allocations: 24 kB / 0.7905 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009203/0.3496, allocations: 423.2 kB / 0.7909 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.3498, allocations: 99.7 kB / 0.791 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.35, allocations: 131.3 kB / 0.7911 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009389/0.3509, allocations: 0.5063 MB / 0.7916 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.351, allocations: 0 / 0.7916 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.368e-06/0.351, allocations: 0 / 0.7916 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.351, allocations: 4 kB / 0.7916 GB, free: 5.031 MB / 0.6075 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.001132/0.3521, allocations: 0.6081 MB / 0.7922 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3522, allocations: 11.97 kB / 0.7922 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009827/0.3532, allocations: 120.4 kB / 0.7923 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.3536, allocations: 271.7 kB / 0.7926 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.3536, allocations: 20.75 kB / 0.7926 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.3537, allocations: 28.36 kB / 0.7926 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000754/0.3544, allocations: 415.8 kB / 0.793 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.3545, allocations: 0 / 0.793 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.3545, allocations: 16 kB / 0.793 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.047e-05/0.3546, allocations: 32.53 kB / 0.7931 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006757/0.3553, allocations: 341.9 kB / 0.7934 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.3581, allocations: 2.05 MB / 0.7954 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007782/0.3589, allocations: 351.5 kB / 0.7957 GB, free: 484 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/0.3593, allocations: 197.5 kB / 0.7959 GB, free: 280 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.3594, allocations: 89.09 kB / 0.796 GB, free: 172 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3594, allocations: 34.56 kB / 0.796 GB, free: 128 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.3594, allocations: 0 / 0.796 GB, free: 128 kB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.005133/0.3646, allocations: 1.582 MB / 0.7976 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.3647, allocations: 85.05 kB / 0.7977 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.365, allocations: 240.9 kB / 0.7979 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.3651, allocations: 33.7 kB / 0.7979 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.3652, allocations: 184 kB / 0.7981 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.991e-05/0.3653, allocations: 114.3 kB / 0.7982 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.3654, allocations: 78.03 kB / 0.7983 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3656, allocations: 338.8 kB / 0.7986 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.366, allocations: 198.5 kB / 0.7988 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.3665, allocations: 305 kB / 0.7991 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008737/0.3674, allocations: 0.513 MB / 0.7996 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3674, allocations: 0 / 0.7996 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001341/0.3687, allocations: 0.6525 MB / 0.8002 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.3687, allocations: 4 kB / 0.8002 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3688, allocations: 4 kB / 0.8002 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/0.3694, allocations: 155.4 kB / 0.8004 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.3698, allocations: 91.88 kB / 0.8005 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/0.3729, allocations: 4.17 MB / 0.8045 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/0.3733, allocations: 35.86 kB / 0.8046 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.3734, allocations: 24.09 kB / 0.8046 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005332/0.3739, allocations: 319.7 kB / 0.8049 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004375/0.3744, allocations: 301.1 kB / 0.8052 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008333/0.3752, allocations: 0.5153 MB / 0.8057 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.947e-06/0.3752, allocations: 7.938 kB / 0.8057 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001322/0.3766, allocations: 0.6369 MB / 0.8063 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3766, allocations: 4.938 kB / 0.8063 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.3766, allocations: 11.92 kB / 0.8063 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004531/0.3771, allocations: 143.6 kB / 0.8065 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.3774, allocations: 95.81 kB / 0.8066 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/0.3804, allocations: 4.17 MB / 0.8106 GB, free: 176 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.3807, allocations: 47.95 kB / 0.8107 GB, free: 128 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.3808, allocations: 12 kB / 0.8107 GB, free: 116 kB / 0.6231 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.0002531/0.381, allocations: 208.1 kB / 0.8109 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.3811, allocations: 31.61 kB / 0.8109 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.3824, allocations: 0.6089 MB / 0.8115 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3824, allocations: 4 kB / 0.8115 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3824, allocations: 8 kB / 0.8115 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.3824, allocations: 3.984 kB / 0.8115 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.3847, allocations: 1.315 MB / 0.8128 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3848, allocations: 0 / 0.8128 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.385, allocations: 55.91 kB / 0.8129 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003938/0.3854, allocations: 159.3 kB / 0.813 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.3855, allocations: 8 kB / 0.813 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003507/0.389, allocations: 4.19 MB / 0.8171 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/0.389, allocations: 7.938 kB / 0.8171 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.3907, allocations: 0.7768 MB / 0.8179 GB, free: 8.211 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003291/0.3911, allocations: 140.7 kB / 0.818 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.3911, allocations: 8 kB / 0.818 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.3915, allocations: 31.97 kB / 0.8181 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.3916, allocations: 32 kB / 0.8181 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.3917, allocations: 19.92 kB / 0.8181 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001945/0.3919, allocations: 172.5 kB / 0.8183 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3919, allocations: 0 / 0.8183 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000968/0.3929, allocations: 164 kB / 0.8184 GB, free: 7.641 MB / 0.6387 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.0002837/0.3931, allocations: 135.1 kB / 0.8186 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002447/0.3956, allocations: 1.269 MB / 0.8198 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.3956, allocations: 0 / 0.8198 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009359/0.3966, allocations: 494.9 kB / 0.8203 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006596/0.3972, allocations: 68.27 kB / 0.8203 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.3986, allocations: 0.7515 MB / 0.8211 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/0.3992, allocations: 0.8084 MB / 0.8219 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003364/0.3995, allocations: 110.9 kB / 0.822 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/0.3996, allocations: 27.44 kB / 0.822 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of SimCode: time 2.054e-06/0.3996, allocations: 0 / 0.822 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of Templates: time 0.01381/0.4134, allocations: 6.296 MB / 0.8281 GB, free: 13.58 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)