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.277/2.277, allocations: 390.5 MB / 398 MB, free: 10.96 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.001178/0.001178, allocations: 184.9 kB / 491.2 MB, free: 1.586 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.441/1.441, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009526/0.0009522, allocations: 87.95 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.948e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2638, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.326, allocations: 198.9 MB / 1.407 GB, free: 1.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003917/1.326, allocations: 98.94 kB / 1.407 GB, free: 1.285 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.266/1.592, allocations: 105.3 MB / 1.51 GB, free: 6.855 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.004e-06/1.592, allocations: 0 / 1.51 GB, free: 6.855 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002154/1.593, allocations: 52 kB / 1.51 GB, free: 6.805 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.009329/1.602, allocations: 2.263 MB / 1.512 GB, free: 4.488 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/1.602, allocations: 8.031 kB / 1.512 GB, free: 4.48 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/1.614, allocations: 1.873 MB / 1.514 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005232/1.62, allocations: 1.603 MB / 1.515 GB, free: 0.9531 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/1.62, allocations: 92 kB / 1.515 GB, free: 0.8633 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001732/1.622, allocations: 152 kB / 1.515 GB, free: 0.7148 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01068/1.632, allocations: 3.83 MB / 1.519 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/1.647, allocations: 4.122 MB / 1.523 GB, free: 8.664 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/1.647, allocations: 0 / 1.523 GB, free: 8.664 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001101/1.648, allocations: 7.953 kB / 1.523 GB, free: 8.656 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004138/1.648, allocations: 192.4 kB / 1.523 GB, free: 8.465 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03418/1.683, allocations: 20.4 MB / 1.543 GB, free: 2.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003693/1.686, allocations: 2.468 MB / 1.546 GB, free: 15.61 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/1.689, allocations: 1.369 MB / 1.547 GB, free: 14.22 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/1.689, allocations: 122.4 kB / 1.547 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.263e-05/1.689, allocations: 55.77 kB / 1.547 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=139): time 3.507e-06/1.689, allocations: 0 / 1.547 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181): time 0.01799/1.707, allocations: 7.753 MB / 1.555 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/1.707, allocations: 230.9 kB / 1.555 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/1.709, allocations: 0.839 MB / 1.556 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002437/1.709, allocations: 29.7 kB / 1.556 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000816/1.71, allocations: 1.096 MB / 1.557 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007891/1.711, allocations: 0.5927 MB / 1.558 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/1.711, allocations: 0 / 1.558 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002978/1.711, allocations: 431.3 kB / 1.558 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/1.713, allocations: 1.375 MB / 1.559 GB, free: 1.559 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002743/1.716, allocations: 1.938 MB / 1.561 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004154/1.72, allocations: 2.016 MB / 1.563 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.055e-05/1.72, allocations: 4 kB / 1.563 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.009337/1.73, allocations: 4.581 MB / 1.568 GB, free: 8.762 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.004199/1.734, allocations: 6.712 MB / 1.574 GB, free: 1.527 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.656e-05/1.734, allocations: 20 kB / 1.574 GB, free: 1.508 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002998/1.737, allocations: 0.9655 MB / 1.575 GB, free: 0.5352 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003944/1.741, allocations: 0.7448 MB / 1.576 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01566/1.757, allocations: 10.01 MB / 1.586 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003889/1.761, allocations: 419.1 kB / 1.586 GB, free: 5.129 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000741/1.761, allocations: 112 kB / 1.586 GB, free: 5.02 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.761, allocations: 4 kB / 1.586 GB, free: 5.016 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009371/1.771, allocations: 4.307 MB / 1.59 GB, free: 0.6992 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.608e-05/1.771, allocations: 16 kB / 1.59 GB, free: 0.6836 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/1.773, allocations: 0.841 MB / 1.591 GB, free: 15.84 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003565/1.777, allocations: 0.7409 MB / 1.592 GB, free: 15.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/1.789, allocations: 9.595 MB / 1.601 GB, free: 5.258 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003603/1.793, allocations: 403.1 kB / 1.602 GB, free: 4.863 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000795/1.794, allocations: 108 kB / 1.602 GB, free: 4.758 MB / 1.01 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 () * 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.0011/1.795, allocations: 164.4 kB / 1.602 GB, free: 4.59 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008608/1.803, allocations: 3.607 MB / 1.605 GB, free: 0.9648 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007847/1.804, allocations: 122.6 kB / 1.606 GB, free: 0.8438 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009086/1.814, allocations: 4.261 MB / 1.61 GB, free: 12.54 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/1.814, allocations: 20 kB / 1.61 GB, free: 12.52 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.688e-05/1.814, allocations: 12 kB / 1.61 GB, free: 12.5 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.799e-05/1.814, allocations: 11.95 kB / 1.61 GB, free: 12.49 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/1.828, allocations: 7.263 MB / 1.617 GB, free: 5.09 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/1.828, allocations: 4 kB / 1.617 GB, free: 5.086 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/1.83, allocations: 0.5303 MB / 1.617 GB, free: 4.555 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002137/1.833, allocations: 0.8607 MB / 1.618 GB, free: 3.688 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/1.833, allocations: 31.95 kB / 1.618 GB, free: 3.656 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/1.845, allocations: 9.299 MB / 1.627 GB, free: 10.12 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-05/1.845, allocations: 12.25 kB / 1.627 GB, free: 10.11 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007442/1.853, allocations: 4.156 MB / 1.631 GB, free: 5.688 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/1.854, allocations: 0.5344 MB / 1.632 GB, free: 5.133 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004043/1.854, allocations: 19.89 kB / 1.632 GB, free: 5.113 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002852/1.857, allocations: 371.3 kB / 1.632 GB, free: 4.75 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003854/1.858, allocations: 153 kB / 1.632 GB, free: 4.602 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/1.858, allocations: 63.95 kB / 1.633 GB, free: 4.539 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001141/1.859, allocations: 0.6514 MB / 1.633 GB, free: 3.887 MB / 1.042 GB Notification: Performance of sort global known variables: time 3.81e-07/1.859, allocations: 4 kB / 1.633 GB, free: 3.883 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.004969/1.864, allocations: 1.094 MB / 1.634 GB, free: 2.789 MB / 1.042 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 () * 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.008532/1.872, allocations: 6.581 MB / 1.641 GB, free: 12 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01235/1.885, allocations: 6.324 MB / 1.647 GB, free: 5.633 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/1.885, allocations: 0 / 1.647 GB, free: 5.633 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003911/1.889, allocations: 2.057 MB / 1.649 GB, free: 3.555 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/1.89, allocations: 125.2 kB / 1.649 GB, free: 3.438 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/1.911, allocations: 6.441 MB / 1.655 GB, free: 12.86 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002807/1.914, allocations: 2.277 MB / 1.657 GB, free: 10.55 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.004453/1.918, allocations: 1.324 MB / 1.659 GB, free: 9.219 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/1.919, allocations: 0.7999 MB / 1.66 GB, free: 8.418 MB / 1.073 GB Notification: Performance of SimCode: time 1.153e-06/1.919, allocations: 0 / 1.66 GB, free: 8.418 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09601/2.015, allocations: 50.51 MB / 1.709 GB, free: 6.039 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/2.016, allocations: 185.9 kB / 1.709 GB, free: 5.84 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.398/5.414, allocations: 0 / 1.709 GB, free: 5.84 MB / 1.12 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