Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",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.447/2.447, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001011/0.001011, allocations: 180.8 kB / 487.4 MB, free: 5.082 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.711/1.711, allocations: 221.5 MB / 0.7824 GB, free: 1.031 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.001131/0.001131, allocations: 98.14 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.273e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3835, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.438, allocations: 191.3 MB / 1.393 GB, free: 13.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/1.438, allocations: 93.12 kB / 1.393 GB, free: 13.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1172/1.555, allocations: 49.39 MB / 1.441 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.513e-06/1.555, allocations: 0 / 1.441 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.472e-05/1.555, allocations: 19.98 kB / 1.441 GB, free: 7.152 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.001824/1.557, allocations: 0.9141 MB / 1.442 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.557, allocations: 8.562 kB / 1.442 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009204/1.566, allocations: 1.551 MB / 1.444 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/1.568, allocations: 0.5522 MB / 1.444 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/1.568, allocations: 20 kB / 1.444 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/1.568, allocations: 36 kB / 1.444 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002074/1.57, allocations: 1.233 MB / 1.445 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/1.572, allocations: 1.256 MB / 1.447 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/1.572, allocations: 7.906 kB / 1.447 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/1.572, allocations: 4 kB / 1.447 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002205/1.572, allocations: 112.2 kB / 1.447 GB, free: 2.113 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or 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.008932/1.581, allocations: 6.277 MB / 1.453 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/1.583, allocations: 0.9819 MB / 1.454 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006976/1.584, allocations: 0.5514 MB / 1.454 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00267/1.586, allocations: 2.2 MB / 1.457 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/1.586, allocations: 41.12 kB / 1.457 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=69): time 6.402e-06/1.586, allocations: 4 kB / 1.457 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.008483/1.595, allocations: 3.608 MB / 1.46 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.371e-05/1.595, allocations: 203.6 kB / 1.46 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005529/1.595, allocations: 437.8 kB / 1.461 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/1.596, allocations: 25.7 kB / 1.461 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/1.596, allocations: 385.2 kB / 1.461 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/1.596, allocations: 310.9 kB / 1.461 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.684e-05/1.596, allocations: 4 kB / 1.461 GB, free: 4.918 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.596, allocations: 378.5 kB / 1.462 GB, free: 4.566 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008333/1.597, allocations: 0.6201 MB / 1.462 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/1.598, allocations: 0.8877 MB / 1.463 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/1.6, allocations: 0.8542 MB / 1.464 GB, free: 2.836 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/1.6, allocations: 8 kB / 1.464 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005322/1.605, allocations: 2.414 MB / 1.466 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001405/1.607, allocations: 3.139 MB / 1.47 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/1.607, allocations: 12 kB / 1.47 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/1.61, allocations: 0.7269 MB / 1.47 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/1.612, allocations: 462.2 kB / 1.471 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008822/1.621, allocations: 7.163 MB / 1.478 GB, free: 6.098 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/1.623, allocations: 279.4 kB / 1.478 GB, free: 5.824 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003402/1.624, allocations: 59.47 kB / 1.478 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.624, allocations: 8.062 kB / 1.478 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003947/1.628, allocations: 1.738 MB / 1.48 GB, free: 4.484 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/1.628, allocations: 8 kB / 1.48 GB, free: 4.477 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/1.628, allocations: 209.1 kB / 1.48 GB, free: 4.309 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/1.631, allocations: 0.4989 MB / 1.48 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004386/1.635, allocations: 3.813 MB / 1.484 GB, free: 348 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/1.638, allocations: 255.6 kB / 1.484 GB, free: 92 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/1.638, allocations: 62.83 kB / 1.484 GB, free: 40 kB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005476/1.638, allocations: 133 kB / 1.485 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005565/1.644, allocations: 2.124 MB / 1.487 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003535/1.644, allocations: 68.97 kB / 1.487 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005778/1.65, allocations: 2.31 MB / 1.489 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/1.65, allocations: 12 kB / 1.489 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/1.65, allocations: 4 kB / 1.489 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.867e-05/1.65, allocations: 7.984 kB / 1.489 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008362/1.659, allocations: 4.131 MB / 1.493 GB, free: 7.633 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/1.659, allocations: 4 kB / 1.493 GB, free: 7.629 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/1.66, allocations: 359.4 kB / 1.493 GB, free: 7.277 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003014/1.663, allocations: 0.8539 MB / 1.494 GB, free: 6.41 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/1.664, allocations: 27.92 kB / 1.494 GB, free: 6.383 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/1.674, allocations: 8.224 MB / 1.502 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/1.674, allocations: 7.938 kB / 1.502 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006162/1.68, allocations: 2.72 MB / 1.505 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000936/1.681, allocations: 312 kB / 1.505 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003916/1.682, allocations: 8 kB / 1.505 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002292/1.684, allocations: 299.4 kB / 1.506 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004303/1.684, allocations: 87.77 kB / 1.506 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/1.685, allocations: 39.98 kB / 1.506 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006907/1.685, allocations: 330.9 kB / 1.506 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.71e-07/1.685, allocations: 0 / 1.506 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003162/1.688, allocations: 460 kB / 1.506 GB, free: 9.227 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007131/1.696, allocations: 4.82 MB / 1.511 GB, free: 4.215 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006471/1.702, allocations: 3.151 MB / 1.514 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/1.702, allocations: 0 / 1.514 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002459/1.705, allocations: 1.328 MB / 1.515 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/1.706, allocations: 86.98 kB / 1.516 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009533/1.715, allocations: 2.672 MB / 1.518 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008041/1.716, allocations: 1.044 MB / 1.519 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002163/1.718, allocations: 0.5031 MB / 1.52 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005418/1.719, allocations: 271.3 kB / 1.52 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of SimCode: time 6.01e-07/1.719, allocations: 0 / 1.52 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07793/1.797, allocations: 23.99 MB / 1.543 GB, free: 3.012 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003027/1.797, allocations: 186.1 kB / 1.544 GB, free: 2.805 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/4.561, allocations: 2.875 kB / 1.544 GB, free: 2.805 MB / 0.948 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat does not exist to compare? outputFormat=mat