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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.332/2.332, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001231/0.001231, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.52/1.52, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008279/0.0008281, allocations: 105.5 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.307e-05/2.309e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2676, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9585/1.226, allocations: 198.1 MB / 1.399 GB, free: 9.746 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/1.227, allocations: 101.8 kB / 1.4 GB, free: 9.691 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2487/1.475, allocations: 105.3 MB / 1.502 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.954e-06/1.475, allocations: 7.938 kB / 1.502 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001047/1.475, allocations: 59.94 kB / 1.502 GB, free: 15.25 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.006208/1.482, allocations: 2.248 MB / 1.505 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.482, allocations: 12.03 kB / 1.505 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/1.494, allocations: 1.885 MB / 1.507 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004322/1.498, allocations: 1.595 MB / 1.508 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/1.498, allocations: 88 kB / 1.508 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007026/1.499, allocations: 152 kB / 1.508 GB, free: 9.176 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007562/1.507, allocations: 3.833 MB / 1.512 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008597/1.515, allocations: 4.122 MB / 1.516 GB, free: 1.121 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.265e-05/1.515, allocations: 4 kB / 1.516 GB, free: 1.117 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002822/1.516, allocations: 0 / 1.516 GB, free: 1.117 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003274/1.516, allocations: 200.4 kB / 1.516 GB, free: 0.918 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02673/1.543, allocations: 20.4 MB / 1.536 GB, free: 10.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003061/1.546, allocations: 2.467 MB / 1.539 GB, free: 8.051 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/1.548, allocations: 1.365 MB / 1.54 GB, free: 6.672 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/1.548, allocations: 126.4 kB / 1.54 GB, free: 6.531 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/1.548, allocations: 59.8 kB / 1.54 GB, free: 6.461 MB / 0.948 GB Notification: Performance of pre-optimization done (n=139): time 3.266e-06/1.548, allocations: 0 / 1.54 GB, free: 6.461 MB / 0.948 GB Notification: Performance of matching and sorting (n=181): time 0.01504/1.563, allocations: 7.745 MB / 1.548 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.563, allocations: 234.9 kB / 1.548 GB, free: 14.41 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/1.564, allocations: 0.8313 MB / 1.549 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002459/1.565, allocations: 25.7 kB / 1.549 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006766/1.565, allocations: 1.1 MB / 1.55 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006241/1.566, allocations: 0.5927 MB / 1.55 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/1.566, allocations: 3.938 kB / 1.55 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000205/1.566, allocations: 427.3 kB / 1.551 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001849/1.568, allocations: 1.383 MB / 1.552 GB, free: 10 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/1.57, allocations: 1.934 MB / 1.554 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003703/1.574, allocations: 2.016 MB / 1.556 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/1.574, allocations: 7.938 kB / 1.556 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.008556/1.583, allocations: 4.581 MB / 1.561 GB, free: 1.207 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002523/1.585, allocations: 6.705 MB / 1.567 GB, free: 9.977 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/1.585, allocations: 16 kB / 1.567 GB, free: 9.961 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/1.588, allocations: 0.9771 MB / 1.568 GB, free: 8.977 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0037/1.591, allocations: 0.7409 MB / 1.569 GB, free: 8.234 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/1.605, allocations: 10.01 MB / 1.579 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003602/1.609, allocations: 415 kB / 1.579 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004469/1.61, allocations: 111.9 kB / 1.579 GB, free: 13.47 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.61, allocations: 4 kB / 1.579 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007899/1.618, allocations: 4.308 MB / 1.583 GB, free: 9.148 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.746e-05/1.618, allocations: 20.03 kB / 1.583 GB, free: 9.129 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/1.619, allocations: 0.8368 MB / 1.584 GB, free: 8.285 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003508/1.623, allocations: 0.7526 MB / 1.585 GB, free: 7.531 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/1.636, allocations: 9.584 MB / 1.594 GB, free: 13.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003402/1.639, allocations: 403.1 kB / 1.595 GB, free: 13.31 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000339/1.64, allocations: 115.9 kB / 1.595 GB, free: 13.2 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.0006296/1.64, allocations: 152.4 kB / 1.595 GB, free: 13.04 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006881/1.647, allocations: 3.611 MB / 1.598 GB, free: 9.41 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004133/1.648, allocations: 126.5 kB / 1.598 GB, free: 9.285 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007666/1.655, allocations: 4.269 MB / 1.603 GB, free: 4.969 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/1.656, allocations: 16 kB / 1.603 GB, free: 4.953 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.656, allocations: 12 kB / 1.603 GB, free: 4.941 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/1.656, allocations: 11.97 kB / 1.603 GB, free: 4.93 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/1.668, allocations: 7.263 MB / 1.61 GB, free: 13.53 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.668, allocations: 8 kB / 1.61 GB, free: 13.52 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00255/1.67, allocations: 0.5309 MB / 1.61 GB, free: 12.99 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002051/1.672, allocations: 0.8526 MB / 1.611 GB, free: 12.13 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/1.673, allocations: 23.97 kB / 1.611 GB, free: 12.11 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/1.684, allocations: 9.31 MB / 1.62 GB, free: 2.562 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/1.684, allocations: 11.94 kB / 1.62 GB, free: 2.551 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007096/1.692, allocations: 4.141 MB / 1.624 GB, free: 14.15 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/1.693, allocations: 0.5305 MB / 1.625 GB, free: 13.6 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/1.693, allocations: 11.98 kB / 1.625 GB, free: 13.59 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002568/1.696, allocations: 383.6 kB / 1.625 GB, free: 13.21 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003682/1.696, allocations: 152.9 kB / 1.625 GB, free: 13.06 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/1.696, allocations: 63.95 kB / 1.625 GB, free: 13 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001057/1.697, allocations: 0.6591 MB / 1.626 GB, free: 12.34 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.51e-07/1.697, allocations: 0 / 1.626 GB, free: 12.34 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.004235/1.701, allocations: 1.086 MB / 1.627 GB, free: 11.25 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.007657/1.709, allocations: 6.585 MB / 1.634 GB, free: 4.457 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01177/1.721, allocations: 6.341 MB / 1.64 GB, free: 14.08 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/1.721, allocations: 4.062 kB / 1.64 GB, free: 14.08 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.003763/1.725, allocations: 2.049 MB / 1.642 GB, free: 12 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/1.726, allocations: 133 kB / 1.642 GB, free: 11.88 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/1.745, allocations: 6.428 MB / 1.648 GB, free: 5.312 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002506/1.747, allocations: 2.273 MB / 1.65 GB, free: 3.004 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.004097/1.751, allocations: 1.319 MB / 1.652 GB, free: 1.68 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/1.753, allocations: 0.8038 MB / 1.652 GB, free: 0.875 MB / 1.057 GB Notification: Performance of SimCode: time 1.182e-06/1.753, allocations: 3.938 kB / 1.652 GB, free: 0.8711 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09877/1.851, allocations: 50.52 MB / 1.702 GB, free: 14.46 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/1.852, allocations: 174.1 kB / 1.702 GB, free: 14.27 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.416/5.267, allocations: 4 kB / 1.702 GB, free: 14.27 MB / 1.12 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