Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.441/2.441, 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.002183/0.002182, allocations: 179 kB / 498.1 MB, free: 5.715 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.692/1.692, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.0009869/0.000987, allocations: 90.78 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003826, allocations: 13.53 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3326, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2216/0.5543, allocations: 184 MB / 1.403 GB, free: 9.859 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.5546, allocations: 95.94 kB / 1.403 GB, free: 9.766 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.0575/0.6122, allocations: 23.06 MB / 1.425 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6122, allocations: 0 / 1.425 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.326e-05/0.6122, allocations: 16 kB / 1.425 GB, free: 2.438 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.001127/0.6134, allocations: 0.6002 MB / 1.426 GB, free: 1.789 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.6134, allocations: 12.03 kB / 1.426 GB, free: 1.777 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.6136, allocations: 62.86 kB / 1.426 GB, free: 1.707 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.6147, allocations: 123.5 kB / 1.426 GB, free: 1.586 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.6152, allocations: 267.3 kB / 1.426 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.6152, allocations: 28.36 kB / 1.426 GB, free: 1.258 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.6153, allocations: 16 kB / 1.426 GB, free: 1.242 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/0.616, allocations: 415.5 kB / 1.427 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.616, allocations: 0 / 1.427 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.6161, allocations: 11.98 kB / 1.427 GB, free: 0.7969 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/0.6161, allocations: 28.55 kB / 1.427 GB, free: 0.7695 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006693/0.6168, allocations: 361.8 kB / 1.427 GB, free: 420 kB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5851/1.202, allocations: 2.037 MB / 1.429 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008234/1.203, allocations: 360.4 kB / 1.429 GB, free: 188.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.636e-05/1.203, allocations: 86.97 kB / 1.43 GB, free: 188 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/1.203, allocations: 43.8 kB / 1.43 GB, free: 187.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=22): time 4.188e-06/1.203, allocations: 1.406 kB / 1.43 GB, free: 187.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34): time 0.005531/1.209, allocations: 1.763 MB / 1.431 GB, free: 187.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/1.209, allocations: 81.42 kB / 1.431 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/1.209, allocations: 218.2 kB / 1.432 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/1.209, allocations: 30.3 kB / 1.432 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/1.209, allocations: 183.4 kB / 1.432 GB, free: 187.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/1.209, allocations: 121.8 kB / 1.432 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/1.209, allocations: 4.531 kB / 1.432 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.347e-05/1.209, allocations: 335.6 kB / 1.432 GB, free: 187 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/1.21, allocations: 207.8 kB / 1.432 GB, free: 187 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/1.21, allocations: 309.9 kB / 1.433 GB, free: 186.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/1.211, allocations: 247.3 kB / 1.433 GB, free: 186.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.211, allocations: 1.156 kB / 1.433 GB, free: 186.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001512/1.212, allocations: 0.6843 MB / 1.434 GB, free: 186.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003798/1.213, allocations: 1.135 MB / 1.435 GB, free: 185.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/1.213, allocations: 2.688 kB / 1.435 GB, free: 185.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/1.213, allocations: 148.2 kB / 1.435 GB, free: 185.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/1.214, allocations: 101.9 kB / 1.435 GB, free: 185.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/1.216, allocations: 3.982 MB / 1.439 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/1.217, allocations: 42.53 kB / 1.439 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/1.217, allocations: 17.44 kB / 1.439 GB, free: 182 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.217, allocations: 4.156 kB / 1.439 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001575/1.218, allocations: 0.6213 MB / 1.44 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.218, allocations: 3.469 kB / 1.44 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004477/1.219, allocations: 149.5 kB / 1.44 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/1.219, allocations: 102.4 kB / 1.44 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005605/1.22, allocations: 1.104 MB / 1.441 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/1.22, allocations: 40.55 kB / 1.441 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/1.22, allocations: 20.92 kB / 1.441 GB, free: 180.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.0003301/1.221, allocations: 251.1 kB / 1.441 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.339e-05/1.221, allocations: 28.31 kB / 1.441 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/1.222, allocations: 0.6431 MB / 1.442 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.222, allocations: 4.156 kB / 1.442 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.222, allocations: 1.125 kB / 1.442 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.222, allocations: 6.688 kB / 1.442 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/1.225, allocations: 1.233 MB / 1.443 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/1.225, allocations: 8.922 kB / 1.443 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/1.225, allocations: 70.59 kB / 1.443 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005101/1.226, allocations: 155.8 kB / 1.443 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/1.226, allocations: 6.438 kB / 1.443 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/1.228, allocations: 3.991 MB / 1.447 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.228, allocations: 2.812 kB / 1.447 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/1.23, allocations: 0.8985 MB / 1.448 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/1.23, allocations: 143.8 kB / 1.448 GB, free: 176 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/1.23, allocations: 9.234 kB / 1.448 GB, free: 176 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/1.23, allocations: 38.45 kB / 1.448 GB, free: 176 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.231, allocations: 30.86 kB / 1.448 GB, free: 176 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/1.231, allocations: 13.75 kB / 1.448 GB, free: 176 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000216/1.231, allocations: 172.6 kB / 1.448 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/1.231, allocations: 0 / 1.448 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009426/1.232, allocations: 178.4 kB / 1.449 GB, free: 175.9 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.001757/1.234, allocations: 2.033 MB / 1.451 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002243/1.236, allocations: 1.23 MB / 1.452 GB, free: 174 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.236, allocations: 0 / 1.452 GB, free: 174 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007472/1.237, allocations: 497.9 kB / 1.452 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/1.237, allocations: 49.58 kB / 1.452 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/1.241, allocations: 4.09 MB / 1.456 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/1.242, allocations: 0.8062 MB / 1.457 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004311/1.242, allocations: 119.9 kB / 1.457 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/1.242, allocations: 93.2 kB / 1.457 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of SimCode: time 7.774e-06/1.242, allocations: 0 / 1.457 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/1.268, allocations: 8.195 MB / 1.465 GB, free: 170 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/1.268, allocations: 246.5 kB / 1.466 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.124/3.392, allocations: 0.5 kB / 1.466 GB, free: 169.7 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat does not exist to compare? outputFormat=mat