Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002064/0.002064, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.002705/0.002705, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.911/2.911, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.029/5.029, allocations: 409.2 MB / 0.6838 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005953/0.0005955, allocations: 8 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532/1.533, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.03651/1.569, allocations: 13.93 MB / 0.9945 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02626/1.596, allocations: 5.38 MB / 0.9997 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006704/1.602, allocations: 35.94 kB / 0.9998 GB, free: 2.871 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002274/1.605, allocations: 306.1 kB / 1 GB, free: 2.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005211/1.61, allocations: 0.5958 MB / 1.001 GB, free: 1.973 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003798/1.614, allocations: 0.6226 MB / 1.001 GB, free: 1.352 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004825/1.619, allocations: 1.692 MB / 1.003 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01622/1.635, allocations: 5.403 MB / 1.008 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003362/1.638, allocations: 0.9931 MB / 1.009 GB, free: 9.199 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003783/1.642, allocations: 1.172 MB / 1.01 GB, free: 8.023 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001355/1.644, allocations: 180 kB / 1.01 GB, free: 7.848 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003261/1.647, allocations: 0.5657 MB / 1.011 GB, free: 7.281 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003772/1.651, allocations: 1.232 MB / 1.012 GB, free: 6.047 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002313/1.653, allocations: 0.5161 MB / 1.013 GB, free: 5.523 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01037/1.663, allocations: 4.962 MB / 1.018 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.664, allocations: 0 / 1.018 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.986e-06/1.664, allocations: 4 kB / 1.018 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002579/1.664, allocations: 0 / 1.018 GB, free: 0.5469 MB / 0.7637 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.01178/1.676, allocations: 2.314 MB / 1.02 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 8.447e-05/1.676, allocations: 8.031 kB / 1.02 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002765/1.679, allocations: 428.5 kB / 1.02 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02051/1.699, allocations: 2.057 MB / 1.022 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007113/1.706, allocations: 1.518 MB / 1.024 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005075/1.707, allocations: 205.5 kB / 1.024 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002037/1.709, allocations: 264 kB / 1.024 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02725/1.736, allocations: 5.427 MB / 1.029 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002341/1.737, allocations: 0 / 1.029 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002011/1.739, allocations: 112 kB / 1.03 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007845/1.739, allocations: 196.4 kB / 1.03 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02834/1.768, allocations: 5.677 MB / 1.035 GB, free: 14.13 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0598/1.828, allocations: 21.25 MB / 1.056 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/1.84, allocations: 2.998 MB / 1.059 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005811/1.841, allocations: 126 kB / 1.059 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/1.841, allocations: 63.47 kB / 1.059 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=139): time 9.017e-06/1.841, allocations: 0 / 1.059 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=139): time 0.03475/1.876, allocations: 6.042 MB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002543/1.876, allocations: 218.6 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00296/1.879, allocations: 0.9725 MB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006765/1.88, allocations: 53.7 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001512/1.882, allocations: 1.091 MB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001427/1.883, allocations: 0.4891 MB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005746/1.884, allocations: 40 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0004903/1.884, allocations: 422.7 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008137/1.892, allocations: 1.686 MB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009361/1.902, allocations: 2.227 MB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009892/1.912, allocations: 1.946 MB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-05/1.912, allocations: 8 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.02353/1.935, allocations: 4.493 MB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.006952/1.942, allocations: 6.701 MB / 1.085 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001359/1.943, allocations: 16 kB / 1.085 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003423/1.946, allocations: 0.6101 MB / 1.086 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006661/1.953, allocations: 0.7487 MB / 1.086 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/1.968, allocations: 5.138 MB / 1.091 GB, free: 1.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005693/1.974, allocations: 0.5597 MB / 1.092 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009195/1.975, allocations: 104 kB / 1.092 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.975, allocations: 7.938 kB / 1.092 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02395/1.999, allocations: 4.348 MB / 1.096 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001623/1.999, allocations: 20 kB / 1.096 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/2.001, allocations: 418.2 kB / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007416/2.008, allocations: 0.7409 MB / 1.097 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/2.022, allocations: 4.968 MB / 1.102 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005911/2.028, allocations: 0.5057 MB / 1.103 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/2.029, allocations: 107.9 kB / 1.103 GB, free: 5.809 MB / 0.8575 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.005492/2.035, allocations: 1.164 MB / 1.104 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/2.036, allocations: 110.7 kB / 1.104 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02074/2.056, allocations: 4.075 MB / 1.108 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.752e-05/2.057, allocations: 12 kB / 1.108 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.469e-05/2.057, allocations: 12 kB / 1.108 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.282e-05/2.057, allocations: 7.984 kB / 1.108 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03003/2.087, allocations: 7.239 MB / 1.115 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.395e-05/2.087, allocations: 8 kB / 1.115 GB, free: 9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00463/2.092, allocations: 0.5192 MB / 1.116 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002288/2.094, allocations: 449.6 kB / 1.116 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005166/2.094, allocations: 43.95 kB / 1.116 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01602/2.11, allocations: 5.026 MB / 1.121 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.058e-05/2.111, allocations: 7.938 kB / 1.121 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02079/2.131, allocations: 4.09 MB / 1.125 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002916/2.134, allocations: 0.4914 MB / 1.125 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008367/2.135, allocations: 32 kB / 1.126 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005007/2.14, allocations: 383.4 kB / 1.126 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006441/2.141, allocations: 112.7 kB / 1.126 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002634/2.141, allocations: 55.95 kB / 1.126 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002321/2.144, allocations: 0.7175 MB / 1.127 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.9e-07/2.144, allocations: 0 / 1.127 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.009703/2.153, allocations: 1.385 MB / 1.128 GB, free: 11.34 MB / 0.8887 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.0209/2.174, allocations: 6.12 MB / 1.134 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.03165/2.206, allocations: 6.464 MB / 1.14 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.187e-05/2.206, allocations: 0 / 1.14 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.01/2.216, allocations: 1.972 MB / 1.142 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/2.219, allocations: 148.4 kB / 1.142 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0864/2.305, allocations: 27.57 MB / 1.169 GB, free: 236 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004244/2.31, allocations: 2.146 MB / 1.171 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.008367/2.318, allocations: 1.268 MB / 1.173 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003576/2.322, allocations: 0.7569 MB / 1.173 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of SimCode: time 2.926e-06/2.322, allocations: 0 / 1.173 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1968/2.519, allocations: 40.26 MB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005191/2.519, allocations: 248.4 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.304/7.823, allocations: 0 / 1.213 GB, free: 3.816 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat does not exist to compare? outputFormat=mat