Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.TransformerDD,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.728/2.728, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.002416/0.002415, allocations: 173 kB / 370.8 MB, free: 10.84 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.178/2.178, allocations: 205.4 MB / 0.6295 GB, free: 10.55 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.001139/0.001139, allocations: 82.98 kB / 0.7428 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004881, allocations: 12.03 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2227, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.02005/0.2428, allocations: 13.93 MB / 0.9919 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.2535, allocations: 5.42 MB / 0.9972 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.2547, allocations: 35.88 kB / 0.9972 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009489/0.2557, allocations: 302.2 kB / 0.9975 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.2583, allocations: 0.5958 MB / 0.9981 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.2608, allocations: 0.6248 MB / 0.9987 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003062/0.2639, allocations: 1.7 MB / 1 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01001/0.274, allocations: 5.397 MB / 1.006 GB, free: 152 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.2763, allocations: 0.9931 MB / 1.007 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002747/0.2791, allocations: 1.172 MB / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000603/0.2797, allocations: 180 kB / 1.008 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.2817, allocations: 0.5619 MB / 1.008 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001927/0.2837, allocations: 1.24 MB / 1.01 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009047/0.2846, allocations: 0.52 MB / 1.01 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007973/0.2926, allocations: 4.967 MB / 1.015 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2926, allocations: 0 / 1.015 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.246e-06/0.2927, allocations: 4 kB / 1.015 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001644/0.2928, allocations: 0 / 1.015 GB, free: 6.484 MB / 0.6355 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.008201/0.3011, allocations: 2.306 MB / 1.017 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.3011, allocations: 12.02 kB / 1.017 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001183/0.3023, allocations: 420.6 kB / 1.018 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01993/0.3223, allocations: 2.064 MB / 1.02 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004916/0.3272, allocations: 1.51 MB / 1.021 GB, free: 68 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.3275, allocations: 205.5 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008152/0.3284, allocations: 260 kB / 1.022 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02013/0.3485, allocations: 5.423 MB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.527e-05/0.3486, allocations: 0 / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005938/0.3492, allocations: 112 kB / 1.027 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005539/0.3498, allocations: 200.4 kB / 1.027 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02433/0.3742, allocations: 5.673 MB / 1.033 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04147/0.4157, allocations: 21.27 MB / 1.054 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/0.4263, allocations: 3.009 MB / 1.056 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003381/0.4267, allocations: 122 kB / 1.057 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/0.4268, allocations: 55.55 kB / 1.057 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=139): time 4.749e-06/0.4268, allocations: 0 / 1.057 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of matching and sorting (n=139): time 0.03487/0.4617, allocations: 6.035 MB / 1.063 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.4619, allocations: 222.6 kB / 1.063 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.464, allocations: 0.9725 MB / 1.064 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004054/0.4644, allocations: 53.7 kB / 1.064 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.4655, allocations: 1.095 MB / 1.065 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008476/0.4663, allocations: 493 kB / 1.065 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.4666, allocations: 36 kB / 1.065 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000287/0.4669, allocations: 422.7 kB / 1.066 GB, free: 176 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6774/1.144, allocations: 1.681 MB / 1.067 GB, free: 83.47 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009151/1.154, allocations: 2.236 MB / 1.07 GB, free: 82.67 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009221/1.163, allocations: 1.944 MB / 1.071 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.854e-05/1.163, allocations: 4.969 kB / 1.071 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.02269/1.186, allocations: 4.506 MB / 1.076 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00148/1.187, allocations: 6.703 MB / 1.082 GB, free: 73.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.865e-05/1.187, allocations: 17.09 kB / 1.082 GB, free: 73.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003194/1.19, allocations: 0.6098 MB / 1.083 GB, free: 73.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006781/1.197, allocations: 0.7373 MB / 1.084 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/1.209, allocations: 5.146 MB / 1.089 GB, free: 70.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005563/1.215, allocations: 0.5508 MB / 1.089 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004549/1.215, allocations: 105.6 kB / 1.089 GB, free: 70.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.215, allocations: 4.625 kB / 1.089 GB, free: 70.41 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01995/1.235, allocations: 4.345 MB / 1.094 GB, free: 69.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.391e-05/1.236, allocations: 17.47 kB / 1.094 GB, free: 69.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001831/1.237, allocations: 422.7 kB / 1.094 GB, free: 68.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006615/1.244, allocations: 0.7406 MB / 1.095 GB, free: 68.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/1.254, allocations: 4.977 MB / 1.1 GB, free: 66.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005036/1.26, allocations: 0.5069 MB / 1.1 GB, free: 65.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003459/1.26, allocations: 99.67 kB / 1.1 GB, free: 65.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (213): * Single equations (assignments): 212 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00264/1.263, allocations: 1.164 MB / 1.101 GB, free: 65.31 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005713/1.263, allocations: 115.6 kB / 1.102 GB, free: 65.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0184/1.282, allocations: 4.073 MB / 1.105 GB, free: 63.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.134e-05/1.282, allocations: 14.38 kB / 1.105 GB, free: 63.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/1.282, allocations: 6.094 kB / 1.105 GB, free: 63.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.878e-05/1.282, allocations: 9.344 kB / 1.106 GB, free: 63.93 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02659/1.308, allocations: 7.227 MB / 1.113 GB, free: 59.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.142e-05/1.308, allocations: 9.828 kB / 1.113 GB, free: 59.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005046/1.313, allocations: 0.524 MB / 1.113 GB, free: 59.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002109/1.316, allocations: 445.4 kB / 1.114 GB, free: 59.36 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003907/1.316, allocations: 50.7 kB / 1.114 GB, free: 59.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/1.327, allocations: 5.021 MB / 1.118 GB, free: 55.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/1.327, allocations: 9.531 kB / 1.118 GB, free: 55.79 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01702/1.344, allocations: 4.093 MB / 1.122 GB, free: 53.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.345, allocations: 0.4959 MB / 1.123 GB, free: 52.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003929/1.346, allocations: 27.47 kB / 1.123 GB, free: 52.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004497/1.35, allocations: 384.4 kB / 1.123 GB, free: 52.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004343/1.351, allocations: 108.8 kB / 1.123 GB, free: 52.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/1.351, allocations: 58.09 kB / 1.124 GB, free: 52.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001392/1.352, allocations: 0.7175 MB / 1.124 GB, free: 52.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.71e-07/1.352, allocations: 0 / 1.124 GB, free: 52.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005753/1.358, allocations: 1.39 MB / 1.126 GB, free: 51.72 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (98): * Single equations (assignments): 97 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0169/1.375, allocations: 6.119 MB / 1.132 GB, free: 46.14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.02786/1.403, allocations: 6.463 MB / 1.138 GB, free: 39.67 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.403, allocations: 1 kB / 1.138 GB, free: 39.67 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.008524/1.412, allocations: 1.975 MB / 1.14 GB, free: 37.67 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/1.413, allocations: 148.2 kB / 1.14 GB, free: 37.53 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06313/1.476, allocations: 27.56 MB / 1.167 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002607/1.479, allocations: 2.154 MB / 1.169 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006229/1.485, allocations: 1.259 MB / 1.17 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001832/1.487, allocations: 0.7608 MB / 1.171 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of SimCode: time 1.273e-06/1.487, allocations: 0 / 1.171 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/1.599, allocations: 40.28 MB / 1.21 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000331/1.599, allocations: 241.6 kB / 1.21 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.59/5.188, allocations: 0 / 1.21 GB, free: 12.9 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)