Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",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.379/2.379, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001082/0.001083, allocations: 172 kB / 0.4901 GB, free: 2.254 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.678/1.678, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001137/0.001137, allocations: 100.2 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.000452, allocations: 7.094 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3811, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2571/0.6382, allocations: 182 MB / 1.407 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/0.6386, allocations: 95.94 kB / 1.407 GB, free: 3.32 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.833/1.472, allocations: 20.42 MB / 1.427 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.953e-06/1.472, allocations: 0 / 1.427 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.032e-05/1.472, allocations: 7.266 kB / 1.427 GB, free: 185.1 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000873/1.473, allocations: 0.5529 MB / 1.428 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.473, allocations: 11.66 kB / 1.428 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.337e-05/1.473, allocations: 61.31 kB / 1.428 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007869/1.474, allocations: 99.83 kB / 1.428 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/1.474, allocations: 260.3 kB / 1.428 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/1.474, allocations: 11.56 kB / 1.428 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.698e-05/1.474, allocations: 24.09 kB / 1.428 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005977/1.475, allocations: 389.4 kB / 1.428 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/1.475, allocations: 3.391 kB / 1.428 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/1.475, allocations: 10.34 kB / 1.428 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/1.475, allocations: 20.41 kB / 1.428 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005935/1.475, allocations: 374.6 kB / 1.429 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/1.477, allocations: 1.722 MB / 1.431 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006712/1.478, allocations: 353.1 kB / 1.431 GB, free: 183 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/1.478, allocations: 89.47 kB / 1.431 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/1.478, allocations: 43.97 kB / 1.431 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/1.478, allocations: 0 / 1.431 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=35): time 0.007152/1.485, allocations: 1.973 MB / 1.433 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/1.485, allocations: 86.12 kB / 1.433 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/1.485, allocations: 162.7 kB / 1.433 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/1.485, allocations: 32.53 kB / 1.433 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/1.486, allocations: 150.4 kB / 1.433 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.506e-05/1.486, allocations: 118.4 kB / 1.433 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/1.486, allocations: 8.844 kB / 1.433 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.257e-05/1.486, allocations: 332.9 kB / 1.434 GB, free: 182 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004943/1.486, allocations: 260.6 kB / 1.434 GB, free: 182 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/1.487, allocations: 342.6 kB / 1.434 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/1.487, allocations: 293.4 kB / 1.435 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.487, allocations: 1.125 kB / 1.435 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001232/1.489, allocations: 0.6639 MB / 1.435 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000203/1.489, allocations: 0.8714 MB / 1.436 GB, free: 181 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.489, allocations: 5.875 kB / 1.436 GB, free: 181 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/1.489, allocations: 3 kB / 1.436 GB, free: 181 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/1.49, allocations: 175.5 kB / 1.436 GB, free: 181 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/1.49, allocations: 4.453 kB / 1.436 GB, free: 181 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/1.49, allocations: 54.36 kB / 1.436 GB, free: 181 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/1.49, allocations: 16.31 kB / 1.436 GB, free: 181 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 8.557e-06/1.49, allocations: 5.078 kB / 1.436 GB, free: 181 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001167/1.492, allocations: 0.5854 MB / 1.437 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/1.492, allocations: 2.938 kB / 1.437 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/1.492, allocations: 5.297 kB / 1.437 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/1.493, allocations: 173.3 kB / 1.437 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/1.493, allocations: 3.5 kB / 1.437 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/1.493, allocations: 48.44 kB / 1.437 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/1.493, allocations: 19.09 kB / 1.437 GB, free: 180.9 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002277/1.493, allocations: 242.4 kB / 1.437 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.148e-05/1.493, allocations: 22.36 kB / 1.437 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/1.495, allocations: 0.6848 MB / 1.438 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/1.495, allocations: 4.031 kB / 1.438 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/1.495, allocations: 1.812 kB / 1.438 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/1.495, allocations: 13.81 kB / 1.438 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/1.497, allocations: 1.372 MB / 1.439 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/1.497, allocations: 3.062 kB / 1.439 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/1.498, allocations: 126.9 kB / 1.44 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/1.498, allocations: 2.938 kB / 1.44 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/1.498, allocations: 8.516 kB / 1.44 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/1.498, allocations: 6.812 kB / 1.44 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.498, allocations: 8.938 kB / 1.44 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/1.499, allocations: 0.8291 MB / 1.44 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/1.499, allocations: 142.6 kB / 1.441 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/1.499, allocations: 8.859 kB / 1.441 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/1.5, allocations: 44.56 kB / 1.441 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.224e-05/1.5, allocations: 32.31 kB / 1.441 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/1.5, allocations: 12.83 kB / 1.441 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001295/1.5, allocations: 147.1 kB / 1.441 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/1.5, allocations: 4 kB / 1.441 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008917/1.501, allocations: 168.3 kB / 1.441 GB, free: 179.5 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001716/1.502, allocations: 1.961 MB / 1.443 GB, free: 178 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002027/1.504, allocations: 0.8719 MB / 1.444 GB, free: 178 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/1.505, allocations: 0.9688 kB / 1.444 GB, free: 178 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004871/1.505, allocations: 270.1 kB / 1.444 GB, free: 178 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/1.505, allocations: 33.69 kB / 1.444 GB, free: 178 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/1.51, allocations: 3.61 MB / 1.448 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/1.51, allocations: 0.7921 MB / 1.448 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006401/1.511, allocations: 178 kB / 1.448 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/1.511, allocations: 81.62 kB / 1.449 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of SimCode: time 1.193e-06/1.511, allocations: 0 / 1.449 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/1.531, allocations: 6.682 MB / 1.455 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/1.532, allocations: 216.9 kB / 1.455 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/3.447, allocations: 3.938 kB / 1.455 GB, free: 174.6 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat does not exist to compare? outputFormat=mat