Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.TransformerDD,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,fileNamePrefix="Buildings_9_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.0009269/0.0009271, allocations: 99.7 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.0009176/0.0009177, 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 1.473/1.473, allocations: 223.2 MB / 239.9 MB, free: 5.363 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.669/2.669, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004948, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7343/0.7348, allocations: 142.3 MB / 0.9536 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01415/0.749, allocations: 13.93 MB / 0.9672 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009386/0.7584, allocations: 5.359 MB / 0.9724 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.7598, allocations: 31.62 kB / 0.9725 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.7611, allocations: 312.6 kB / 0.9728 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.7635, allocations: 0.5932 MB / 0.9734 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.7658, allocations: 0.6229 MB / 0.974 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002776/0.7686, allocations: 1.7 MB / 0.9756 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008859/0.7774, allocations: 5.399 MB / 0.9809 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.7795, allocations: 0.997 MB / 0.9819 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.7818, allocations: 1.168 MB / 0.983 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008449/0.7827, allocations: 180 kB / 0.9832 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.7848, allocations: 0.5696 MB / 0.9837 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002342/0.7872, allocations: 1.244 MB / 0.985 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.7888, allocations: 0.5122 MB / 0.9855 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006777/0.7956, allocations: 4.966 MB / 0.9903 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.7956, allocations: 0 / 0.9903 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7957, allocations: 0 / 0.9903 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001912/0.7959, allocations: 4 kB / 0.9903 GB, free: 10.43 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.006026/0.8019, allocations: 2.31 MB / 0.9926 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.8019, allocations: 8.031 kB / 0.9926 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001209/0.8032, allocations: 420.6 kB / 0.993 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.8145, allocations: 2.072 MB / 0.995 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003929/0.8184, allocations: 1.506 MB / 0.9965 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.8187, allocations: 205.5 kB / 0.9967 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/0.8198, allocations: 263.9 kB / 0.9969 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.8307, allocations: 5.42 MB / 1.002 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-05/0.8308, allocations: 4 kB / 1.002 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003289/0.8312, allocations: 112 kB / 1.002 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002967/0.8315, allocations: 196.5 kB / 1.003 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/0.8465, allocations: 5.677 MB / 1.008 GB, free: 8.02 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02853/0.8751, allocations: 21.26 MB / 1.029 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005888/0.881, allocations: 2.998 MB / 1.032 GB, free: 13.75 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/0.8813, allocations: 122 kB / 1.032 GB, free: 13.61 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.8813, allocations: 59.5 kB / 1.032 GB, free: 13.55 MB / 0.795 GB Notification: Performance of pre-optimization done (n=139): time 3.436e-06/0.8814, allocations: 7.875 kB / 1.032 GB, free: 13.54 MB / 0.795 GB Notification: Performance of matching and sorting (n=139): time 0.01959/0.9009, allocations: 6.031 MB / 1.038 GB, free: 7.473 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/0.9012, allocations: 230.6 kB / 1.038 GB, free: 7.199 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.9033, allocations: 0.9726 MB / 1.039 GB, free: 6.219 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003875/0.9037, allocations: 45.7 kB / 1.039 GB, free: 6.168 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.9048, allocations: 1.095 MB / 1.04 GB, free: 5.055 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009328/0.9058, allocations: 497 kB / 1.041 GB, free: 4.562 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003217/0.9061, allocations: 40 kB / 1.041 GB, free: 4.523 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0003213/0.9064, allocations: 414.7 kB / 1.041 GB, free: 4.109 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004558/0.911, allocations: 1.682 MB / 1.043 GB, free: 2.426 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005073/0.9161, allocations: 2.235 MB / 1.045 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005003/0.9211, allocations: 1.95 MB / 1.047 GB, free: 14 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.548e-05/0.9212, allocations: 8 kB / 1.047 GB, free: 14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01296/0.9341, allocations: 4.501 MB / 1.051 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.00292/0.9371, allocations: 6.706 MB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.619e-05/0.9372, allocations: 20.17 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/0.939, allocations: 0.6101 MB / 1.058 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003574/0.9426, allocations: 0.7409 MB / 1.059 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007601/0.9502, allocations: 5.132 MB / 1.064 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/0.9536, allocations: 0.5637 MB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004987/0.9541, allocations: 103.9 kB / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.9542, allocations: 4 kB / 1.065 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01098/0.9651, allocations: 4.344 MB / 1.069 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.531e-05/0.9653, allocations: 16 kB / 1.069 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.9663, allocations: 428.8 kB / 1.069 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/0.9696, allocations: 0.737 MB / 1.07 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006409/0.976, allocations: 4.98 MB / 1.075 GB, free: 296 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/0.9791, allocations: 0.5096 MB / 1.075 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004776/0.9796, allocations: 104 kB / 1.076 GB, free: 15.68 MB / 0.8419 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.002396/0.982, allocations: 1.165 MB / 1.077 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000545/0.9826, allocations: 118.6 kB / 1.077 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/0.9929, allocations: 4.059 MB / 1.081 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/0.993, allocations: 12 kB / 1.081 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/0.993, allocations: 11.94 kB / 1.081 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/0.9931, allocations: 15.97 kB / 1.081 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/1.01, allocations: 7.235 MB / 1.088 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/1.01, allocations: 8 kB / 1.088 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/1.012, allocations: 0.5225 MB / 1.088 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/1.013, allocations: 448.6 kB / 1.089 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/1.014, allocations: 51.94 kB / 1.089 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006652/1.02, allocations: 5.015 MB / 1.094 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.02, allocations: 7.938 kB / 1.094 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00988/1.03, allocations: 4.09 MB / 1.098 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/1.031, allocations: 499.2 kB / 1.098 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004307/1.032, allocations: 31.98 kB / 1.098 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002519/1.034, allocations: 383.3 kB / 1.099 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/1.035, allocations: 112.7 kB / 1.099 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/1.035, allocations: 55.95 kB / 1.099 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001146/1.036, allocations: 0.7215 MB / 1.099 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/1.036, allocations: 0 / 1.099 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004512/1.04, allocations: 1.385 MB / 1.101 GB, free: 5.211 MB / 0.8575 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.01019/1.051, allocations: 6.126 MB / 1.107 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01811/1.069, allocations: 6.459 MB / 1.113 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/1.069, allocations: 0 / 1.113 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.005825/1.075, allocations: 1.972 MB / 1.115 GB, free: 6.441 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/1.076, allocations: 141.1 kB / 1.115 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04894/1.125, allocations: 27.57 MB / 1.142 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002994/1.128, allocations: 2.142 MB / 1.144 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.004428/1.133, allocations: 1.275 MB / 1.145 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/1.134, allocations: 0.7608 MB / 1.146 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of SimCode: time 9.52e-07/1.134, allocations: 0 / 1.146 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07569/1.21, allocations: 40.26 MB / 1.186 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003096/1.21, allocations: 242.5 kB / 1.186 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/3.675, allocations: 2.812 kB / 1.186 GB, free: 13.66 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerDD.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD_res.mat does not exist to compare? outputFormat=mat