Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.TransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_latest_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.001889/0.001889, allocations: 96.25 kB / 15.05 MB, free: 1.113 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.002187/0.002187, allocations: 181.3 kB / 15.95 MB, free: 220 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.764/2.764, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.039/5.039, allocations: 409.2 MB / 0.6838 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006243/0.0006244, allocations: 11.98 kB / 0.8375 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618/1.619, allocations: 146.8 MB / 0.9809 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull): time 0.03324/1.652, allocations: 15.46 MB / 0.996 GB, free: 6.734 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01702/1.669, allocations: 5.795 MB / 1.002 GB, free: 0.9219 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002454/1.672, allocations: 43.81 kB / 1.002 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/1.674, allocations: 350 kB / 1.002 GB, free: 0.5352 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004702/1.679, allocations: 0.6308 MB / 1.003 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004581/1.683, allocations: 0.6899 MB / 1.003 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006019/1.689, allocations: 1.888 MB / 1.005 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01708/1.706, allocations: 5.955 MB / 1.011 GB, free: 7.305 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004315/1.711, allocations: 1.11 MB / 1.012 GB, free: 6.191 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004519/1.715, allocations: 1.285 MB / 1.013 GB, free: 4.902 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001126/1.717, allocations: 200 kB / 1.013 GB, free: 4.707 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003226/1.72, allocations: 0.5852 MB / 1.014 GB, free: 4.121 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003111/1.723, allocations: 1.345 MB / 1.015 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002046/1.725, allocations: 0.5745 MB / 1.016 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01283/1.738, allocations: 5.48 MB / 1.021 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.518e-05/1.738, allocations: 4 kB / 1.021 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.801e-06/1.738, allocations: 0 / 1.021 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003405/1.738, allocations: 0 / 1.021 GB, free: 12.7 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: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.01518/1.754, allocations: 2.513 MB / 1.024 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001015/1.754, allocations: 8.031 kB / 1.024 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0034/1.757, allocations: 454.2 kB / 1.024 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02227/1.779, allocations: 2.275 MB / 1.026 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008236/1.788, allocations: 1.691 MB / 1.028 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004317/1.788, allocations: 213.9 kB / 1.028 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002167/1.79, allocations: 284 kB / 1.029 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02695/1.817, allocations: 5.86 MB / 1.034 GB, free: 15.22 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/1.818, allocations: 11.84 kB / 1.034 GB, free: 15.21 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009422/1.819, allocations: 120 kB / 1.034 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008687/1.82, allocations: 258 kB / 1.035 GB, free: 14.84 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0285/1.848, allocations: 6.073 MB / 1.041 GB, free: 8.75 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06239/1.911, allocations: 22.78 MB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009701/1.92, allocations: 2.598 MB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003698/1.921, allocations: 118.1 kB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.121e-05/1.921, allocations: 47.5 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=122): time 9.408e-06/1.921, allocations: 3.984 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=125): time 0.04039/1.961, allocations: 8.03 MB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.962, allocations: 64.41 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003358/1.965, allocations: 1.147 MB / 1.075 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0006088/1.966, allocations: 45.7 kB / 1.075 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001768/1.967, allocations: 1.269 MB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.968, allocations: 445.7 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/1.969, allocations: 44 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0005258/1.969, allocations: 426.7 kB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008183/1.977, allocations: 1.713 MB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009476/1.987, allocations: 2.398 MB / 1.081 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008845/1.996, allocations: 2.024 MB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-05/1.996, allocations: 8 kB / 1.083 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.02302/2.019, allocations: 4.846 MB / 1.087 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.007688/2.027, allocations: 8.873 MB / 1.096 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/2.027, allocations: 24 kB / 1.096 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005077/2.032, allocations: 0.7244 MB / 1.097 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006197/2.039, allocations: 0.7409 MB / 1.098 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02075/2.059, allocations: 8.606 MB / 1.106 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006115/2.066, allocations: 479 kB / 1.106 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007508/2.066, allocations: 108 kB / 1.107 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/2.066, allocations: 4.938 kB / 1.107 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02139/2.088, allocations: 4.69 MB / 1.111 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001893/2.088, allocations: 24 kB / 1.111 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002945/2.091, allocations: 0.6313 MB / 1.112 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005987/2.097, allocations: 0.7565 MB / 1.112 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01768/2.115, allocations: 8.366 MB / 1.121 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/2.121, allocations: 459.1 kB / 1.121 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006948/2.121, allocations: 112 kB / 1.121 GB, free: 2.113 MB / 0.8731 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 (220): * Single equations (assignments): 217 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004475/2.126, allocations: 1.268 MB / 1.122 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006344/2.127, allocations: 122.5 kB / 1.123 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02018/2.147, allocations: 4.256 MB / 1.127 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-05/2.147, allocations: 12 kB / 1.127 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.658e-05/2.147, allocations: 4 kB / 1.127 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.729e-05/2.147, allocations: 7.969 kB / 1.127 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03147/2.178, allocations: 7.337 MB / 1.134 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.478e-05/2.179, allocations: 4 kB / 1.134 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004411/2.183, allocations: 0.4952 MB / 1.134 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003331/2.186, allocations: 0.6152 MB / 1.135 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003637/2.187, allocations: 39.97 kB / 1.135 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01992/2.207, allocations: 8.513 MB / 1.143 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-05/2.207, allocations: 4 kB / 1.143 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0192/2.226, allocations: 4.007 MB / 1.147 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002296/2.228, allocations: 491.3 kB / 1.148 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006373/2.229, allocations: 20 kB / 1.148 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004393/2.234, allocations: 419.3 kB / 1.148 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005047/2.234, allocations: 92.81 kB / 1.148 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002462/2.234, allocations: 51.95 kB / 1.148 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002399/2.237, allocations: 0.8129 MB / 1.149 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.045e-06/2.237, allocations: 4 kB / 1.149 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.008716/2.246, allocations: 1.07 MB / 1.15 GB, free: 3.707 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (89): * Single equations (assignments): 86 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01949/2.265, allocations: 5.611 MB / 1.156 GB, free: 13.96 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.03169/2.297, allocations: 7.222 MB / 1.163 GB, free: 6.664 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.786e-05/2.297, allocations: 0 / 1.163 GB, free: 6.664 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0105/2.307, allocations: 2.322 MB / 1.165 GB, free: 4.301 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/2.31, allocations: 183.9 kB / 1.165 GB, free: 4.117 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09154/2.401, allocations: 32.72 MB / 1.197 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004721/2.406, allocations: 2.291 MB / 1.199 GB, free: 276 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.007651/2.414, allocations: 1.248 MB / 1.2 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002774/2.416, allocations: 0.8702 MB / 1.201 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of SimCode: time 1.373e-06/2.417, allocations: 0 / 1.201 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1849/2.601, allocations: 46.09 MB / 1.246 GB, free: 440 kB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000592/2.602, allocations: 236.4 kB / 1.247 GB, free: 200 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.244/7.846, allocations: 0 / 1.247 GB, free: 200 kB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat does not exist to compare? outputFormat=mat