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.001116/0.001116, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001564/0.001564, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.3 MB / 240 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.721/2.721, allocations: 409.4 MB / 0.684 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003506, allocations: 8 kB / 0.8378 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8098/0.8102, allocations: 146.8 MB / 0.9812 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01554/0.8258, allocations: 14.29 MB / 0.9951 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008632/0.8345, allocations: 5.415 MB / 1 GB, free: 2.469 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.8357, allocations: 35.94 kB / 1 GB, free: 2.434 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0007115/0.8364, allocations: 270 kB / 1.001 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.8384, allocations: 0.7587 MB / 1.001 GB, free: 1.406 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.8402, allocations: 0.5847 MB / 1.002 GB, free: 0.8203 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004844/0.8451, allocations: 4.591 MB / 1.006 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009064/0.8542, allocations: 5.403 MB / 1.012 GB, free: 6.762 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002966/0.8572, allocations: 1.23 MB / 1.013 GB, free: 5.527 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002772/0.86, allocations: 1.776 MB / 1.015 GB, free: 3.746 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000367/0.8603, allocations: 180 kB / 1.015 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.8619, allocations: 0.5853 MB / 1.015 GB, free: 2.984 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001378/0.8633, allocations: 1.345 MB / 1.017 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00067/0.864, allocations: 0.5161 MB / 1.017 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004778/0.8688, allocations: 4.978 MB / 1.022 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.8688, allocations: 0 / 1.022 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.805e-06/0.8688, allocations: 0 / 1.022 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001427/0.869, allocations: 0 / 1.022 GB, free: 12.12 MB / 0.7794 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.005233/0.8742, allocations: 2.317 MB / 1.024 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.8743, allocations: 12.03 kB / 1.024 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000685/0.875, allocations: 416.6 kB / 1.025 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00974/0.8847, allocations: 1.994 MB / 1.027 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0033/0.888, allocations: 1.525 MB / 1.028 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.8882, allocations: 201.5 kB / 1.028 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007233/0.889, allocations: 264 kB / 1.029 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.9002, allocations: 5.435 MB / 1.034 GB, free: 15.76 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.019e-05/0.9003, allocations: 3.938 kB / 1.034 GB, free: 15.76 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000474/0.9008, allocations: 123.9 kB / 1.034 GB, free: 15.64 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002972/0.9011, allocations: 192.5 kB / 1.034 GB, free: 15.45 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/0.9135, allocations: 5.677 MB / 1.04 GB, free: 9.754 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02771/0.9412, allocations: 21.25 MB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005701/0.947, allocations: 2.998 MB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005164/0.9522, allocations: 2.118 MB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002648/0.9525, allocations: 126 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.929e-05/0.9526, allocations: 55.5 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=139): time 3.978e-06/0.9526, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=181): time 0.03815/0.9907, allocations: 12.93 MB / 1.078 GB, free: 188 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.9909, allocations: 234.9 kB / 1.079 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.9922, allocations: 0.9725 MB / 1.08 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002307/0.9925, allocations: 57.7 kB / 1.08 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006584/0.9931, allocations: 1.096 MB / 1.081 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006889/0.9938, allocations: 0.6122 MB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.9941, allocations: 48 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.9943, allocations: 427.3 kB / 1.082 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004321/0.9986, allocations: 1.909 MB / 1.084 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004759/1.003, allocations: 2.493 MB / 1.086 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00487/1.008, allocations: 2.211 MB / 1.088 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/1.008, allocations: 8 kB / 1.088 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01221/1.021, allocations: 5.478 MB / 1.094 GB, free: 284 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004241/1.021, allocations: 0.6017 MB / 1.094 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/1.021, allocations: 20 kB / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003224/1.024, allocations: 1.216 MB / 1.095 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/1.028, allocations: 0.7448 MB / 1.096 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01435/1.042, allocations: 10.51 MB / 1.106 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/1.045, allocations: 459.1 kB / 1.107 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005371/1.046, allocations: 108 kB / 1.107 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/1.046, allocations: 9.5 kB / 1.107 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01221/1.058, allocations: 5.321 MB / 1.112 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.338e-05/1.058, allocations: 16 kB / 1.112 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/1.06, allocations: 0.9506 MB / 1.113 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/1.064, allocations: 0.7487 MB / 1.114 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/1.077, allocations: 10.32 MB / 1.124 GB, free: 460 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00296/1.08, allocations: 443.5 kB / 1.124 GB, free: 16 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004861/1.081, allocations: 112 kB / 1.124 GB, free: 15.91 MB / 0.8887 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.002506/1.083, allocations: 1.222 MB / 1.126 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006123/1.084, allocations: 126.6 kB / 1.126 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.096, allocations: 5.201 MB / 1.131 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/1.096, allocations: 20 kB / 1.131 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.777e-05/1.096, allocations: 16 kB / 1.131 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.533e-05/1.096, allocations: 15.91 kB / 1.131 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01855/1.115, allocations: 8.851 MB / 1.139 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-05/1.115, allocations: 8 kB / 1.139 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/1.117, allocations: 0.5343 MB / 1.14 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002666/1.12, allocations: 0.9658 MB / 1.141 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001976/1.12, allocations: 59.95 kB / 1.141 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/1.134, allocations: 9.967 MB / 1.151 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/1.134, allocations: 11.94 kB / 1.151 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/1.145, allocations: 4.826 MB / 1.155 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.147, allocations: 0.5267 MB / 1.156 GB, free: 14.89 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003743/1.147, allocations: 43.98 kB / 1.156 GB, free: 14.85 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00238/1.15, allocations: 395.4 kB / 1.156 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003771/1.15, allocations: 160.9 kB / 1.157 GB, free: 14.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/1.15, allocations: 71.95 kB / 1.157 GB, free: 14.23 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001171/1.151, allocations: 0.7215 MB / 1.157 GB, free: 13.51 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/1.151, allocations: 0 / 1.157 GB, free: 13.51 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.004311/1.156, allocations: 1.18 MB / 1.158 GB, free: 12.33 MB / 0.92 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.01173/1.167, allocations: 5.441 MB / 1.164 GB, free: 6.758 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01944/1.187, allocations: 8.113 MB / 1.172 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/1.187, allocations: 0 / 1.172 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.006281/1.193, allocations: 2.665 MB / 1.174 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/1.195, allocations: 188.4 kB / 1.174 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04492/1.24, allocations: 18.18 MB / 1.192 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003375/1.243, allocations: 2.24 MB / 1.194 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004425/1.248, allocations: 1.284 MB / 1.196 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/1.249, allocations: 0.8077 MB / 1.196 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of SimCode: time 1.222e-06/1.249, allocations: 4 kB / 1.196 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09099/1.34, allocations: 51.7 MB / 1.247 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/1.341, allocations: 242.1 kB / 1.247 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.093/4.434, allocations: 0 / 1.247 GB, free: 0.9531 MB / 0.9981 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