Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.335/2.335, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001506, allocations: 187.5 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.796/1.796, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 112.7 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 52.11 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3424, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004095/0.3465, allocations: 2.794 MB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002641/0.3492, allocations: 2.023 MB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.3494, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007412/0.3502, allocations: 227.2 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0005376/0.3508, allocations: 179.3 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007171/0.3515, allocations: 247.5 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.352, allocations: 454.8 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000508/0.3525, allocations: 150 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.3527, allocations: 103.6 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003828/0.3531, allocations: 167.4 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.3532, allocations: 12 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006976/0.3539, allocations: 451.2 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.354, allocations: 95.7 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.3541, allocations: 107.5 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006551/0.3548, allocations: 476.7 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3548, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3548, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3548, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008912/0.3557, allocations: 0.5576 MB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3558, allocations: 15.92 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007013/0.3565, allocations: 112.5 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.3568, allocations: 249.6 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.3568, allocations: 20.8 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.3568, allocations: 20.12 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.3574, allocations: 385.9 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3574, allocations: 3.938 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.3574, allocations: 8 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.3575, allocations: 23.98 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005497/0.358, allocations: 359.7 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.3597, allocations: 1.737 MB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005529/0.3603, allocations: 340.9 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.3605, allocations: 185.6 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.3607, allocations: 101.1 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.3607, allocations: 38.5 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=25): time 2.284e-06/0.3607, allocations: 0 / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=35): time 0.00688/0.3676, allocations: 1.911 MB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.3677, allocations: 81.11 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3678, allocations: 183.9 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.3679, allocations: 33.7 kB / 1.232 GB, free: 103.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.368, allocations: 152.3 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.03e-05/0.3681, allocations: 114.3 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.3682, allocations: 81.58 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.3683, allocations: 326.8 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/0.3687, allocations: 256.7 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.3692, allocations: 333.4 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008743/0.3701, allocations: 0.6034 MB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.3701, allocations: 3.938 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00104/0.3711, allocations: 0.6273 MB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3712, allocations: 4 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.3712, allocations: 7.984 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.3712, allocations: 4 kB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008203/0.372, allocations: 147.7 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.372, allocations: 4 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.3724, allocations: 55.92 kB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.3725, allocations: 15.98 kB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000467/0.373, allocations: 363.9 kB / 1.235 GB, free: 99.94 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004132/0.3734, allocations: 317.9 kB / 1.235 GB, free: 99.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000778/0.3742, allocations: 0.5785 MB / 1.235 GB, free: 98.99 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/0.3742, allocations: 3.984 kB / 1.235 GB, free: 98.98 MB / 0.823 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0009901/0.3752, allocations: 0.6141 MB / 1.236 GB, free: 98.36 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3752, allocations: 4 kB / 1.236 GB, free: 98.36 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3752, allocations: 4 kB / 1.236 GB, free: 98.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.605e-06/0.3752, allocations: 4 kB / 1.236 GB, free: 98.35 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007393/0.376, allocations: 140 kB / 1.236 GB, free: 98.21 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.376, allocations: 15.94 kB / 1.236 GB, free: 98.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.3764, allocations: 51.92 kB / 1.236 GB, free: 98.15 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.3764, allocations: 16 kB / 1.236 GB, free: 98.13 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.3766, allocations: 200.8 kB / 1.236 GB, free: 97.93 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/0.3766, allocations: 19.81 kB / 1.236 GB, free: 97.91 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.3778, allocations: 0.6687 MB / 1.237 GB, free: 97.23 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.3778, allocations: 8 kB / 1.237 GB, free: 97.23 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3778, allocations: 0 / 1.237 GB, free: 97.23 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3779, allocations: 0 / 1.237 GB, free: 97.23 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.3798, allocations: 1.38 MB / 1.238 GB, free: 95.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3798, allocations: 0 / 1.238 GB, free: 95.75 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/0.3804, allocations: 115.8 kB / 1.239 GB, free: 95.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.3804, allocations: 4 kB / 1.239 GB, free: 95.63 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.3804, allocations: 8 kB / 1.239 GB, free: 95.62 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.3804, allocations: 12.17 kB / 1.239 GB, free: 95.61 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.3804, allocations: 11.94 kB / 1.239 GB, free: 95.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.3818, allocations: 1.579 MB / 1.24 GB, free: 93.94 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.382, allocations: 132.9 kB / 1.24 GB, free: 93.79 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.382, allocations: 19.91 kB / 1.24 GB, free: 93.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.3824, allocations: 35.95 kB / 1.24 GB, free: 93.74 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.543e-05/0.3825, allocations: 35.89 kB / 1.24 GB, free: 93.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.3825, allocations: 11.94 kB / 1.24 GB, free: 93.69 MB / 0.823 GB Notification: Performance of sorting global known variables: time 9.75e-05/0.3826, allocations: 154.9 kB / 1.24 GB, free: 93.54 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3826, allocations: 0 / 1.24 GB, free: 93.54 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007992/0.3834, allocations: 140 kB / 1.241 GB, free: 93.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001848/0.3836, allocations: 135.2 kB / 1.241 GB, free: 93.26 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.385, allocations: 0.8438 MB / 1.242 GB, free: 92.42 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.385, allocations: 0 / 1.242 GB, free: 92.42 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.3854, allocations: 255.7 kB / 1.242 GB, free: 92.17 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007706/0.3861, allocations: 48.7 kB / 1.242 GB, free: 92.12 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.3874, allocations: 1.054 MB / 1.243 GB, free: 91.01 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.3877, allocations: 0.7955 MB / 1.244 GB, free: 90.18 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005116/0.3882, allocations: 174.8 kB / 1.244 GB, free: 90.01 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.3883, allocations: 27.44 kB / 1.244 GB, free: 89.98 MB / 0.823 GB Notification: Performance of SimCode: time 5.01e-07/0.3884, allocations: 0 / 1.244 GB, free: 89.98 MB / 0.823 GB Notification: Performance of Templates: time 0.007749/0.3961, allocations: 4.719 MB / 1.248 GB, free: 85.28 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)