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.304/2.304, allocations: 393.5 MB / 408.4 MB, free: 10.86 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.00138/0.00138, allocations: 191.9 kB / 0.4901 GB, free: 2.078 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.71/1.71, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009283/0.0009283, allocations: 94.91 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004593, allocations: 8.859 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3359, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2652/0.6011, allocations: 199.6 MB / 1.424 GB, free: 1.715 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.6015, allocations: 103.9 kB / 1.424 GB, free: 1.613 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.989/1.591, allocations: 106.2 MB / 1.528 GB, free: 118.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.228e-06/1.591, allocations: 3.938 kB / 1.528 GB, free: 118.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001974/1.591, allocations: 55.98 kB / 1.528 GB, free: 118.3 MB / 0.9167 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.009602/1.6, allocations: 2.321 MB / 1.53 GB, free: 115.9 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/1.601, allocations: 12.77 kB / 1.53 GB, free: 115.9 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00257/1.603, allocations: 420.6 kB / 1.531 GB, free: 115.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/1.615, allocations: 1.885 MB / 1.533 GB, free: 113.6 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005061/1.62, allocations: 1.601 MB / 1.534 GB, free: 111.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/1.62, allocations: 205.5 kB / 1.534 GB, free: 111.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001662/1.622, allocations: 267.9 kB / 1.535 GB, free: 111.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0151/1.637, allocations: 5.026 MB / 1.539 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.361e-05/1.637, allocations: 3.938 kB / 1.539 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003638/1.637, allocations: 115.9 kB / 1.54 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002671/1.637, allocations: 188.4 kB / 1.54 GB, free: 106 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/1.649, allocations: 5.248 MB / 1.545 GB, free: 100.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02623/1.676, allocations: 20.99 MB / 1.565 GB, free: 77.94 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005247/1.681, allocations: 2.998 MB / 1.568 GB, free: 74.77 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/1.681, allocations: 118.1 kB / 1.568 GB, free: 74.64 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/1.681, allocations: 55.45 kB / 1.569 GB, free: 74.58 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=139): time 3.386e-06/1.681, allocations: 4 kB / 1.569 GB, free: 74.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=181): time 0.03744/1.719, allocations: 12.93 MB / 1.581 GB, free: 61.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/1.719, allocations: 230.9 kB / 1.581 GB, free: 61.32 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/1.72, allocations: 0.8858 MB / 1.582 GB, free: 60.43 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002346/1.72, allocations: 53.7 kB / 1.582 GB, free: 60.37 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/1.721, allocations: 1.104 MB / 1.583 GB, free: 59.25 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004665/1.721, allocations: 0.62 MB / 1.584 GB, free: 58.62 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/1.721, allocations: 44 kB / 1.584 GB, free: 58.58 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.721, allocations: 431.3 kB / 1.584 GB, free: 58.15 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003906/1.725, allocations: 1.889 MB / 1.586 GB, free: 56.25 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004241/1.729, allocations: 2.464 MB / 1.589 GB, free: 53.55 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00424/1.734, allocations: 2.203 MB / 1.591 GB, free: 51.35 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/1.734, allocations: 4 kB / 1.591 GB, free: 51.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01162/1.745, allocations: 5.4 MB / 1.596 GB, free: 45.93 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001234/1.747, allocations: 6.709 MB / 1.603 GB, free: 38.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/1.747, allocations: 20 kB / 1.603 GB, free: 38.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00234/1.749, allocations: 1.063 MB / 1.604 GB, free: 37.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003462/1.753, allocations: 0.7526 MB / 1.604 GB, free: 36.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/1.764, allocations: 10.52 MB / 1.615 GB, free: 26.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003505/1.767, allocations: 463.1 kB / 1.615 GB, free: 25.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003436/1.768, allocations: 111.9 kB / 1.615 GB, free: 25.49 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.768, allocations: 7.938 kB / 1.615 GB, free: 25.48 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01087/1.779, allocations: 5.255 MB / 1.62 GB, free: 20.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.597e-05/1.779, allocations: 16 kB / 1.62 GB, free: 20.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/1.781, allocations: 0.872 MB / 1.621 GB, free: 19.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/1.784, allocations: 0.7409 MB / 1.622 GB, free: 18.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/1.794, allocations: 10.51 MB / 1.632 GB, free: 7.793 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003142/1.797, allocations: 447.2 kB / 1.633 GB, free: 7.355 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/1.798, allocations: 112 kB / 1.633 GB, free: 7.246 MB / 0.9167 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 (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.002195/1.8, allocations: 1.216 MB / 1.634 GB, free: 6.02 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000415/1.8, allocations: 122.6 kB / 1.634 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/1.811, allocations: 5.17 MB / 1.639 GB, free: 0.6758 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/1.811, allocations: 20 kB / 1.639 GB, free: 0.6562 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.811, allocations: 16 kB / 1.639 GB, free: 0.6406 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/1.811, allocations: 7.969 kB / 1.639 GB, free: 0.6328 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/1.829, allocations: 8.65 MB / 1.648 GB, free: 7.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/1.829, allocations: 11.94 kB / 1.648 GB, free: 7.828 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002485/1.831, allocations: 0.5264 MB / 1.648 GB, free: 7.301 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002208/1.834, allocations: 0.8733 MB / 1.649 GB, free: 6.422 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/1.834, allocations: 59.84 kB / 1.649 GB, free: 6.363 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01367/1.848, allocations: 10.09 MB / 1.659 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.848, allocations: 11.94 kB / 1.659 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/1.859, allocations: 5.038 MB / 1.664 GB, free: 6.68 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/1.861, allocations: 0.5228 MB / 1.664 GB, free: 6.137 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/1.861, allocations: 40 kB / 1.664 GB, free: 6.098 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002482/1.863, allocations: 403.2 kB / 1.665 GB, free: 5.703 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003768/1.864, allocations: 157 kB / 1.665 GB, free: 5.551 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/1.864, allocations: 67.95 kB / 1.665 GB, free: 5.484 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001124/1.865, allocations: 0.7059 MB / 1.666 GB, free: 4.781 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.865, allocations: 0 / 1.666 GB, free: 4.781 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004667/1.87, allocations: 1.227 MB / 1.667 GB, free: 3.555 MB / 0.948 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 (105): * Single equations (assignments): 103 * 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.01213/1.882, allocations: 7.499 MB / 1.674 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0199/1.902, allocations: 8.05 MB / 1.682 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/1.902, allocations: 4 kB / 1.682 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.006574/1.909, allocations: 2.626 MB / 1.685 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/1.91, allocations: 155.2 kB / 1.685 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06208/1.972, allocations: 29.5 MB / 1.714 GB, free: 2.754 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003958/1.976, allocations: 2.273 MB / 1.716 GB, free: 456 kB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.006602/1.983, allocations: 1.288 MB / 1.717 GB, free: 15.15 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002409/1.985, allocations: 0.8116 MB / 1.718 GB, free: 14.34 MB / 1.01 GB Notification: Performance of SimCode: time 8.32e-07/1.985, allocations: 4 kB / 1.718 GB, free: 14.34 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1267/2.112, allocations: 50.35 MB / 1.767 GB, free: 12.34 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/2.112, allocations: 241.2 kB / 1.767 GB, free: 12.09 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.321/5.433, allocations: 0 / 1.767 GB, free: 12.09 MB / 1.057 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