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.339/2.339, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001296/0.001296, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001017/0.001017, allocations: 92 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.937e-05/3.959e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3131, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.098/1.411, allocations: 196.9 MB / 1.411 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/1.411, allocations: 91.53 kB / 1.411 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1389/1.55, allocations: 51.43 MB / 1.461 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.823e-06/1.55, allocations: 4 kB / 1.461 GB, free: 9.828 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.944e-05/1.55, allocations: 19.98 kB / 1.461 GB, free: 9.809 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.002983/1.553, allocations: 0.9812 MB / 1.462 GB, free: 8.781 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/1.553, allocations: 8.031 kB / 1.462 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004236/1.554, allocations: 114.5 kB / 1.463 GB, free: 8.652 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/1.564, allocations: 1.625 MB / 1.464 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/1.566, allocations: 0.6225 MB / 1.465 GB, free: 6.359 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.83e-05/1.566, allocations: 45.3 kB / 1.465 GB, free: 6.316 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005124/1.567, allocations: 55.98 kB / 1.465 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003562/1.57, allocations: 1.433 MB / 1.466 GB, free: 4.758 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.742e-05/1.57, allocations: 8 kB / 1.466 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002059/1.57, allocations: 23.98 kB / 1.466 GB, free: 4.727 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003976/1.571, allocations: 145.4 kB / 1.466 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/1.574, allocations: 1.63 MB / 1.468 GB, free: 2.953 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01209/1.586, allocations: 6.674 MB / 1.475 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/1.588, allocations: 0.9226 MB / 1.475 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009426/1.589, allocations: 0.5723 MB / 1.476 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00259/1.592, allocations: 1.482 MB / 1.477 GB, free: 8.844 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/1.592, allocations: 42.56 kB / 1.477 GB, free: 8.793 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 2.655e-06/1.592, allocations: 3.938 kB / 1.477 GB, free: 8.789 MB / 0.9323 GB Notification: Performance of matching and sorting (n=107): time 0.01847/1.61, allocations: 5.654 MB / 1.483 GB, free: 3.109 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/1.61, allocations: 86.11 kB / 1.483 GB, free: 3.008 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008332/1.611, allocations: 0.5085 MB / 1.484 GB, free: 2.488 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001932/1.611, allocations: 41.7 kB / 1.484 GB, free: 2.441 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/1.612, allocations: 415.1 kB / 1.484 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000441/1.612, allocations: 370.6 kB / 1.484 GB, free: 1.66 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/1.612, allocations: 32 kB / 1.484 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002131/1.612, allocations: 390.7 kB / 1.485 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/1.614, allocations: 0.7483 MB / 1.486 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/1.615, allocations: 1.085 MB / 1.487 GB, free: 15.26 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/1.617, allocations: 0.8691 MB / 1.487 GB, free: 14.39 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/1.617, allocations: 4 kB / 1.487 GB, free: 14.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.007088/1.624, allocations: 3.02 MB / 1.49 GB, free: 11.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002402/1.626, allocations: 3.916 MB / 1.494 GB, free: 7.125 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.101e-05/1.626, allocations: 8 kB / 1.494 GB, free: 7.117 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004662/1.631, allocations: 1.185 MB / 1.495 GB, free: 5.918 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002502/1.634, allocations: 459.2 kB / 1.496 GB, free: 5.469 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/1.646, allocations: 8.997 MB / 1.505 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/1.649, allocations: 315.5 kB / 1.505 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003616/1.649, allocations: 63.97 kB / 1.505 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.649, allocations: 4 kB / 1.505 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006362/1.655, allocations: 2.738 MB / 1.508 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4e-05/1.656, allocations: 8 kB / 1.508 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003173/1.659, allocations: 0.9564 MB / 1.509 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/1.661, allocations: 475.1 kB / 1.509 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/1.674, allocations: 10.06 MB / 1.519 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/1.677, allocations: 315.4 kB / 1.519 GB, free: 12.58 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003006/1.677, allocations: 63.97 kB / 1.519 GB, free: 12.52 MB / 0.9792 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 () * 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.0005112/1.678, allocations: 172.7 kB / 1.519 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/1.678, allocations: 83.06 kB / 1.519 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007254/1.685, allocations: 2.947 MB / 1.522 GB, free: 9.281 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/1.685, allocations: 11.94 kB / 1.522 GB, free: 9.27 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/1.685, allocations: 8.094 kB / 1.522 GB, free: 9.262 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/1.685, allocations: 7.969 kB / 1.522 GB, free: 9.254 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/1.696, allocations: 4.675 MB / 1.527 GB, free: 4.438 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/1.696, allocations: 4 kB / 1.527 GB, free: 4.434 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/1.697, allocations: 363.3 kB / 1.527 GB, free: 4.078 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003984/1.701, allocations: 1.112 MB / 1.528 GB, free: 2.953 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002459/1.702, allocations: 31.98 kB / 1.528 GB, free: 2.922 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/1.716, allocations: 10.47 MB / 1.539 GB, free: 7.914 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/1.716, allocations: 11.94 kB / 1.539 GB, free: 7.902 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006681/1.723, allocations: 3.117 MB / 1.542 GB, free: 4.539 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009183/1.724, allocations: 343.8 kB / 1.542 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000311/1.724, allocations: 28 kB / 1.542 GB, free: 4.156 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002214/1.726, allocations: 319.4 kB / 1.542 GB, free: 3.844 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003734/1.727, allocations: 108.2 kB / 1.542 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/1.727, allocations: 35.98 kB / 1.542 GB, free: 3.703 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005885/1.727, allocations: 401.5 kB / 1.543 GB, free: 3.312 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.727, allocations: 0 / 1.543 GB, free: 3.312 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002455/1.73, allocations: 0.6015 MB / 1.543 GB, free: 2.711 MB / 0.9948 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 () * 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.007428/1.737, allocations: 5.309 MB / 1.549 GB, free: 13.21 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.009089/1.746, allocations: 4.345 MB / 1.553 GB, free: 8.777 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.747, allocations: 5.438 kB / 1.553 GB, free: 8.773 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003418/1.75, allocations: 1.689 MB / 1.555 GB, free: 7.035 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/1.751, allocations: 150 kB / 1.555 GB, free: 6.891 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009984/1.761, allocations: 3.022 MB / 1.558 GB, free: 3.75 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009909/1.762, allocations: 1.123 MB / 1.559 GB, free: 2.598 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002185/1.764, allocations: 0.5577 MB / 1.559 GB, free: 2.035 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005602/1.765, allocations: 298 kB / 1.56 GB, free: 1.746 MB / 1.01 GB Notification: Performance of SimCode: time 1.753e-06/1.765, allocations: 0 / 1.56 GB, free: 1.746 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06484/1.83, allocations: 32.82 MB / 1.592 GB, free: 1.309 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/1.83, allocations: 221.8 kB / 1.592 GB, free: 1.086 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.094/4.924, allocations: 4.094 kB / 1.592 GB, free: 1.086 MB / 1.042 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