Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.Transformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.388/2.388, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001214/0.001214, allocations: 184 kB / 0.4901 GB, free: 2.219 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.67/1.67, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.0009875/0.0009876, allocations: 114.7 kB / 0.9396 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004005, allocations: 13.5 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3212, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.33, allocations: 200.3 MB / 1.425 GB, free: 174.7 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/1.33, allocations: 98.31 kB / 1.425 GB, free: 174.7 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.2512/1.581, allocations: 113 MB / 1.535 GB, free: 75.41 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.955e-06/1.582, allocations: 3.938 kB / 1.535 GB, free: 75.41 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001614/1.582, allocations: 60 kB / 1.535 GB, free: 75.35 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.009379/1.591, allocations: 2.431 MB / 1.538 GB, free: 72.86 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/1.591, allocations: 8.031 kB / 1.538 GB, free: 72.85 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002515/1.594, allocations: 454.1 kB / 1.538 GB, free: 72.39 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/1.605, allocations: 1.896 MB / 1.54 GB, free: 70.49 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005199/1.61, allocations: 1.687 MB / 1.542 GB, free: 68.76 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/1.611, allocations: 213.9 kB / 1.542 GB, free: 68.55 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001717/1.612, allocations: 292 kB / 1.542 GB, free: 68.26 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01707/1.629, allocations: 5.321 MB / 1.547 GB, free: 62.85 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001499/1.63, allocations: 0 / 1.547 GB, free: 62.85 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001379/1.631, allocations: 128 kB / 1.548 GB, free: 62.72 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003792/1.631, allocations: 192.9 kB / 1.548 GB, free: 62.53 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/1.646, allocations: 5.37 MB / 1.553 GB, free: 57.15 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.03269/1.679, allocations: 22.77 MB / 1.575 GB, free: 32.32 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005495/1.685, allocations: 2.5 MB / 1.578 GB, free: 29.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/1.685, allocations: 106.1 kB / 1.578 GB, free: 29.58 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/1.685, allocations: 59.48 kB / 1.578 GB, free: 29.52 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=116): time 4.428e-06/1.685, allocations: 0 / 1.578 GB, free: 29.52 MB / 0.9011 GB Notification: Performance of matching and sorting (n=146): time 0.03905/1.724, allocations: 11.56 MB / 1.589 GB, free: 17.91 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/1.724, allocations: 218.9 kB / 1.589 GB, free: 17.65 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/1.726, allocations: 0.9446 MB / 1.59 GB, free: 16.69 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004016/1.726, allocations: 53.7 kB / 1.59 GB, free: 16.63 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007976/1.727, allocations: 1.239 MB / 1.591 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008206/1.728, allocations: 0.5008 MB / 1.592 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003131/1.728, allocations: 44 kB / 1.592 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002746/1.729, allocations: 431 kB / 1.592 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004557/1.733, allocations: 1.76 MB / 1.594 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004889/1.738, allocations: 2.432 MB / 1.596 GB, free: 9.887 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004953/1.743, allocations: 2.083 MB / 1.599 GB, free: 7.801 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.262e-05/1.743, allocations: 8 kB / 1.599 GB, free: 7.793 MB / 0.9011 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01223/1.755, allocations: 4.993 MB / 1.603 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.004575/1.76, allocations: 8.615 MB / 1.612 GB, free: 9.484 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.947e-05/1.76, allocations: 24 kB / 1.612 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002707/1.763, allocations: 0.7426 MB / 1.613 GB, free: 8.699 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004011/1.767, allocations: 0.7681 MB / 1.613 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01646/1.783, allocations: 12.81 MB / 1.626 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004008/1.787, allocations: 478.8 kB / 1.626 GB, free: 9.852 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007367/1.788, allocations: 112 kB / 1.626 GB, free: 9.742 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.788, allocations: 4 kB / 1.626 GB, free: 9.738 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01303/1.801, allocations: 4.856 MB / 1.631 GB, free: 4.859 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001454/1.801, allocations: 24 kB / 1.631 GB, free: 4.836 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/1.804, allocations: 0.6968 MB / 1.632 GB, free: 4.121 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003949/1.808, allocations: 0.7643 MB / 1.633 GB, free: 3.355 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01628/1.824, allocations: 12.68 MB / 1.645 GB, free: 5.871 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003716/1.828, allocations: 451.1 kB / 1.645 GB, free: 5.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008447/1.829, allocations: 116 kB / 1.645 GB, free: 5.316 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.004209/1.833, allocations: 1.292 MB / 1.647 GB, free: 4.012 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008763/1.834, allocations: 122.5 kB / 1.647 GB, free: 3.891 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/1.846, allocations: 4.351 MB / 1.651 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/1.846, allocations: 12 kB / 1.651 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-05/1.846, allocations: 19.95 kB / 1.651 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.156e-05/1.846, allocations: 3.984 kB / 1.651 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/1.865, allocations: 7.92 MB / 1.659 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.266e-05/1.865, allocations: 12 kB / 1.659 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/1.868, allocations: 0.5272 MB / 1.659 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001997/1.87, allocations: 0.6458 MB / 1.66 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000285/1.87, allocations: 47.95 kB / 1.66 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01511/1.885, allocations: 12.34 MB / 1.672 GB, free: 8.961 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/1.885, allocations: 11.92 kB / 1.672 GB, free: 8.949 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/1.899, allocations: 4.492 MB / 1.677 GB, free: 4.18 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/1.901, allocations: 495.4 kB / 1.677 GB, free: 3.676 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006251/1.901, allocations: 31.98 kB / 1.677 GB, free: 3.645 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003013/1.904, allocations: 395.4 kB / 1.677 GB, free: 3.258 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004893/1.905, allocations: 136.6 kB / 1.678 GB, free: 3.125 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002426/1.905, allocations: 51.97 kB / 1.678 GB, free: 3.074 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001996/1.907, allocations: 0.7371 MB / 1.678 GB, free: 2.34 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.7e-07/1.907, allocations: 0 / 1.678 GB, free: 2.34 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006983/1.914, allocations: 1.16 MB / 1.679 GB, free: 1.18 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.01284/1.927, allocations: 6.972 MB / 1.686 GB, free: 9.977 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.02072/1.948, allocations: 8.105 MB / 1.694 GB, free: 1.723 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/1.948, allocations: 0 / 1.694 GB, free: 1.723 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.006712/1.954, allocations: 2.721 MB / 1.697 GB, free: 14.92 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/1.956, allocations: 145.2 kB / 1.697 GB, free: 14.78 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05992/2.016, allocations: 32.36 MB / 1.729 GB, free: 13.63 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004213/2.02, allocations: 2.322 MB / 1.731 GB, free: 11.27 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.004238/2.025, allocations: 1.252 MB / 1.732 GB, free: 10.01 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/2.026, allocations: 0.8468 MB / 1.733 GB, free: 9.16 MB / 1.042 GB Notification: Performance of SimCode: time 9.92e-07/2.026, allocations: 0 / 1.733 GB, free: 9.16 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08193/2.108, allocations: 46.26 MB / 1.778 GB, free: 11.2 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/2.108, allocations: 234.4 kB / 1.778 GB, free: 10.96 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.207/5.315, allocations: 0 / 1.778 GB, free: 10.96 MB / 1.089 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat