Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.532/1.532, allocations: 288.4 MB / 303.6 MB, free: 8.137 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.0008778/0.0008779, allocations: 182 kB / 372.3 MB, free: 10.13 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.173/1.173, allocations: 205.4 MB / 0.631 GB, free: 9.777 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.0006687/0.0006687, allocations: 94.28 kB / 0.7444 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 12.16 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1508, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01055/0.1614, allocations: 14.26 MB / 0.9941 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005765/0.1672, allocations: 5.459 MB / 0.9995 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007593/0.168, allocations: 39.88 kB / 0.9995 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.1686, allocations: 273.9 kB / 0.9998 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.17, allocations: 0.8445 MB / 1.001 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.1712, allocations: 0.6256 MB / 1.001 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002368/0.1736, allocations: 4.61 MB / 1.006 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006703/0.1803, allocations: 6.18 MB / 1.012 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.1816, allocations: 1.226 MB / 1.013 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001762/0.1834, allocations: 1.772 MB / 1.015 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000245/0.1836, allocations: 180 kB / 1.015 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.185, allocations: 1.01 MB / 1.016 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.186, allocations: 1.345 MB / 1.017 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.1871, allocations: 1.246 MB / 1.018 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.1905, allocations: 5.003 MB / 1.023 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1905, allocations: 4 kB / 1.023 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1906, allocations: 0 / 1.023 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.973e-05/0.1906, allocations: 0 / 1.023 GB, free: 14.97 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.003716/0.1943, allocations: 2.292 MB / 1.025 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1944, allocations: 12.03 kB / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004982/0.1949, allocations: 424.8 kB / 1.026 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009695/0.2046, allocations: 1.991 MB / 1.028 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.2074, allocations: 1.534 MB / 1.029 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.2075, allocations: 201.8 kB / 1.03 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004415/0.208, allocations: 260.4 kB / 1.03 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009929/0.2179, allocations: 5.443 MB / 1.035 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.571e-05/0.218, allocations: 0 / 1.035 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003177/0.2183, allocations: 112 kB / 1.035 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002932/0.2186, allocations: 200.4 kB / 1.035 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/0.2307, allocations: 5.68 MB / 1.041 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02258/0.2533, allocations: 21.27 MB / 1.062 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005153/0.2585, allocations: 3.003 MB / 1.065 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004687/0.2632, allocations: 2.118 MB / 1.067 GB, free: 200 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.2634, allocations: 118 kB / 1.067 GB, free: 64 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3108/0.5743, allocations: 63.48 kB / 1.067 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=139): time 1.419e-05/0.5743, allocations: 0 / 1.067 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=181): time 0.0363/0.6106, allocations: 12.92 MB / 1.079 GB, free: 81.28 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.6107, allocations: 235.8 kB / 1.08 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.6118, allocations: 0.9744 MB / 1.081 GB, free: 80.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.6119, allocations: 55.05 kB / 1.081 GB, free: 80.56 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000436/0.6124, allocations: 1.1 MB / 1.082 GB, free: 79.72 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.6128, allocations: 0.6253 MB / 1.082 GB, free: 79.24 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.6129, allocations: 45.72 kB / 1.082 GB, free: 79.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.613, allocations: 432.3 kB / 1.083 GB, free: 78.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004222/0.6173, allocations: 1.901 MB / 1.085 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004369/0.6217, allocations: 2.49 MB / 1.087 GB, free: 77.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008137/0.6298, allocations: 4.424 MB / 1.091 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.6298, allocations: 5.125 kB / 1.091 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01056/0.6404, allocations: 5.479 MB / 1.097 GB, free: 73.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.6406, allocations: 0.6122 MB / 1.097 GB, free: 72.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.6406, allocations: 18.59 kB / 1.097 GB, free: 72.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002808/0.6434, allocations: 1.212 MB / 1.099 GB, free: 72.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002802/0.6462, allocations: 0.7503 MB / 1.099 GB, free: 71.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/0.6574, allocations: 10.5 MB / 1.11 GB, free: 64.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/0.6599, allocations: 455.9 kB / 1.11 GB, free: 64.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/0.6601, allocations: 113 kB / 1.11 GB, free: 64.08 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.603e-06/0.6601, allocations: 3.656 kB / 1.11 GB, free: 64.08 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01012/0.6703, allocations: 5.327 MB / 1.115 GB, free: 61.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.6703, allocations: 16.81 kB / 1.115 GB, free: 61.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/0.6725, allocations: 0.9517 MB / 1.116 GB, free: 60.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/0.6751, allocations: 0.7514 MB / 1.117 GB, free: 60.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009487/0.6846, allocations: 10.33 MB / 1.127 GB, free: 51.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.6869, allocations: 446.7 kB / 1.128 GB, free: 51.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/0.6871, allocations: 115.9 kB / 1.128 GB, free: 51.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (220): * Single equations (assignments): 218 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,83.3%) 30,(6,83.3%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001307/0.6884, allocations: 1.211 MB / 1.129 GB, free: 50.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.6887, allocations: 126.6 kB / 1.129 GB, free: 50 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009845/0.6986, allocations: 5.205 MB / 1.134 GB, free: 44.74 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.6986, allocations: 23.09 kB / 1.134 GB, free: 44.72 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.6986, allocations: 12 kB / 1.134 GB, free: 44.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.6986, allocations: 11.97 kB / 1.134 GB, free: 44.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.7116, allocations: 8.848 MB / 1.143 GB, free: 35.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.7116, allocations: 8 kB / 1.143 GB, free: 35.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/0.7137, allocations: 0.5459 MB / 1.143 GB, free: 35.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002038/0.7158, allocations: 0.9619 MB / 1.144 GB, free: 34.19 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.7159, allocations: 63.89 kB / 1.144 GB, free: 34.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009324/0.7252, allocations: 9.939 MB / 1.154 GB, free: 23.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.7252, allocations: 15.94 kB / 1.154 GB, free: 23.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009591/0.7348, allocations: 4.827 MB / 1.159 GB, free: 18.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.736, allocations: 0.5355 MB / 1.159 GB, free: 18.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.7362, allocations: 47.17 kB / 1.159 GB, free: 18.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002341/0.7385, allocations: 399.3 kB / 1.16 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000312/0.7388, allocations: 164.9 kB / 1.16 GB, free: 17.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.739, allocations: 67.97 kB / 1.16 GB, free: 17.74 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007638/0.7397, allocations: 0.7176 MB / 1.161 GB, free: 17.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7398, allocations: 0 / 1.161 GB, free: 17.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003249/0.743, allocations: 1.18 MB / 1.162 GB, free: 15.84 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 107 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(7,63.3%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009305/0.7523, allocations: 5.437 MB / 1.167 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01516/0.7675, allocations: 8.126 MB / 1.175 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.7675, allocations: 4.375 kB / 1.175 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005204/0.7727, allocations: 2.68 MB / 1.178 GB, free: 15.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/0.7748, allocations: 193.5 kB / 1.178 GB, free: 15.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03754/0.8124, allocations: 18.17 MB / 1.196 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/0.8145, allocations: 2.23 MB / 1.198 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003534/0.818, allocations: 1.289 MB / 1.199 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.8191, allocations: 0.8116 MB / 1.2 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.8191, allocations: 0 / 1.2 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9811/1.8, allocations: 51.72 MB / 1.25 GB, free: 4.668 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1707/1.971, allocations: 244.5 kB / 1.251 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.379/6.35, allocations: 0 / 1.251 GB, free: 4.34 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)