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.001344/0.001344, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001645/0.001645, allocations: 190 kB / 16.25 MB, free: 6.629 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.828/1.828, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.895/1.895, allocations: 292.3 MB / 0.5485 GB, free: 13.63 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.001781/0.001782, allocations: 61.47 kB / 0.671 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3001, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005081/0.3052, allocations: 2.796 MB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003563/0.3088, allocations: 2.027 MB / 0.7876 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.309, allocations: 0 / 0.7876 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009033/0.3099, allocations: 219.3 kB / 0.7878 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004715/0.3104, allocations: 191.3 kB / 0.788 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007857/0.3112, allocations: 235.5 kB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.3116, allocations: 319 kB / 0.7885 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004103/0.312, allocations: 174.2 kB / 0.7887 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.3122, allocations: 119.6 kB / 0.7888 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/0.3125, allocations: 159.5 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.3126, allocations: 20 kB / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005895/0.3132, allocations: 387.3 kB / 0.7893 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3133, allocations: 91.77 kB / 0.7894 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.3134, allocations: 123.4 kB / 0.7895 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006698/0.3141, allocations: 486.5 kB / 0.79 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3141, allocations: 0 / 0.79 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.264e-06/0.3141, allocations: 0 / 0.79 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.3141, allocations: 0 / 0.79 GB, free: 6.551 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.001093/0.3152, allocations: 0.5497 MB / 0.7905 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/0.3153, allocations: 8.031 kB / 0.7905 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007759/0.3161, allocations: 104.5 kB / 0.7906 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.3164, allocations: 260.4 kB / 0.7909 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.3165, allocations: 12.81 kB / 0.7909 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.3165, allocations: 32.11 kB / 0.7909 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.3172, allocations: 381.9 kB / 0.7913 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.3173, allocations: 0 / 0.7913 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.3173, allocations: 11.92 kB / 0.7913 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.3173, allocations: 35.75 kB / 0.7913 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006308/0.318, allocations: 355.6 kB / 0.7917 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.3203, allocations: 1.726 MB / 0.7934 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/0.3211, allocations: 350.4 kB / 0.7937 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.3215, allocations: 185.6 kB / 0.7939 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/0.3217, allocations: 89.09 kB / 0.7939 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.041e-05/0.3218, allocations: 34.56 kB / 0.794 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 7.213e-06/0.3218, allocations: 7.984 kB / 0.794 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.007643/0.3295, allocations: 1.913 MB / 0.7959 GB, free: 224 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.3296, allocations: 85.05 kB / 0.7959 GB, free: 120 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.3298, allocations: 180 kB / 0.7961 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.3299, allocations: 33.7 kB / 0.7961 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.33, allocations: 144.3 kB / 0.7963 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.3301, allocations: 118.3 kB / 0.7964 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.3303, allocations: 77.67 kB / 0.7965 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3305, allocations: 334.8 kB / 0.7968 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.331, allocations: 252.7 kB / 0.797 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/0.3315, allocations: 341.5 kB / 0.7974 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.3327, allocations: 0.5878 MB / 0.7979 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3327, allocations: 3.938 kB / 0.7979 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001158/0.3338, allocations: 0.6465 MB / 0.7986 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.3339, allocations: 8 kB / 0.7986 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3339, allocations: 0 / 0.7986 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.3339, allocations: 7.984 kB / 0.7986 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008991/0.3348, allocations: 152.1 kB / 0.7987 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.3348, allocations: 4 kB / 0.7987 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/0.3352, allocations: 47.92 kB / 0.7988 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.3353, allocations: 19.98 kB / 0.7988 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005617/0.3359, allocations: 356 kB / 0.7991 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004986/0.3364, allocations: 321.2 kB / 0.7994 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009287/0.3373, allocations: 0.5706 MB / 0.8 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.3373, allocations: 0 / 0.8 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001089/0.3384, allocations: 0.6145 MB / 0.8006 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3385, allocations: 12 kB / 0.8006 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.3385, allocations: 0 / 0.8006 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.233e-06/0.3385, allocations: 4 kB / 0.8006 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009225/0.3394, allocations: 147.7 kB / 0.8007 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3394, allocations: 4 kB / 0.8008 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.3398, allocations: 51.86 kB / 0.8008 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.3399, allocations: 16 kB / 0.8008 GB, free: 10.93 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.0001985/0.3401, allocations: 213.4 kB / 0.801 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.108e-05/0.3401, allocations: 23.75 kB / 0.801 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.3416, allocations: 0.6684 MB / 0.8017 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3416, allocations: 4 kB / 0.8017 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.3416, allocations: 4 kB / 0.8017 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3416, allocations: 0 / 0.8017 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.3438, allocations: 1.363 MB / 0.803 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3438, allocations: 4.25 kB / 0.803 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005671/0.3444, allocations: 123.8 kB / 0.8032 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.3444, allocations: 4 kB / 0.8032 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.3445, allocations: 8 kB / 0.8032 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.3445, allocations: 11.92 kB / 0.8032 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.3445, allocations: 4 kB / 0.8032 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3455, allocations: 0.7073 MB / 0.8039 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.3457, allocations: 140.7 kB / 0.804 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.3457, allocations: 15.98 kB / 0.804 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.3461, allocations: 39.89 kB / 0.8041 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.3462, allocations: 23.97 kB / 0.8041 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.3462, allocations: 15.98 kB / 0.8041 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001796/0.3464, allocations: 148.9 kB / 0.8042 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3464, allocations: 0 / 0.8042 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007727/0.3472, allocations: 140 kB / 0.8044 GB, free: 7.121 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.0003418/0.3476, allocations: 139.1 kB / 0.8045 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.3494, allocations: 0.8871 MB / 0.8054 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.3494, allocations: 4 kB / 0.8054 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004412/0.3498, allocations: 253.7 kB / 0.8056 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.3504, allocations: 56.28 kB / 0.8057 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.3519, allocations: 0.8054 MB / 0.8065 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/0.3525, allocations: 0.7877 MB / 0.8072 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005436/0.353, allocations: 178.7 kB / 0.8074 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.3532, allocations: 27.44 kB / 0.8074 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.3532, allocations: 0 / 0.8074 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of Templates: time 0.009802/0.363, allocations: 4.729 MB / 0.812 GB, free: 15.2 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)