Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.388/2.388, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.00135/0.00135, 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.659/1.659, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009156/0.0009154, allocations: 108.8 kB / 0.9396 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004135, allocations: 10.44 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3675, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2482/0.6158, allocations: 192.8 MB / 1.418 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.6161, allocations: 91.94 kB / 1.418 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.8156/1.432, allocations: 49.85 MB / 1.466 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.164e-06/1.432, allocations: 0 / 1.466 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.64e-05/1.432, allocations: 25.75 kB / 1.466 GB, free: 180.6 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.002672/1.435, allocations: 0.9685 MB / 1.467 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.435, allocations: 7.5 kB / 1.467 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002207/1.435, allocations: 116.9 kB / 1.467 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008281/1.443, allocations: 1.559 MB / 1.469 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/1.444, allocations: 0.5525 MB / 1.47 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/1.444, allocations: 45.22 kB / 1.47 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/1.445, allocations: 60.25 kB / 1.47 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004176/1.449, allocations: 1.843 MB / 1.471 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/1.449, allocations: 7.938 kB / 1.471 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/1.449, allocations: 27.98 kB / 1.471 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001861/1.449, allocations: 105.4 kB / 1.472 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006698/1.456, allocations: 2.472 MB / 1.474 GB, free: 173.6 MB / 0.9167 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.007908/1.464, allocations: 6.401 MB / 1.48 GB, free: 166.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/1.467, allocations: 1.348 MB / 1.482 GB, free: 165.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002373/1.469, allocations: 2.228 MB / 1.484 GB, free: 163.1 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/1.469, allocations: 46.5 kB / 1.484 GB, free: 163 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=69): time 2.234e-06/1.469, allocations: 0 / 1.484 GB, free: 163 MB / 0.9167 GB Notification: Performance of matching and sorting (n=93): time 0.01958/1.489, allocations: 6.422 MB / 1.49 GB, free: 156.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/1.489, allocations: 199.6 kB / 1.49 GB, free: 156.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005966/1.49, allocations: 476.9 kB / 1.491 GB, free: 155.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001635/1.49, allocations: 41.7 kB / 1.491 GB, free: 155.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/1.49, allocations: 386.8 kB / 1.491 GB, free: 155.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/1.49, allocations: 323.3 kB / 1.491 GB, free: 155.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.437e-05/1.49, allocations: 20 kB / 1.491 GB, free: 155.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.646e-05/1.49, allocations: 382.8 kB / 1.492 GB, free: 154.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/1.493, allocations: 0.9977 MB / 1.493 GB, free: 153.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002632/1.495, allocations: 1.27 MB / 1.494 GB, free: 152.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/1.498, allocations: 1.087 MB / 1.495 GB, free: 151.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.498, allocations: 0 / 1.495 GB, free: 151.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.008223/1.506, allocations: 3.216 MB / 1.498 GB, free: 148 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006041/1.507, allocations: 3.132 MB / 1.501 GB, free: 144.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.507, allocations: 8 kB / 1.501 GB, free: 144.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003634/1.511, allocations: 0.9786 MB / 1.502 GB, free: 143.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002258/1.513, allocations: 459.2 kB / 1.503 GB, free: 143.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007188/1.52, allocations: 7.59 MB / 1.51 GB, free: 135.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/1.522, allocations: 303.5 kB / 1.51 GB, free: 134.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.522, allocations: 59.97 kB / 1.51 GB, free: 134.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/1.523, allocations: 7.938 kB / 1.51 GB, free: 134.8 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007645/1.53, allocations: 2.922 MB / 1.513 GB, free: 131.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/1.53, allocations: 8 kB / 1.513 GB, free: 131.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/1.533, allocations: 0.6936 MB / 1.514 GB, free: 131.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/1.535, allocations: 487.2 kB / 1.514 GB, free: 130.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006131/1.541, allocations: 6.846 MB / 1.521 GB, free: 123.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/1.543, allocations: 299.5 kB / 1.521 GB, free: 123.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/1.543, allocations: 55.97 kB / 1.521 GB, free: 123.1 MB / 0.9167 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 () * Number of clocked 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.0006543/1.544, allocations: 356.7 kB / 1.522 GB, free: 122.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/1.544, allocations: 71.16 kB / 1.522 GB, free: 122.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008094/1.552, allocations: 3.009 MB / 1.525 GB, free: 119.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/1.552, allocations: 8 kB / 1.525 GB, free: 119.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/1.552, allocations: 15.94 kB / 1.525 GB, free: 119.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/1.552, allocations: 7.969 kB / 1.525 GB, free: 119.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/1.563, allocations: 4.949 MB / 1.53 GB, free: 114.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/1.563, allocations: 4.625 kB / 1.53 GB, free: 114.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/1.564, allocations: 363.4 kB / 1.53 GB, free: 114.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003353/1.568, allocations: 0.9357 MB / 1.531 GB, free: 113.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/1.568, allocations: 31.94 kB / 1.531 GB, free: 113.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008505/1.576, allocations: 8.908 MB / 1.54 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/1.576, allocations: 11.94 kB / 1.54 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008429/1.585, allocations: 3.421 MB / 1.543 GB, free: 100 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008069/1.586, allocations: 312 kB / 1.543 GB, free: 99.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/1.586, allocations: 27.98 kB / 1.543 GB, free: 99.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/1.587, allocations: 287.5 kB / 1.544 GB, free: 99.41 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/1.588, allocations: 91.72 kB / 1.544 GB, free: 99.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-05/1.588, allocations: 43.97 kB / 1.544 GB, free: 99.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004059/1.588, allocations: 366.8 kB / 1.544 GB, free: 98.91 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.21e-07/1.588, allocations: 0 / 1.544 GB, free: 98.91 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00189/1.59, allocations: 0.5195 MB / 1.545 GB, free: 98.39 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 () * Number of clocked 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.007934/1.598, allocations: 5.54 MB / 1.55 GB, free: 92.66 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01048/1.609, allocations: 4.702 MB / 1.555 GB, free: 87.89 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/1.609, allocations: 0 / 1.555 GB, free: 87.89 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003407/1.612, allocations: 1.73 MB / 1.556 GB, free: 86.11 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008805/1.613, allocations: 106.3 kB / 1.556 GB, free: 86 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/1.635, allocations: 14.37 MB / 1.57 GB, free: 71.35 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005749/1.636, allocations: 1.043 MB / 1.571 GB, free: 70.28 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001938/1.638, allocations: 0.4918 MB / 1.572 GB, free: 69.78 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/1.639, allocations: 267.3 kB / 1.572 GB, free: 69.52 MB / 0.9167 GB Notification: Performance of SimCode: time 1.012e-06/1.639, allocations: 0 / 1.572 GB, free: 69.52 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0413/1.68, allocations: 25.23 MB / 1.597 GB, free: 44.61 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.68, allocations: 249.9 kB / 1.597 GB, free: 44.27 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/4.416, allocations: 0 / 1.597 GB, free: 44.27 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat does not exist to compare? outputFormat=mat