Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002032/0.002032, 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.002701/0.002701, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.691/1.691, allocations: 205.1 MB / 222 MB, free: 4.754 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 1.893/1.893, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001367/0.001367, allocations: 72.11 kB / 0.6708 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2804, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.00468/0.2852, allocations: 2.793 MB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003411/0.2886, allocations: 2.059 MB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.2888, allocations: 4 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009269/0.2897, allocations: 215.2 kB / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005436/0.2903, allocations: 191.3 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.2911, allocations: 235.5 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004903/0.2916, allocations: 454.8 kB / 0.7885 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004129/0.292, allocations: 150.3 kB / 0.7886 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.2922, allocations: 107.6 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.2925, allocations: 159.5 kB / 0.7889 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.2925, allocations: 12 kB / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007148/0.2933, allocations: 443.2 kB / 0.7893 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.2934, allocations: 87.78 kB / 0.7894 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.2935, allocations: 115.3 kB / 0.7895 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006321/0.2942, allocations: 478.6 kB / 0.79 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2942, allocations: 0 / 0.79 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2942, allocations: 0 / 0.79 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.2942, allocations: 4 kB / 0.79 GB, free: 6.523 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001012/0.2952, allocations: 0.5459 MB / 0.7905 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.2953, allocations: 12.03 kB / 0.7905 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007608/0.296, allocations: 116.5 kB / 0.7906 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.2964, allocations: 252.4 kB / 0.7909 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2964, allocations: 12.81 kB / 0.7909 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.2964, allocations: 28.11 kB / 0.7909 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.2971, allocations: 385.9 kB / 0.7913 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.2971, allocations: 0 / 0.7913 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.2972, allocations: 8 kB / 0.7913 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/0.2972, allocations: 27.75 kB / 0.7913 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006457/0.2979, allocations: 363.6 kB / 0.7916 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.2999, allocations: 1.722 MB / 0.7933 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.3006, allocations: 348.9 kB / 0.7937 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.3009, allocations: 177.6 kB / 0.7938 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.3011, allocations: 89.09 kB / 0.7939 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.3011, allocations: 42.56 kB / 0.7939 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/0.3011, allocations: 0 / 0.7939 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.007376/0.3085, allocations: 1.915 MB / 0.7958 GB, free: 204 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.3087, allocations: 81.11 kB / 0.7959 GB, free: 104 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.3089, allocations: 180 kB / 0.7961 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.3089, allocations: 29.7 kB / 0.7961 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.309, allocations: 152.3 kB / 0.7962 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.3092, allocations: 122.3 kB / 0.7964 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.3093, allocations: 73.69 kB / 0.7964 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3095, allocations: 334.8 kB / 0.7967 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/0.3101, allocations: 260.6 kB / 0.797 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/0.3106, allocations: 329.5 kB / 0.7973 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.3117, allocations: 0.6001 MB / 0.7979 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.3117, allocations: 7.938 kB / 0.7979 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00121/0.3129, allocations: 0.6421 MB / 0.7985 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3129, allocations: 4 kB / 0.7985 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.3129, allocations: 4 kB / 0.7985 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.313, allocations: 4.281 kB / 0.7985 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000951/0.3139, allocations: 151.8 kB / 0.7987 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.314, allocations: 4 kB / 0.7987 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.3144, allocations: 51.86 kB / 0.7987 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.3144, allocations: 16 kB / 0.7988 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005606/0.315, allocations: 364 kB / 0.7991 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004729/0.3155, allocations: 313.3 kB / 0.7994 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009249/0.3164, allocations: 0.5705 MB / 0.8 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.3164, allocations: 0 / 0.8 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001114/0.3176, allocations: 0.6183 MB / 0.8006 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3176, allocations: 7.938 kB / 0.8006 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3176, allocations: 4 kB / 0.8006 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-06/0.3176, allocations: 7.984 kB / 0.8006 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000852/0.3185, allocations: 139.8 kB / 0.8007 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3185, allocations: 4 kB / 0.8007 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.3189, allocations: 51.88 kB / 0.8008 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.3189, allocations: 20.11 kB / 0.8008 GB, free: 10.91 MB / 0.6231 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.0002335/0.3192, allocations: 209.4 kB / 0.801 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.592e-05/0.3193, allocations: 19.75 kB / 0.801 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.3207, allocations: 0.6646 MB / 0.8017 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3207, allocations: 4 kB / 0.8017 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3207, allocations: 0 / 0.8017 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3207, allocations: 3.984 kB / 0.8017 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.323, allocations: 1.363 MB / 0.803 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.323, allocations: 4.031 kB / 0.803 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/0.3236, allocations: 123.8 kB / 0.8031 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.3236, allocations: 8.031 kB / 0.8031 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.3236, allocations: 8 kB / 0.8031 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.3236, allocations: 11.88 kB / 0.8031 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3237, allocations: 0 / 0.8031 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3247, allocations: 0.7151 MB / 0.8038 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.3249, allocations: 140.7 kB / 0.804 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.369e-05/0.3249, allocations: 16 kB / 0.804 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.3253, allocations: 39.88 kB / 0.804 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.803e-05/0.3254, allocations: 31.91 kB / 0.8041 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.3254, allocations: 16 kB / 0.8041 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001469/0.3256, allocations: 144.3 kB / 0.8042 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3256, allocations: 0 / 0.8042 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008395/0.3264, allocations: 144 kB / 0.8043 GB, free: 7.09 MB / 0.6231 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.0003125/0.3267, allocations: 139.2 kB / 0.8045 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.3284, allocations: 0.8405 MB / 0.8053 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3285, allocations: 0 / 0.8053 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004592/0.3289, allocations: 261.5 kB / 0.8056 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.3295, allocations: 50.09 kB / 0.8056 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.331, allocations: 0.8063 MB / 0.8064 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.3314, allocations: 0.7877 MB / 0.8072 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005396/0.3319, allocations: 166.8 kB / 0.8073 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.3321, allocations: 27.44 kB / 0.8073 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of SimCode: time 8.92e-07/0.3321, allocations: 0 / 0.8073 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of Templates: time 0.008187/0.3403, allocations: 4.564 MB / 0.8118 GB, free: 15.39 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)