Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ACACTransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",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.676/2.676, allocations: 393.5 MB / 408.4 MB, free: 11 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.001429/0.001429, allocations: 190.5 kB / 0.4901 GB, free: 2.242 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.843/1.843, allocations: 223.1 MB / 0.7992 GB, free: 14.65 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.000999/0.0009987, allocations: 102.3 kB / 0.9396 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003851, allocations: 11.61 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3068, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2432/0.5501, allocations: 197 MB / 1.422 GB, free: 4.332 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/0.5506, allocations: 95.92 kB / 1.422 GB, free: 4.238 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.8022/1.353, allocations: 51.71 MB / 1.472 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.274e-06/1.353, allocations: 0 / 1.472 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.948e-05/1.353, allocations: 23.98 kB / 1.472 GB, free: 175.8 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.00294/1.356, allocations: 1.063 MB / 1.473 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/1.356, allocations: 12.03 kB / 1.473 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002217/1.356, allocations: 118.5 kB / 1.473 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/1.371, allocations: 1.625 MB / 1.475 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/1.373, allocations: 0.6224 MB / 1.476 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.441e-05/1.373, allocations: 49.28 kB / 1.476 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/1.373, allocations: 55.98 kB / 1.476 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006771/1.38, allocations: 1.917 MB / 1.478 GB, free: 170.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/1.38, allocations: 7.953 kB / 1.478 GB, free: 170.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/1.38, allocations: 31.92 kB / 1.478 GB, free: 170.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004679/1.381, allocations: 145.4 kB / 1.478 GB, free: 170 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/1.392, allocations: 2.612 MB / 1.48 GB, free: 167.4 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/1.406, allocations: 6.68 MB / 1.487 GB, free: 160.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004542/1.411, allocations: 1.266 MB / 1.488 GB, free: 159.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003196/1.414, allocations: 1.476 MB / 1.49 GB, free: 157.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/1.414, allocations: 46.5 kB / 1.49 GB, free: 157.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=73): time 4.328e-06/1.414, allocations: 0 / 1.49 GB, free: 157.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=107): time 0.02844/1.442, allocations: 8.049 MB / 1.497 GB, free: 149.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/1.442, allocations: 90.05 kB / 1.497 GB, free: 149.2 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006546/1.443, allocations: 0.5097 MB / 1.498 GB, free: 148.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001845/1.443, allocations: 45.7 kB / 1.498 GB, free: 148.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/1.443, allocations: 411.1 kB / 1.498 GB, free: 148.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/1.444, allocations: 366.7 kB / 1.499 GB, free: 147.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-05/1.444, allocations: 28 kB / 1.499 GB, free: 147.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/1.444, allocations: 386.8 kB / 1.499 GB, free: 147.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002517/1.446, allocations: 1.111 MB / 1.5 GB, free: 146.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002623/1.449, allocations: 1.436 MB / 1.502 GB, free: 144.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002609/1.452, allocations: 1.218 MB / 1.503 GB, free: 143.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.452, allocations: 0 / 1.503 GB, free: 143.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.009189/1.461, allocations: 3.773 MB / 1.507 GB, free: 139.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000686/1.462, allocations: 3.919 MB / 1.51 GB, free: 135.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/1.462, allocations: 11.94 kB / 1.51 GB, free: 135.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004443/1.466, allocations: 1.256 MB / 1.512 GB, free: 134.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/1.468, allocations: 459.2 kB / 1.512 GB, free: 133.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009065/1.477, allocations: 9.286 MB / 1.521 GB, free: 124.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/1.48, allocations: 311.4 kB / 1.521 GB, free: 123.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/1.48, allocations: 67.95 kB / 1.521 GB, free: 123.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/1.48, allocations: 8.062 kB / 1.521 GB, free: 123.7 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008526/1.488, allocations: 3.471 MB / 1.525 GB, free: 120.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/1.489, allocations: 12 kB / 1.525 GB, free: 120.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003357/1.492, allocations: 1.034 MB / 1.526 GB, free: 119.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/1.494, allocations: 471.2 kB / 1.526 GB, free: 118.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/1.504, allocations: 10.39 MB / 1.536 GB, free: 107.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/1.506, allocations: 303.6 kB / 1.537 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/1.506, allocations: 63.97 kB / 1.537 GB, free: 107.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (122): * Single equations (assignments): 118 * 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%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006908/1.507, allocations: 388.6 kB / 1.537 GB, free: 107 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/1.507, allocations: 90.95 kB / 1.537 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009298/1.517, allocations: 3.676 MB / 1.541 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/1.517, allocations: 12 kB / 1.541 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.841e-05/1.517, allocations: 4 kB / 1.541 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/1.517, allocations: 7.969 kB / 1.541 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/1.529, allocations: 5.41 MB / 1.546 GB, free: 97.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/1.529, allocations: 8.094 kB / 1.546 GB, free: 97.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/1.531, allocations: 363.4 kB / 1.547 GB, free: 97.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00395/1.535, allocations: 1.178 MB / 1.548 GB, free: 96.11 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/1.535, allocations: 31.98 kB / 1.548 GB, free: 96.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/1.546, allocations: 10.84 MB / 1.558 GB, free: 84.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.546, allocations: 11.94 kB / 1.558 GB, free: 84.69 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009216/1.555, allocations: 3.849 MB / 1.562 GB, free: 80.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00098/1.556, allocations: 343.9 kB / 1.562 GB, free: 80.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/1.556, allocations: 32 kB / 1.562 GB, free: 80.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/1.558, allocations: 315.3 kB / 1.563 GB, free: 79.91 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003468/1.559, allocations: 108.2 kB / 1.563 GB, free: 79.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.559, allocations: 39.97 kB / 1.563 GB, free: 79.76 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005501/1.559, allocations: 403.8 kB / 1.563 GB, free: 79.37 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.1e-07/1.559, allocations: 0 / 1.563 GB, free: 79.37 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002797/1.562, allocations: 0.6094 MB / 1.564 GB, free: 78.76 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * 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 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.009479/1.572, allocations: 6.044 MB / 1.57 GB, free: 72.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01284/1.584, allocations: 5.428 MB / 1.575 GB, free: 67.01 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/1.585, allocations: 4 kB / 1.575 GB, free: 67 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00449/1.589, allocations: 2.061 MB / 1.577 GB, free: 64.89 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/1.591, allocations: 139.9 kB / 1.577 GB, free: 64.75 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02747/1.618, allocations: 17.1 MB / 1.594 GB, free: 47.26 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007995/1.619, allocations: 1.115 MB / 1.595 GB, free: 46.11 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002062/1.621, allocations: 0.5382 MB / 1.596 GB, free: 45.57 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005998/1.622, allocations: 299.2 kB / 1.596 GB, free: 45.28 MB / 0.9167 GB Notification: Performance of SimCode: time 1.443e-06/1.622, allocations: 0 / 1.596 GB, free: 45.28 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05873/1.68, allocations: 32.14 MB / 1.627 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/1.681, allocations: 250.2 kB / 1.627 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.938/4.619, allocations: 4.062 kB / 1.627 GB, free: 13.21 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat