Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 108 kB / 15.61 MB, free: 152 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.001348/0.001348, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.56/1.56, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.787/1.787, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001499/0.001499, allocations: 64.7 kB / 0.6715 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2218, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004658/0.2265, allocations: 2.821 MB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003268/0.2298, allocations: 2.039 MB / 0.7881 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.23, allocations: 4 kB / 0.7881 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008271/0.2309, allocations: 231.1 kB / 0.7883 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004543/0.2314, allocations: 199.1 kB / 0.7885 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00067/0.2321, allocations: 271.3 kB / 0.7888 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.2324, allocations: 315 kB / 0.7891 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/0.2328, allocations: 154.3 kB / 0.7892 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.2329, allocations: 127.6 kB / 0.7894 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.2332, allocations: 155.5 kB / 0.7895 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.2333, allocations: 20 kB / 0.7895 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005649/0.2338, allocations: 379.2 kB / 0.7899 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.234, allocations: 99.77 kB / 0.79 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.2341, allocations: 111.4 kB / 0.7901 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005362/0.2346, allocations: 470.6 kB / 0.7905 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2347, allocations: 0 / 0.7905 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2347, allocations: 0 / 0.7905 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2347, allocations: 0 / 0.7905 GB, free: 6.078 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.0008883/0.2356, allocations: 0.5497 MB / 0.7911 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.2356, allocations: 12.03 kB / 0.7911 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007251/0.2363, allocations: 108.5 kB / 0.7912 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.2366, allocations: 248.5 kB / 0.7914 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.2367, allocations: 16.81 kB / 0.7914 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.505e-05/0.2367, allocations: 20.12 kB / 0.7915 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.2373, allocations: 389.9 kB / 0.7918 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.2374, allocations: 7.938 kB / 0.7918 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.2374, allocations: 4 kB / 0.7918 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-05/0.2374, allocations: 27.77 kB / 0.7919 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006293/0.2381, allocations: 363.7 kB / 0.7922 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.24, allocations: 1.738 MB / 0.7939 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006521/0.2406, allocations: 341 kB / 0.7942 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.2409, allocations: 189.6 kB / 0.7944 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.2411, allocations: 85.09 kB / 0.7945 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.2412, allocations: 38.5 kB / 0.7945 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/0.2412, allocations: 0 / 0.7945 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.007428/0.2486, allocations: 1.909 MB / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.2487, allocations: 81.11 kB / 0.7965 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.2489, allocations: 180.3 kB / 0.7967 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.2489, allocations: 37.7 kB / 0.7967 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.249, allocations: 148.3 kB / 0.7968 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.2491, allocations: 118.3 kB / 0.7969 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.2493, allocations: 77.67 kB / 0.797 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2494, allocations: 330.8 kB / 0.7973 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004685/0.2499, allocations: 252.7 kB / 0.7976 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/0.2504, allocations: 341.4 kB / 0.7979 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.2514, allocations: 0.5956 MB / 0.7985 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2515, allocations: 3.938 kB / 0.7985 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001167/0.2526, allocations: 0.6389 MB / 0.7991 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2527, allocations: 4 kB / 0.7991 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2527, allocations: 4 kB / 0.7991 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.2527, allocations: 4 kB / 0.7991 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009007/0.2536, allocations: 151.7 kB / 0.7993 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.2536, allocations: 8 kB / 0.7993 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.254, allocations: 64.05 kB / 0.7993 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.2541, allocations: 15.98 kB / 0.7993 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005519/0.2546, allocations: 352 kB / 0.7997 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004868/0.2551, allocations: 321.3 kB / 0.8 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009566/0.2561, allocations: 0.5666 MB / 0.8005 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.2561, allocations: 4 kB / 0.8005 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001117/0.2572, allocations: 0.6182 MB / 0.8012 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2573, allocations: 4 kB / 0.8012 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2573, allocations: 4 kB / 0.8012 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.2573, allocations: 4 kB / 0.8012 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008139/0.2581, allocations: 144.1 kB / 0.8013 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.2581, allocations: 7.938 kB / 0.8013 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.2585, allocations: 55.86 kB / 0.8014 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.2586, allocations: 16 kB / 0.8014 GB, free: 10.45 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.0001518/0.2587, allocations: 201.4 kB / 0.8016 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/0.2588, allocations: 23.8 kB / 0.8016 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.2601, allocations: 0.6568 MB / 0.8022 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.2602, allocations: 8.031 kB / 0.8022 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.2602, allocations: 3.984 kB / 0.8022 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2602, allocations: 11.94 kB / 0.8023 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/0.2624, allocations: 1.367 MB / 0.8036 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.2624, allocations: 0 / 0.8036 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/0.263, allocations: 115.8 kB / 0.8037 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.263, allocations: 4 kB / 0.8037 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.2631, allocations: 12.25 kB / 0.8037 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.2631, allocations: 7.938 kB / 0.8037 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/0.2631, allocations: 11.94 kB / 0.8037 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.2641, allocations: 0.7068 MB / 0.8044 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.2643, allocations: 140.7 kB / 0.8046 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.2644, allocations: 11.98 kB / 0.8046 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.2647, allocations: 47.83 kB / 0.8046 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.86e-05/0.2648, allocations: 23.97 kB / 0.8046 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.2649, allocations: 12 kB / 0.8047 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001291/0.265, allocations: 152.9 kB / 0.8048 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.265, allocations: 0 / 0.8048 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006893/0.2657, allocations: 143.9 kB / 0.8049 GB, free: 6.637 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.0002343/0.2659, allocations: 135.2 kB / 0.8051 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.2676, allocations: 0.8954 MB / 0.8059 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2676, allocations: 4 kB / 0.8059 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004488/0.2681, allocations: 251.7 kB / 0.8062 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.2686, allocations: 47.25 kB / 0.8062 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.2698, allocations: 0.7111 MB / 0.8069 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.2702, allocations: 0.7799 MB / 0.8077 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000483/0.2707, allocations: 170.8 kB / 0.8078 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.2708, allocations: 35.42 kB / 0.8079 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.2708, allocations: 0 / 0.8079 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of Templates: time 0.009255/0.2801, allocations: 4.811 MB / 0.8126 GB, free: 14.75 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)