Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",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.176/2.176, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001076/0.001076, allocations: 187.3 kB / 498.1 MB, free: 5.723 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.597/1.597, allocations: 223.1 MB / 0.7948 GB, free: 17.74 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.0009006/0.0009006, allocations: 106.2 kB / 0.9346 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003838, allocations: 6.844 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2907, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2093/0.5001, allocations: 182.5 MB / 1.401 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003576/0.5005, allocations: 99.92 kB / 1.401 GB, free: 11.23 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:42:5-42:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.05608/0.5566, allocations: 22.78 MB / 1.424 GB, free: 4.203 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5566, allocations: 4 kB / 1.424 GB, free: 4.199 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.908e-05/0.5566, allocations: 8 kB / 1.424 GB, free: 4.191 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001002/0.5576, allocations: 0.5967 MB / 1.424 GB, free: 3.547 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.5577, allocations: 12.03 kB / 1.424 GB, free: 3.535 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.376e-05/0.5578, allocations: 54.55 kB / 1.424 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.5588, allocations: 127.5 kB / 1.424 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.5592, allocations: 278.5 kB / 1.425 GB, free: 3.035 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.5593, allocations: 20.42 kB / 1.425 GB, free: 3.016 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.5593, allocations: 16 kB / 1.425 GB, free: 3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006819/0.56, allocations: 411.5 kB / 1.425 GB, free: 2.57 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.56, allocations: 0 / 1.425 GB, free: 2.57 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.5601, allocations: 15.92 kB / 1.425 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-05/0.5601, allocations: 36.48 kB / 1.425 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006531/0.5608, allocations: 353.9 kB / 1.425 GB, free: 2.168 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5885/1.149, allocations: 2.039 MB / 1.427 GB, free: 189.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/1.15, allocations: 354.6 kB / 1.428 GB, free: 189.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/1.151, allocations: 90.89 kB / 1.428 GB, free: 189.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/1.151, allocations: 40.03 kB / 1.428 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=22): time 2.504e-06/1.151, allocations: 0 / 1.428 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34): time 0.005375/1.156, allocations: 1.768 MB / 1.43 GB, free: 189 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/1.156, allocations: 89.59 kB / 1.43 GB, free: 188.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/1.156, allocations: 212 kB / 1.43 GB, free: 188.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/1.156, allocations: 31.23 kB / 1.43 GB, free: 188.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/1.156, allocations: 177.5 kB / 1.43 GB, free: 188.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.391e-05/1.157, allocations: 119.8 kB / 1.43 GB, free: 188.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/1.157, allocations: 6.656 kB / 1.43 GB, free: 188.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.485e-05/1.157, allocations: 335.3 kB / 1.43 GB, free: 188.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004227/1.157, allocations: 209.7 kB / 1.431 GB, free: 188.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/1.158, allocations: 309.3 kB / 1.431 GB, free: 188.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/1.158, allocations: 253.8 kB / 1.431 GB, free: 188.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.158, allocations: 0 / 1.431 GB, free: 188.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001381/1.159, allocations: 0.6791 MB / 1.432 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002476/1.16, allocations: 1.137 MB / 1.433 GB, free: 186.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.16, allocations: 2.969 kB / 1.433 GB, free: 186.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005382/1.16, allocations: 151.5 kB / 1.433 GB, free: 186.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/1.161, allocations: 100.7 kB / 1.433 GB, free: 186.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/1.163, allocations: 3.977 MB / 1.437 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/1.163, allocations: 38.02 kB / 1.437 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/1.163, allocations: 16.67 kB / 1.437 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/1.163, allocations: 5.75 kB / 1.437 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001315/1.165, allocations: 0.6259 MB / 1.438 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.165, allocations: 3.156 kB / 1.438 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004117/1.165, allocations: 145.8 kB / 1.438 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/1.166, allocations: 99.05 kB / 1.438 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005016/1.166, allocations: 1.112 MB / 1.439 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/1.167, allocations: 39.17 kB / 1.439 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/1.167, allocations: 15.7 kB / 1.439 GB, free: 182.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (45): * Single equations (assignments): 41 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002792/1.167, allocations: 257.1 kB / 1.439 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.513e-05/1.167, allocations: 30.52 kB / 1.439 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/1.169, allocations: 0.6381 MB / 1.44 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.169, allocations: 8.641 kB / 1.44 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.169, allocations: 1.5 kB / 1.44 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/1.169, allocations: 3.016 kB / 1.44 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/1.171, allocations: 1.241 MB / 1.441 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.171, allocations: 3.062 kB / 1.441 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/1.171, allocations: 64.64 kB / 1.441 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/1.172, allocations: 163.7 kB / 1.442 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/1.172, allocations: 7.312 kB / 1.442 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/1.174, allocations: 4 MB / 1.445 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.174, allocations: 7.469 kB / 1.445 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/1.176, allocations: 0.8967 MB / 1.446 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/1.176, allocations: 142.5 kB / 1.446 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/1.176, allocations: 8.984 kB / 1.446 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/1.176, allocations: 33.86 kB / 1.446 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/1.176, allocations: 41.16 kB / 1.447 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/1.176, allocations: 11.62 kB / 1.447 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00017/1.176, allocations: 169.4 kB / 1.447 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/1.176, allocations: 0 / 1.447 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000847/1.177, allocations: 178.1 kB / 1.447 GB, free: 177.3 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 (31): * Single equations (assignments): 27 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001669/1.179, allocations: 2.027 MB / 1.449 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002127/1.181, allocations: 1.22 MB / 1.45 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.181, allocations: 3.25 kB / 1.45 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007232/1.182, allocations: 0.4918 MB / 1.451 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/1.182, allocations: 52.42 kB / 1.451 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/1.186, allocations: 4.086 MB / 1.455 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/1.187, allocations: 0.8133 MB / 1.455 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004378/1.187, allocations: 122.6 kB / 1.455 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/1.187, allocations: 88.47 kB / 1.456 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/1.187, allocations: 1.406 kB / 1.456 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/1.214, allocations: 8.197 MB / 1.464 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/1.214, allocations: 221.7 kB / 1.464 GB, free: 171 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/3.32, allocations: 1 kB / 1.464 GB, free: 171 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat does not exist to compare? outputFormat=mat