Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.278/2.278, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001044/0.001044, allocations: 182.5 kB / 0.4901 GB, free: 2.25 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.48/1.48, allocations: 223.1 MB / 0.7992 GB, free: 14.61 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.001178/0.001178, allocations: 99.94 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005194/0.0005195, allocations: 7.5 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3448, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2332/0.5781, allocations: 183.3 MB / 1.408 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.5785, allocations: 103.9 kB / 1.408 GB, free: 1.957 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.7062/1.285, allocations: 22.77 MB / 1.431 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.713e-06/1.285, allocations: 0 / 1.431 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.615e-05/1.285, allocations: 11.22 kB / 1.431 GB, free: 184.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.001056/1.286, allocations: 0.5985 MB / 1.431 GB, free: 184.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/1.286, allocations: 15.33 kB / 1.431 GB, free: 184.2 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.906e-05/1.286, allocations: 67.81 kB / 1.431 GB, free: 184.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/1.287, allocations: 122.1 kB / 1.431 GB, free: 184.2 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/1.288, allocations: 279.2 kB / 1.432 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/1.288, allocations: 15.17 kB / 1.432 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/1.288, allocations: 19.05 kB / 1.432 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007672/1.288, allocations: 410.9 kB / 1.432 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/1.288, allocations: 5.219 kB / 1.432 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/1.288, allocations: 10.45 kB / 1.432 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.208e-05/1.289, allocations: 30.12 kB / 1.432 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007643/1.289, allocations: 358.6 kB / 1.432 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/1.292, allocations: 2.049 MB / 1.434 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008439/1.293, allocations: 354.6 kB / 1.435 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/1.293, allocations: 88.22 kB / 1.435 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/1.293, allocations: 36.8 kB / 1.435 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=22): time 1.764e-06/1.293, allocations: 0 / 1.435 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34): time 0.005691/1.299, allocations: 1.765 MB / 1.437 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/1.299, allocations: 87.7 kB / 1.437 GB, free: 181.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/1.299, allocations: 207.8 kB / 1.437 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/1.299, allocations: 30.92 kB / 1.437 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/1.299, allocations: 189.5 kB / 1.437 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/1.3, allocations: 120.9 kB / 1.437 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/1.3, allocations: 7.594 kB / 1.437 GB, free: 181.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.3, allocations: 337.2 kB / 1.438 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006101/1.3, allocations: 208.3 kB / 1.438 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/1.301, allocations: 309.4 kB / 1.438 GB, free: 181 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006627/1.302, allocations: 243.2 kB / 1.438 GB, free: 181 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/1.302, allocations: 1 kB / 1.438 GB, free: 181 MB / 0.9167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001924/1.304, allocations: 0.6873 MB / 1.439 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003679/1.304, allocations: 1.135 MB / 1.44 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/1.304, allocations: 2.531 kB / 1.44 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006786/1.305, allocations: 157 kB / 1.44 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/1.305, allocations: 99.05 kB / 1.44 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/1.309, allocations: 3.969 MB / 1.444 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/1.309, allocations: 47.39 kB / 1.444 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/1.309, allocations: 15.2 kB / 1.444 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.309, allocations: 4.031 kB / 1.444 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001565/1.311, allocations: 0.6401 MB / 1.445 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/1.311, allocations: 3.812 kB / 1.445 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004752/1.311, allocations: 147.2 kB / 1.445 GB, free: 176 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/1.312, allocations: 97.47 kB / 1.445 GB, free: 176 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005535/1.313, allocations: 1.106 MB / 1.446 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/1.313, allocations: 42.81 kB / 1.446 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/1.313, allocations: 12.94 kB / 1.446 GB, free: 175 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.000289/1.313, allocations: 252.7 kB / 1.447 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.046e-05/1.313, allocations: 33.33 kB / 1.447 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/1.315, allocations: 0.6374 MB / 1.447 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/1.315, allocations: 8.547 kB / 1.447 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.315, allocations: 5.984 kB / 1.447 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/1.315, allocations: 1.875 kB / 1.447 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/1.317, allocations: 1.24 MB / 1.448 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.317, allocations: 1.938 kB / 1.448 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/1.318, allocations: 66.52 kB / 1.448 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/1.318, allocations: 153 kB / 1.449 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/1.318, allocations: 16.66 kB / 1.449 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/1.321, allocations: 3.985 MB / 1.453 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.321, allocations: 2.344 kB / 1.453 GB, free: 170.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/1.322, allocations: 0.8934 MB / 1.453 GB, free: 170.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/1.322, allocations: 140.6 kB / 1.454 GB, free: 170 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/1.322, allocations: 12.14 kB / 1.454 GB, free: 170 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/1.323, allocations: 40.05 kB / 1.454 GB, free: 170 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/1.323, allocations: 35.7 kB / 1.454 GB, free: 170 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/1.323, allocations: 13.16 kB / 1.454 GB, free: 170 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001831/1.323, allocations: 172.6 kB / 1.454 GB, free: 170 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.61e-07/1.323, allocations: 0 / 1.454 GB, free: 170 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009021/1.324, allocations: 175.8 kB / 1.454 GB, free: 169.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.001662/1.326, allocations: 2.036 MB / 1.456 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002175/1.328, allocations: 1.223 MB / 1.457 GB, free: 167.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.328, allocations: 3.094 kB / 1.457 GB, free: 167.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007607/1.329, allocations: 499.7 kB / 1.458 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/1.329, allocations: 51.73 kB / 1.458 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/1.334, allocations: 4.088 MB / 1.462 GB, free: 165 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/1.334, allocations: 0.8121 MB / 1.462 GB, free: 164.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004252/1.335, allocations: 124.4 kB / 1.463 GB, free: 164.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/1.335, allocations: 89.44 kB / 1.463 GB, free: 164.3 MB / 0.9167 GB Notification: Performance of SimCode: time 1.001e-06/1.335, allocations: 1.156 kB / 1.463 GB, free: 164.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/1.36, allocations: 8.202 MB / 1.471 GB, free: 163.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/1.361, allocations: 231.5 kB / 1.471 GB, free: 163.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/3.396, allocations: 0 / 1.471 GB, free: 163.6 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat does not exist to compare? outputFormat=mat