Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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.ACDCConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",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.318/2.318, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001405/0.001405, allocations: 187.9 kB / 0.4901 GB, free: 2.258 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.772/1.772, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.0009101/0.00091, allocations: 92.27 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 6.938 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2981, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2185/0.5167, allocations: 184.8 MB / 1.41 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.5171, allocations: 99.94 kB / 1.41 GB, free: 0.4922 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.7318/1.249, allocations: 23.05 MB / 1.432 GB, free: 185.7 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.963e-06/1.249, allocations: 0 / 1.432 GB, free: 185.7 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.444e-05/1.249, allocations: 10.64 kB / 1.432 GB, free: 185.7 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.0009816/1.25, allocations: 0.5923 MB / 1.433 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/1.25, allocations: 9.312 kB / 1.433 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.963e-05/1.25, allocations: 71.48 kB / 1.433 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/1.251, allocations: 123.1 kB / 1.433 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/1.252, allocations: 279 kB / 1.433 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/1.252, allocations: 15.89 kB / 1.433 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/1.252, allocations: 20.41 kB / 1.433 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007362/1.252, allocations: 412.6 kB / 1.434 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/1.252, allocations: 2.875 kB / 1.434 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/1.252, allocations: 7.844 kB / 1.434 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.563e-05/1.253, allocations: 33.95 kB / 1.434 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006765/1.253, allocations: 357.4 kB / 1.434 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/1.256, allocations: 2.052 MB / 1.436 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008319/1.256, allocations: 357.6 kB / 1.437 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.77e-05/1.257, allocations: 87.38 kB / 1.437 GB, free: 183.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/1.257, allocations: 38.38 kB / 1.437 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=22): time 2.164e-06/1.257, allocations: 0 / 1.437 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34): time 0.00548/1.262, allocations: 1.765 MB / 1.438 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/1.262, allocations: 88.59 kB / 1.438 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/1.262, allocations: 210.9 kB / 1.439 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/1.262, allocations: 36.27 kB / 1.439 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/1.263, allocations: 182.6 kB / 1.439 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/1.263, allocations: 116.6 kB / 1.439 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/1.263, allocations: 9.344 kB / 1.439 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.577e-05/1.263, allocations: 335.8 kB / 1.439 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/1.263, allocations: 208.6 kB / 1.44 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/1.264, allocations: 312.7 kB / 1.44 GB, free: 182 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/1.264, allocations: 244.1 kB / 1.44 GB, free: 182 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.264, allocations: 9.25 kB / 1.44 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001348/1.265, allocations: 0.6784 MB / 1.441 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002369/1.266, allocations: 1.138 MB / 1.442 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.266, allocations: 1.438 kB / 1.442 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005417/1.266, allocations: 144.3 kB / 1.442 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/1.267, allocations: 101.2 kB / 1.442 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/1.269, allocations: 3.981 MB / 1.446 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/1.27, allocations: 43.02 kB / 1.446 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/1.27, allocations: 17.19 kB / 1.446 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/1.27, allocations: 4.625 kB / 1.446 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001328/1.271, allocations: 0.6376 MB / 1.447 GB, free: 177 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/1.271, allocations: 6.562 kB / 1.447 GB, free: 177 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004014/1.271, allocations: 142.7 kB / 1.447 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/1.272, allocations: 100.5 kB / 1.447 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004459/1.272, allocations: 1.107 MB / 1.448 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/1.273, allocations: 38.39 kB / 1.448 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/1.273, allocations: 18.17 kB / 1.448 GB, free: 175.9 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.0002502/1.273, allocations: 248.6 kB / 1.448 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/1.273, allocations: 33.08 kB / 1.448 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/1.274, allocations: 0.6395 MB / 1.449 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.274, allocations: 4.531 kB / 1.449 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.274, allocations: 7.953 kB / 1.449 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/1.274, allocations: 3.234 kB / 1.449 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/1.277, allocations: 1.235 MB / 1.45 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.277, allocations: 1.125 kB / 1.45 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/1.277, allocations: 69.41 kB / 1.45 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/1.277, allocations: 156.6 kB / 1.45 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/1.278, allocations: 12.64 kB / 1.45 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/1.28, allocations: 3.984 MB / 1.454 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.28, allocations: 7.938 kB / 1.454 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/1.281, allocations: 0.8934 MB / 1.455 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/1.282, allocations: 138.4 kB / 1.455 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/1.282, allocations: 11.95 kB / 1.455 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/1.282, allocations: 33.95 kB / 1.455 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/1.282, allocations: 44.38 kB / 1.455 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/1.282, allocations: 9.484 kB / 1.455 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001673/1.282, allocations: 169 kB / 1.456 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/1.282, allocations: 0 / 1.456 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009893/1.283, allocations: 179.7 kB / 1.456 GB, free: 170.8 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.001973/1.285, allocations: 2.044 MB / 1.458 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002471/1.288, allocations: 1.216 MB / 1.459 GB, free: 168.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.288, allocations: 0 / 1.459 GB, free: 168.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007872/1.289, allocations: 0.499 MB / 1.459 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/1.289, allocations: 50.14 kB / 1.459 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/1.294, allocations: 4.085 MB / 1.463 GB, free: 165.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/1.294, allocations: 0.8183 MB / 1.464 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004742/1.295, allocations: 116.8 kB / 1.464 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/1.295, allocations: 92.42 kB / 1.464 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of SimCode: time 6.31e-07/1.295, allocations: 0 / 1.464 GB, free: 165.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/1.32, allocations: 8.213 MB / 1.472 GB, free: 164.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/1.32, allocations: 247.9 kB / 1.473 GB, free: 164.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/3.355, allocations: 0 / 1.473 GB, free: 164.4 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat does not exist to compare? outputFormat=mat