Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.TransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",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.001051/0.001051, allocations: 86.25 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.001504/0.001504, 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.435/1.435, allocations: 223.3 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.4 MB / 0.6655 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7906/0.791, allocations: 142.3 MB / 0.9539 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull): time 0.01752/0.8086, allocations: 15.87 MB / 0.9694 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.8207, allocations: 5.834 MB / 0.9751 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.8224, allocations: 40.81 kB / 0.9751 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009135/0.8234, allocations: 313.7 kB / 0.9754 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.826, allocations: 0.8278 MB / 0.9762 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002364/0.8284, allocations: 0.6629 MB / 0.9769 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00691/0.8353, allocations: 5.128 MB / 0.9819 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009847/0.8452, allocations: 5.956 MB / 0.9877 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003091/0.8483, allocations: 1.374 MB / 0.989 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003596/0.8519, allocations: 1.959 MB / 0.9909 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004861/0.8524, allocations: 196 kB / 0.9911 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.8542, allocations: 0.6048 MB / 0.9917 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001661/0.8559, allocations: 1.458 MB / 0.9931 GB, free: 7.801 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007886/0.8567, allocations: 0.5823 MB / 0.9937 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005541/0.8622, allocations: 5.5 MB / 0.9991 GB, free: 1.699 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.8623, allocations: 0 / 0.9991 GB, free: 1.699 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8623, allocations: 0 / 0.9991 GB, free: 1.699 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001598/0.8624, allocations: 0 / 0.9991 GB, free: 1.699 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.005814/0.8683, allocations: 2.509 MB / 1.002 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.8683, allocations: 8.031 kB / 1.002 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008089/0.8691, allocations: 458.2 kB / 1.002 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.8794, allocations: 2.177 MB / 1.004 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003924/0.8834, allocations: 1.687 MB / 1.006 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/0.8836, allocations: 221.8 kB / 1.006 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007292/0.8843, allocations: 295.9 kB / 1.006 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/0.8986, allocations: 5.876 MB / 1.012 GB, free: 4.289 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001545/0.8988, allocations: 7.922 kB / 1.012 GB, free: 4.281 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009255/0.8997, allocations: 127.9 kB / 1.012 GB, free: 4.156 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005767/0.9003, allocations: 262 kB / 1.012 GB, free: 3.898 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/0.9167, allocations: 6.081 MB / 1.018 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0343/0.951, allocations: 22.5 MB / 1.04 GB, free: 5.344 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006154/0.9572, allocations: 2.546 MB / 1.043 GB, free: 2.73 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00467/0.962, allocations: 1.691 MB / 1.044 GB, free: 1.039 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/0.9622, allocations: 114.1 kB / 1.045 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/0.9623, allocations: 43.56 kB / 1.045 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of pre-optimization done (n=122): time 3.086e-06/0.9623, allocations: 0 / 1.045 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of matching and sorting (n=173): time 0.04866/1.011, allocations: 14.57 MB / 1.059 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/1.011, allocations: 69.41 kB / 1.059 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/1.013, allocations: 1.143 MB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0004028/1.014, allocations: 53.7 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/1.015, allocations: 1.27 MB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009121/1.016, allocations: 0.5969 MB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/1.016, allocations: 48 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0003055/1.016, allocations: 455.3 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004684/1.021, allocations: 2.007 MB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005101/1.026, allocations: 2.73 MB / 1.067 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005009/1.031, allocations: 2.359 MB / 1.069 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.688e-05/1.031, allocations: 15.94 kB / 1.069 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01515/1.046, allocations: 6.211 MB / 1.075 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006863/1.047, allocations: 0.7578 MB / 1.076 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.675e-05/1.047, allocations: 20 kB / 1.076 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004897/1.052, allocations: 1.538 MB / 1.078 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003264/1.055, allocations: 0.7604 MB / 1.078 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02244/1.078, allocations: 17.4 MB / 1.095 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003432/1.081, allocations: 487 kB / 1.096 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006242/1.082, allocations: 116 kB / 1.096 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/1.082, allocations: 4 kB / 1.096 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01417/1.096, allocations: 6.047 MB / 1.102 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001071/1.096, allocations: 20 kB / 1.102 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004347/1.101, allocations: 1.461 MB / 1.103 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003445/1.104, allocations: 0.7604 MB / 1.104 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02066/1.125, allocations: 17.2 MB / 1.121 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003534/1.128, allocations: 459.2 kB / 1.121 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006817/1.129, allocations: 120 kB / 1.121 GB, free: 15.7 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (235): * Single equations (assignments): 229 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003131/1.132, allocations: 1.328 MB / 1.123 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00067/1.133, allocations: 142.3 kB / 1.123 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01488/1.148, allocations: 5.813 MB / 1.128 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/1.148, allocations: 16 kB / 1.128 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.3e-05/1.148, allocations: 12 kB / 1.128 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.004e-05/1.148, allocations: 7.969 kB / 1.129 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01999/1.168, allocations: 9.615 MB / 1.138 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-05/1.168, allocations: 4 kB / 1.138 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002298/1.17, allocations: 0.5147 MB / 1.138 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004006/1.174, allocations: 1.273 MB / 1.14 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004122/1.175, allocations: 51.91 kB / 1.14 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02072/1.196, allocations: 16.58 MB / 1.156 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/1.196, allocations: 11.94 kB / 1.156 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/1.208, allocations: 5.045 MB / 1.161 GB, free: 6.047 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.21, allocations: 0.5499 MB / 1.161 GB, free: 5.477 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005499/1.21, allocations: 32 kB / 1.161 GB, free: 5.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002559/1.213, allocations: 447.2 kB / 1.162 GB, free: 5.008 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004687/1.213, allocations: 145 kB / 1.162 GB, free: 4.863 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/1.214, allocations: 67.89 kB / 1.162 GB, free: 4.797 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001368/1.215, allocations: 0.8129 MB / 1.163 GB, free: 3.973 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.364e-06/1.215, allocations: 0 / 1.163 GB, free: 3.973 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.005297/1.22, allocations: 1.266 MB / 1.164 GB, free: 2.707 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (104): * Single equations (assignments): 98 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01221/1.232, allocations: 5.656 MB / 1.17 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.02354/1.256, allocations: 9.474 MB / 1.179 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.828e-05/1.256, allocations: 0 / 1.179 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.008169/1.264, allocations: 3.289 MB / 1.182 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/1.267, allocations: 223.5 kB / 1.182 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04837/1.315, allocations: 20.23 MB / 1.202 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003922/1.319, allocations: 2.383 MB / 1.204 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004656/1.324, allocations: 1.25 MB / 1.206 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/1.326, allocations: 0.9288 MB / 1.206 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of SimCode: time 1.523e-06/1.326, allocations: 0 / 1.206 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6214/1.947, allocations: 61.56 MB / 1.267 GB, free: 272.3 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001393/1.947, allocations: 244.2 kB / 1.267 GB, free: 272 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.29/5.238, allocations: 2.031 kB / 1.267 GB, free: 272 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat does not exist to compare? outputFormat=mat