Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",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 1.844/1.844, allocations: 287.4 MB / 302.6 MB, free: 8.328 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.001018/0.001019, allocations: 190.6 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007177/0.0007177, allocations: 99.41 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003323, allocations: 15.02 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1641, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01096/0.1751, allocations: 14.9 MB / 0.9933 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00556/0.1807, allocations: 5.448 MB / 0.9986 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004579/0.1812, allocations: 35.88 kB / 0.9986 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004729/0.1817, allocations: 293.9 kB / 0.9989 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009312/0.1826, allocations: 0.6303 MB / 0.9995 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.1837, allocations: 0.611 MB / 1 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002498/0.1863, allocations: 4.591 MB / 1.005 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007415/0.1937, allocations: 6.675 MB / 1.011 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.1953, allocations: 1.199 MB / 1.012 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.1969, allocations: 1.761 MB / 1.014 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.1972, allocations: 180 kB / 1.014 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.1982, allocations: 0.5853 MB / 1.015 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0009887/0.1992, allocations: 1.357 MB / 1.016 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003946/0.1996, allocations: 0.5161 MB / 1.017 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003441/0.2031, allocations: 5.077 MB / 1.022 GB, free: 52 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2031, allocations: 0 / 1.022 GB, free: 52 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2031, allocations: 0 / 1.022 GB, free: 52 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.617e-05/0.2031, allocations: 3.938 kB / 1.022 GB, free: 48 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.003328/0.2065, allocations: 2.221 MB / 1.024 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2065, allocations: 16.03 kB / 1.024 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004335/0.207, allocations: 428.9 kB / 1.024 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.2095, allocations: 0.6652 MB / 1.025 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.2116, allocations: 1.423 MB / 1.026 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.2118, allocations: 210 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003885/0.2122, allocations: 268.4 kB / 1.027 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00702/0.2192, allocations: 4.696 MB / 1.031 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.7e-05/0.2193, allocations: 3.938 kB / 1.031 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002638/0.2196, allocations: 116 kB / 1.031 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001515/0.2197, allocations: 144.6 kB / 1.031 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005846/0.2256, allocations: 4.07 MB / 1.035 GB, free: 1.59 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01885/0.2444, allocations: 20.3 MB / 1.055 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00324/0.2477, allocations: 1.901 MB / 1.057 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.2489, allocations: 0.747 MB / 1.058 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.2491, allocations: 109.7 kB / 1.058 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.2491, allocations: 47.22 kB / 1.058 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 6.994e-06/0.2492, allocations: 0 / 1.058 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92): time 0.0193/0.2685, allocations: 5.275 MB / 1.063 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/0.2686, allocations: 137.5 kB / 1.063 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.2697, allocations: 0.9684 MB / 1.064 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/0.2698, allocations: 41.8 kB / 1.064 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006488/0.2704, allocations: 1.183 MB / 1.065 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.2707, allocations: 327.4 kB / 1.066 GB, free: 312 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.752e-05/0.2707, allocations: 36 kB / 1.066 GB, free: 276 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.3381/0.6089, allocations: 406.5 kB / 1.066 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.6106, allocations: 0.8473 MB / 1.067 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.612, allocations: 1.499 MB / 1.068 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002439/0.6145, allocations: 2.428 MB / 1.071 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/0.6145, allocations: 5.719 kB / 1.071 GB, free: 81.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003467/0.618, allocations: 2.479 MB / 1.073 GB, free: 80.35 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002359/0.6182, allocations: 0.7108 MB / 1.074 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/0.6183, allocations: 21.83 kB / 1.074 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.779e-05/0.6183, allocations: 35.47 kB / 1.074 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/0.6206, allocations: 0.5105 MB / 1.075 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.231e-05/0.6207, allocations: 43.12 kB / 1.075 GB, free: 79.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.6217, allocations: 161.9 kB / 1.075 GB, free: 79.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.6219, allocations: 86.09 kB / 1.075 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.6219, allocations: 4.312 kB / 1.075 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003333/0.6252, allocations: 2.377 MB / 1.077 GB, free: 78.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.271e-05/0.6253, allocations: 21.19 kB / 1.077 GB, free: 78.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.718e-05/0.6253, allocations: 35 kB / 1.077 GB, free: 78.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/0.6275, allocations: 0.5124 MB / 1.078 GB, free: 78.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.385e-05/0.6276, allocations: 46 kB / 1.078 GB, free: 78.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008664/0.6284, allocations: 131.1 kB / 1.078 GB, free: 78.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.6286, allocations: 86.3 kB / 1.078 GB, free: 78.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * 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.001763/0.6304, allocations: 1.226 MB / 1.079 GB, free: 77.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.6306, allocations: 96.2 kB / 1.079 GB, free: 77.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002632/0.6332, allocations: 1.828 MB / 1.081 GB, free: 76.87 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.6332, allocations: 9.625 kB / 1.081 GB, free: 76.87 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6333, allocations: 1.375 kB / 1.081 GB, free: 76.87 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.6333, allocations: 13.86 kB / 1.081 GB, free: 76.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009028/0.6423, allocations: 9.197 MB / 1.09 GB, free: 70.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.6424, allocations: 10.78 kB / 1.09 GB, free: 70.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009885/0.6434, allocations: 250 kB / 1.09 GB, free: 70.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.857e-05/0.6434, allocations: 17.88 kB / 1.09 GB, free: 70.03 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-05/0.6435, allocations: 30.64 kB / 1.09 GB, free: 70.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.762e-05/0.6435, allocations: 27.22 kB / 1.09 GB, free: 70.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/0.6435, allocations: 16.91 kB / 1.09 GB, free: 70.01 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.6451, allocations: 1.748 MB / 1.092 GB, free: 68.84 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/0.6455, allocations: 326 kB / 1.092 GB, free: 68.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.6457, allocations: 30.39 kB / 1.092 GB, free: 68.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000677/0.6464, allocations: 74.52 kB / 1.092 GB, free: 68.65 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.6465, allocations: 91.78 kB / 1.093 GB, free: 68.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-05/0.6466, allocations: 33.73 kB / 1.093 GB, free: 68.61 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00088/0.6474, allocations: 0.7236 MB / 1.093 GB, free: 68.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6474, allocations: 0 / 1.093 GB, free: 68.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002567/0.65, allocations: 0.8087 MB / 1.094 GB, free: 68.26 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * 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.001655/0.6517, allocations: 2.346 MB / 1.096 GB, free: 66.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003833/0.6555, allocations: 2.943 MB / 1.099 GB, free: 65.47 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6555, allocations: 1.188 kB / 1.099 GB, free: 65.47 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000695/0.6562, allocations: 0.563 MB / 1.1 GB, free: 65.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/0.6584, allocations: 177.2 kB / 1.1 GB, free: 65.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.6719, allocations: 10.64 MB / 1.11 GB, free: 59.24 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001738/0.6736, allocations: 2.107 MB / 1.112 GB, free: 58.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002408/0.6761, allocations: 1.014 MB / 1.113 GB, free: 58.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/0.6769, allocations: 0.7574 MB / 1.114 GB, free: 57.47 MB / 0.6823 GB Notification: Performance of SimCode: time 8.02e-07/0.6769, allocations: 0 / 1.114 GB, free: 57.47 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2102/0.8871, allocations: 28.78 MB / 1.142 GB, free: 34.42 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/0.8873, allocations: 217.8 kB / 1.142 GB, free: 34.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.965/3.853, allocations: 0 / 1.142 GB, free: 34.18 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)