Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.Transformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",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.381/2.381, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.00174/0.00174, allocations: 187.2 kB / 498.1 MB, free: 5.734 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.512/1.512, allocations: 223.2 MB / 0.7948 GB, free: 18.86 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.0009772/0.0009772, allocations: 98.66 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004242, allocations: 9.328 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3101, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8784/1.189, allocations: 199.5 MB / 1.418 GB, free: 179.4 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003571/1.189, allocations: 98.17 kB / 1.418 GB, free: 179.4 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.2498/1.439, allocations: 113 MB / 1.528 GB, free: 83.53 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.767e-06/1.439, allocations: 4 kB / 1.528 GB, free: 83.52 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001365/1.439, allocations: 59.98 kB / 1.528 GB, free: 83.46 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.007978/1.447, allocations: 2.436 MB / 1.531 GB, free: 80.97 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.447, allocations: 8.031 kB / 1.531 GB, free: 80.96 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002023/1.449, allocations: 446.1 kB / 1.531 GB, free: 80.51 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/1.46, allocations: 1.9 MB / 1.533 GB, free: 78.61 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005224/1.466, allocations: 1.683 MB / 1.535 GB, free: 76.88 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/1.466, allocations: 221.9 kB / 1.535 GB, free: 76.66 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001529/1.467, allocations: 284 kB / 1.535 GB, free: 76.38 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01822/1.486, allocations: 5.325 MB / 1.54 GB, free: 70.96 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001534/1.486, allocations: 8 kB / 1.54 GB, free: 70.95 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001417/1.487, allocations: 120 kB / 1.54 GB, free: 70.83 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003946/1.488, allocations: 200.8 kB / 1.541 GB, free: 70.63 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01396/1.502, allocations: 5.37 MB / 1.546 GB, free: 65.25 MB / 0.9011 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03027/1.532, allocations: 22.78 MB / 1.568 GB, free: 40.42 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004894/1.537, allocations: 2.488 MB / 1.57 GB, free: 37.81 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/1.537, allocations: 122 kB / 1.571 GB, free: 37.68 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/1.537, allocations: 59.5 kB / 1.571 GB, free: 37.61 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=116): time 3.637e-06/1.537, allocations: 0 / 1.571 GB, free: 37.61 MB / 0.9011 GB Notification: Performance of matching and sorting (n=146): time 0.03518/1.572, allocations: 11.55 MB / 1.582 GB, free: 26.01 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/1.572, allocations: 231 kB / 1.582 GB, free: 25.73 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/1.574, allocations: 0.9408 MB / 1.583 GB, free: 24.78 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003145/1.574, allocations: 49.7 kB / 1.583 GB, free: 24.73 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006285/1.575, allocations: 1.239 MB / 1.584 GB, free: 23.47 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006019/1.576, allocations: 0.5007 MB / 1.585 GB, free: 22.96 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/1.576, allocations: 44 kB / 1.585 GB, free: 22.92 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002052/1.576, allocations: 423 kB / 1.585 GB, free: 22.5 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004252/1.58, allocations: 1.76 MB / 1.587 GB, free: 20.73 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004352/1.585, allocations: 2.436 MB / 1.589 GB, free: 17.98 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004421/1.589, allocations: 2.083 MB / 1.591 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-05/1.589, allocations: 4 kB / 1.591 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01109/1.6, allocations: 4.993 MB / 1.596 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002233/1.603, allocations: 8.618 MB / 1.605 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-05/1.603, allocations: 20 kB / 1.605 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/1.605, allocations: 0.7504 MB / 1.605 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003288/1.608, allocations: 0.7681 MB / 1.606 GB, free: 24 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/1.621, allocations: 12.8 MB / 1.619 GB, free: 2.422 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/1.625, allocations: 475 kB / 1.619 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005889/1.626, allocations: 112 kB / 1.619 GB, free: 1.848 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/1.626, allocations: 0 / 1.619 GB, free: 1.848 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01263/1.638, allocations: 4.856 MB / 1.624 GB, free: 12.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.2e-05/1.638, allocations: 24.27 kB / 1.624 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/1.64, allocations: 0.6965 MB / 1.625 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003551/1.644, allocations: 0.7643 MB / 1.625 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.657, allocations: 12.69 MB / 1.638 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003445/1.661, allocations: 463 kB / 1.638 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006579/1.661, allocations: 108 kB / 1.638 GB, free: 13.42 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (232): * Single equations (assignments): 226 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003511/1.665, allocations: 1.293 MB / 1.64 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006975/1.665, allocations: 122.5 kB / 1.64 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.677, allocations: 4.347 MB / 1.644 GB, free: 7.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/1.677, allocations: 16 kB / 1.644 GB, free: 7.574 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.241e-05/1.677, allocations: 11.95 kB / 1.644 GB, free: 7.562 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/1.677, allocations: 7.969 kB / 1.644 GB, free: 7.555 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/1.697, allocations: 7.928 MB / 1.652 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/1.697, allocations: 4 kB / 1.652 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002549/1.699, allocations: 0.5269 MB / 1.652 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/1.701, allocations: 0.6376 MB / 1.653 GB, free: 14.27 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/1.702, allocations: 51.95 kB / 1.653 GB, free: 14.22 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01352/1.715, allocations: 12.34 MB / 1.665 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/1.715, allocations: 19.94 kB / 1.665 GB, free: 1.059 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/1.726, allocations: 4.488 MB / 1.669 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/1.727, allocations: 499.4 kB / 1.67 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003937/1.728, allocations: 28 kB / 1.67 GB, free: 11.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002645/1.73, allocations: 407.2 kB / 1.67 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003355/1.731, allocations: 132.6 kB / 1.67 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/1.731, allocations: 59.95 kB / 1.671 GB, free: 11.17 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001356/1.732, allocations: 0.7292 MB / 1.671 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.1e-07/1.732, allocations: 0 / 1.671 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005343/1.738, allocations: 1.16 MB / 1.672 GB, free: 9.285 MB / 0.9792 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 (101): * Single equations (assignments): 95 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01162/1.749, allocations: 6.964 MB / 1.679 GB, free: 2.09 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01974/1.769, allocations: 8.11 MB / 1.687 GB, free: 9.832 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.769, allocations: 0 / 1.687 GB, free: 9.832 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005875/1.775, allocations: 2.724 MB / 1.69 GB, free: 7.027 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/1.776, allocations: 154.5 kB / 1.69 GB, free: 6.879 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05163/1.828, allocations: 32.34 MB / 1.721 GB, free: 5.742 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003671/1.832, allocations: 2.334 MB / 1.724 GB, free: 3.367 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.004293/1.836, allocations: 1.245 MB / 1.725 GB, free: 2.117 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/1.838, allocations: 0.8507 MB / 1.726 GB, free: 1.266 MB / 1.026 GB Notification: Performance of SimCode: time 1.653e-06/1.838, allocations: 3.938 kB / 1.726 GB, free: 1.262 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08681/1.924, allocations: 46.24 MB / 1.771 GB, free: 3.312 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/1.925, allocations: 233.4 kB / 1.771 GB, free: 3.066 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/5.029, allocations: 0 / 1.771 GB, free: 3.066 MB / 1.073 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat