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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.409/2.409, allocations: 390.3 MB / 402.8 MB, free: 6.641 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 184.9 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.685/1.685, allocations: 221.3 MB / 0.7915 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 95.88 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.58e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3435, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.163/1.507, allocations: 199.5 MB / 1.414 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/1.507, allocations: 95.25 kB / 1.414 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2596/1.767, allocations: 105.7 MB / 1.517 GB, free: 260 kB / 0.9636 GB Notification: Performance of FrontEnd: time 2.014e-06/1.767, allocations: 8 kB / 1.517 GB, free: 252 kB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000167/1.767, allocations: 52 kB / 1.517 GB, free: 200 kB / 0.9636 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.00937/1.777, allocations: 2.254 MB / 1.519 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/1.777, allocations: 16.03 kB / 1.519 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00231/1.779, allocations: 416.6 kB / 1.52 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01296/1.792, allocations: 1.877 MB / 1.522 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006351/1.798, allocations: 1.599 MB / 1.523 GB, free: 9.93 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003915/1.799, allocations: 205.5 kB / 1.523 GB, free: 9.727 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001871/1.801, allocations: 260 kB / 1.524 GB, free: 9.473 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01548/1.816, allocations: 4.516 MB / 1.528 GB, free: 4.859 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/1.816, allocations: 3.938 kB / 1.528 GB, free: 4.855 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001098/1.818, allocations: 115.9 kB / 1.528 GB, free: 4.742 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004381/1.818, allocations: 188.5 kB / 1.528 GB, free: 4.555 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/1.828, allocations: 4.258 MB / 1.532 GB, free: 288 kB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03545/1.864, allocations: 20.99 MB / 1.553 GB, free: 9.457 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/1.868, allocations: 2.505 MB / 1.555 GB, free: 6.781 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003128/1.871, allocations: 1.633 MB / 1.557 GB, free: 5.133 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002693/1.871, allocations: 126 kB / 1.557 GB, free: 4.992 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/1.872, allocations: 55.5 kB / 1.557 GB, free: 4.93 MB / 1.01 GB Notification: Performance of pre-optimization done (n=139): time 3.807e-06/1.872, allocations: 0 / 1.557 GB, free: 4.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=181): time 0.03006/1.902, allocations: 9.97 MB / 1.567 GB, free: 10.92 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/1.902, allocations: 238.9 kB / 1.567 GB, free: 10.63 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/1.903, allocations: 0.882 MB / 1.568 GB, free: 9.742 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001742/1.903, allocations: 49.7 kB / 1.568 GB, free: 9.688 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008077/1.904, allocations: 1.092 MB / 1.569 GB, free: 8.578 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006551/1.905, allocations: 0.6278 MB / 1.57 GB, free: 7.941 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/1.905, allocations: 44 kB / 1.57 GB, free: 7.898 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0002569/1.905, allocations: 431.3 kB / 1.57 GB, free: 7.469 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002156/1.907, allocations: 1.391 MB / 1.571 GB, free: 6.074 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002696/1.91, allocations: 1.976 MB / 1.573 GB, free: 3.848 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002505/1.913, allocations: 1.715 MB / 1.575 GB, free: 2.137 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/1.913, allocations: 4 kB / 1.575 GB, free: 2.133 MB / 1.026 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.007678/1.92, allocations: 4.402 MB / 1.579 GB, free: 13.71 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.003402/1.924, allocations: 6.891 MB / 1.586 GB, free: 6.281 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/1.924, allocations: 16 kB / 1.586 GB, free: 6.266 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002561/1.926, allocations: 1.059 MB / 1.587 GB, free: 5.199 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003577/1.93, allocations: 0.7448 MB / 1.588 GB, free: 4.453 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/1.945, allocations: 10.12 MB / 1.598 GB, free: 10.06 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003827/1.948, allocations: 455.1 kB / 1.598 GB, free: 9.613 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005948/1.949, allocations: 112 kB / 1.598 GB, free: 9.504 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.949, allocations: 4 kB / 1.598 GB, free: 9.5 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008813/1.958, allocations: 4.264 MB / 1.602 GB, free: 5.227 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.462e-05/1.958, allocations: 20.06 kB / 1.603 GB, free: 5.207 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002371/1.96, allocations: 0.8764 MB / 1.603 GB, free: 4.324 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003615/1.964, allocations: 0.7409 MB / 1.604 GB, free: 3.582 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/1.979, allocations: 10.03 MB / 1.614 GB, free: 9.277 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004013/1.983, allocations: 447.2 kB / 1.614 GB, free: 8.84 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007725/1.984, allocations: 111.9 kB / 1.614 GB, free: 8.73 MB / 1.073 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 () * 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 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000899/1.985, allocations: 240.2 kB / 1.615 GB, free: 8.488 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006352/1.986, allocations: 126.6 kB / 1.615 GB, free: 8.363 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008181/1.994, allocations: 4.18 MB / 1.619 GB, free: 4.133 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/1.994, allocations: 24 kB / 1.619 GB, free: 4.109 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.192e-05/1.994, allocations: 12 kB / 1.619 GB, free: 4.098 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/1.994, allocations: 7.969 kB / 1.619 GB, free: 4.09 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/2.009, allocations: 7.799 MB / 1.627 GB, free: 12.12 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/2.009, allocations: 8 kB / 1.627 GB, free: 12.11 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002639/2.012, allocations: 0.5381 MB / 1.627 GB, free: 11.57 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002288/2.014, allocations: 0.8764 MB / 1.628 GB, free: 10.69 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/2.014, allocations: 67.94 kB / 1.628 GB, free: 10.62 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01496/2.029, allocations: 9.683 MB / 1.637 GB, free: 0.668 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.326e-05/2.029, allocations: 15.88 kB / 1.637 GB, free: 0.6523 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007265/2.036, allocations: 4.221 MB / 1.642 GB, free: 12.09 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/2.038, allocations: 0.5305 MB / 1.642 GB, free: 11.54 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/2.038, allocations: 40 kB / 1.642 GB, free: 11.5 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002565/2.04, allocations: 403.3 kB / 1.643 GB, free: 11.11 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003629/2.041, allocations: 160.9 kB / 1.643 GB, free: 10.95 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001581/2.041, allocations: 71.95 kB / 1.643 GB, free: 10.88 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001131/2.042, allocations: 0.6982 MB / 1.643 GB, free: 10.18 MB / 1.104 GB Notification: Performance of sort global known variables: time 2.2e-07/2.042, allocations: 0 / 1.643 GB, free: 10.18 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.004197/2.046, allocations: 1.23 MB / 1.645 GB, free: 8.953 MB / 1.104 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 () * 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,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007769/2.054, allocations: 7.227 MB / 1.652 GB, free: 1.453 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.012/2.066, allocations: 6.564 MB / 1.658 GB, free: 10.84 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/2.066, allocations: 0.9375 kB / 1.658 GB, free: 10.84 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.003658/2.07, allocations: 2.116 MB / 1.66 GB, free: 8.699 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/2.071, allocations: 153.2 kB / 1.66 GB, free: 8.551 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/2.091, allocations: 6.644 MB / 1.667 GB, free: 1.746 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002675/2.093, allocations: 2.273 MB / 1.669 GB, free: 15.44 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.004219/2.098, allocations: 1.32 MB / 1.67 GB, free: 14.11 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/2.099, allocations: 0.8037 MB / 1.671 GB, free: 13.31 MB / 1.135 GB Notification: Performance of SimCode: time 1.012e-06/2.099, allocations: 0 / 1.671 GB, free: 13.31 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7989/2.898, allocations: 51.7 MB / 1.722 GB, free: 340.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/2.898, allocations: 209.3 kB / 1.722 GB, free: 340.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.312/6.21, allocations: 3.188 kB / 1.722 GB, free: 340.6 MB / 1.151 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) 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