Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.756/2.756, allocations: 287.5 MB / 302.4 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001317/0.001316, allocations: 174.6 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.4 MB / 0.6297 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009602/0.00096, allocations: 102.8 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005268/0.0005271, allocations: 15.14 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2194, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003853/0.2233, allocations: 2.428 MB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003612/0.227, allocations: 1.931 MB / 0.9827 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.2273, allocations: 7.938 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.2275, allocations: 23.78 kB / 0.9828 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005711/0.228, allocations: 147.3 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007839/0.2288, allocations: 211.5 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.2293, allocations: 367 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006818/0.23, allocations: 339.8 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.2302, allocations: 107.6 kB / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.2305, allocations: 143.5 kB / 0.984 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.2306, allocations: 12 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006088/0.2312, allocations: 255.6 kB / 0.9843 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.2313, allocations: 83.77 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.2314, allocations: 61.58 kB / 0.9844 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004822/0.2319, allocations: 335.2 kB / 0.9847 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2319, allocations: 0 / 0.9847 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2319, allocations: 3.938 kB / 0.9847 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.2319, allocations: 4 kB / 0.9847 GB, free: 21.8 MB / 0.6198 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.0009999/0.2329, allocations: 0.5146 MB / 0.9852 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.233, allocations: 12.03 kB / 0.9852 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.171e-05/0.2331, allocations: 58.5 kB / 0.9853 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.2341, allocations: 103.6 kB / 0.9854 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.2345, allocations: 255.2 kB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.2345, allocations: 12.44 kB / 0.9857 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.625e-05/0.2346, allocations: 19.98 kB / 0.9857 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008369/0.2354, allocations: 385.9 kB / 0.986 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.2355, allocations: 4 kB / 0.986 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.348e-05/0.2355, allocations: 15.98 kB / 0.9861 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.418e-05/0.2356, allocations: 23.94 kB / 0.9861 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.2366, allocations: 367.6 kB / 0.9864 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/0.2391, allocations: 1.745 MB / 0.9881 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009697/0.2401, allocations: 344.9 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004736/0.2406, allocations: 189.6 kB / 0.9886 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.2407, allocations: 89.09 kB / 0.9887 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2408, allocations: 38.56 kB / 0.9888 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 2.945e-06/0.2408, allocations: 0 / 0.9888 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.01325/0.2541, allocations: 2.062 MB / 0.9908 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.2541, allocations: 85.05 kB / 0.9909 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.2544, allocations: 183.5 kB / 0.991 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.2544, allocations: 41.64 kB / 0.9911 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/0.2545, allocations: 140.4 kB / 0.9912 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.2547, allocations: 122.3 kB / 0.9913 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.2547, allocations: 12 kB / 0.9913 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.714e-05/0.2548, allocations: 330.8 kB / 0.9917 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007551/0.2556, allocations: 255.8 kB / 0.9919 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008262/0.2564, allocations: 337.5 kB / 0.9922 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008342/0.2573, allocations: 301.2 kB / 0.9925 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2573, allocations: 0 / 0.9925 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001852/0.2591, allocations: 0.6576 MB / 0.9931 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.207e-05/0.2592, allocations: 149 kB / 0.9933 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.2593, allocations: 0 / 0.9933 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/0.2593, allocations: 11.95 kB / 0.9933 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.261, allocations: 159.7 kB / 0.9935 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.261, allocations: 4 kB / 0.9935 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007193/0.2617, allocations: 55.92 kB / 0.9935 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.167e-05/0.2618, allocations: 20 kB / 0.9935 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.2618, allocations: 4 kB / 0.9935 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001724/0.2636, allocations: 0.5934 MB / 0.9941 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.2636, allocations: 4 kB / 0.9941 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2636, allocations: 4 kB / 0.9941 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.2652, allocations: 152 kB / 0.9943 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.2652, allocations: 4 kB / 0.9943 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000666/0.2659, allocations: 51.92 kB / 0.9943 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.266, allocations: 16 kB / 0.9943 GB, free: 11.5 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002957/0.2663, allocations: 248.9 kB / 0.9946 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.2664, allocations: 27.72 kB / 0.9946 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/0.2694, allocations: 0.6764 MB / 0.9953 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.2694, allocations: 4 kB / 0.9953 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.2695, allocations: 0 / 0.9953 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.2695, allocations: 0 / 0.9953 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005784/0.2753, allocations: 1.391 MB / 0.9966 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.2754, allocations: 256 / 0.9966 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/0.2772, allocations: 131.8 kB / 0.9967 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/0.2773, allocations: 4 kB / 0.9968 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/0.2773, allocations: 11.94 kB / 0.9968 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/0.2774, allocations: 4 kB / 0.9968 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.2774, allocations: 7.953 kB / 0.9968 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.28, allocations: 0.7421 MB / 0.9975 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.2804, allocations: 148.8 kB / 0.9976 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.2806, allocations: 8 kB / 0.9976 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009032/0.2815, allocations: 47.94 kB / 0.9977 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.2817, allocations: 31.86 kB / 0.9977 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-05/0.2818, allocations: 12 kB / 0.9977 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002578/0.2821, allocations: 147 kB / 0.9979 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.12e-07/0.2821, allocations: 8 kB / 0.9979 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001546/0.2837, allocations: 144 kB / 0.998 GB, free: 7.555 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003025/0.2867, allocations: 1.302 MB / 0.9993 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003993/0.2908, allocations: 0.8645 MB / 1 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.2909, allocations: 0 / 1 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.2921, allocations: 268.4 kB / 1 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.2933, allocations: 47.91 kB / 1 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006416/0.2998, allocations: 2.243 MB / 1.003 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.3001, allocations: 0.7799 MB / 1.003 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00095/0.3011, allocations: 170.8 kB / 1.004 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/0.3014, allocations: 87.39 kB / 1.004 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.3014, allocations: 3.938 kB / 1.004 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03868/0.3401, allocations: 6.794 MB / 1.01 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003932/0.3406, allocations: 213.3 kB / 1.01 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/3.224, allocations: 6.188 kB / 1.01 GB, free: 10.8 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)