Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.431/1.431, allocations: 288.4 MB / 303.6 MB, free: 8.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008683/0.0008683, allocations: 176.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.12/1.12, allocations: 205.4 MB / 0.631 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006319/0.0006319, allocations: 86.34 kB / 0.7444 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003363, allocations: 15.88 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1597, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.002633/0.1623, allocations: 2.911 MB / 0.983 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.1644, allocations: 2.048 MB / 0.985 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1646, allocations: 4 kB / 0.985 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.1647, allocations: 39.64 kB / 0.9851 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003872/0.1651, allocations: 219.1 kB / 0.9853 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.1656, allocations: 239.4 kB / 0.9855 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.1659, allocations: 446.5 kB / 0.9859 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.1663, allocations: 342.4 kB / 0.9863 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1664, allocations: 123.5 kB / 0.9864 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.1667, allocations: 171.4 kB / 0.9865 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.1667, allocations: 8 kB / 0.9866 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004679/0.1672, allocations: 491 kB / 0.987 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.1672, allocations: 87.77 kB / 0.9871 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.586e-05/0.1673, allocations: 141.1 kB / 0.9872 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.1676, allocations: 387 kB / 0.9876 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1677, allocations: 4 kB / 0.9876 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1677, allocations: 0 / 0.9876 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.1677, allocations: 0 / 0.9876 GB, free: 19.58 MB / 0.6198 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.0006587/0.1683, allocations: 0.5575 MB / 0.9882 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1684, allocations: 12.03 kB / 0.9882 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.1684, allocations: 70.7 kB / 0.9882 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006875/0.1691, allocations: 116.4 kB / 0.9884 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1694, allocations: 275.8 kB / 0.9886 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.1694, allocations: 16.8 kB / 0.9886 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.1695, allocations: 24.38 kB / 0.9887 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.17, allocations: 415.7 kB / 0.989 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.17, allocations: 3.938 kB / 0.9891 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.17, allocations: 15.98 kB / 0.9891 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/0.1701, allocations: 40.47 kB / 0.9891 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.1706, allocations: 350 kB / 0.9894 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.1723, allocations: 2.062 MB / 0.9915 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/0.1729, allocations: 350.3 kB / 0.9918 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.1732, allocations: 205.6 kB / 0.992 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.51e-05/0.1733, allocations: 89.09 kB / 0.9921 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.1733, allocations: 34.56 kB / 0.9921 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.1733, allocations: 4 kB / 0.9921 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.004263/0.1776, allocations: 1.754 MB / 0.9938 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.1776, allocations: 88.98 kB / 0.9939 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.1778, allocations: 236.9 kB / 0.9941 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1778, allocations: 29.7 kB / 0.9942 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.1779, allocations: 184 kB / 0.9943 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/0.178, allocations: 118.3 kB / 0.9944 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.178, allocations: 4 kB / 0.9944 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.178, allocations: 338.8 kB / 0.9948 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/0.1784, allocations: 204.7 kB / 0.995 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.1787, allocations: 305.1 kB / 0.9953 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006612/0.1794, allocations: 0.5269 MB / 0.9958 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1794, allocations: 4 kB / 0.9958 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009943/0.1804, allocations: 0.6719 MB / 0.9964 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/0.1805, allocations: 180.3 kB / 0.9966 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1805, allocations: 7.984 kB / 0.9966 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000412/0.1809, allocations: 151.3 kB / 0.9968 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.1813, allocations: 95.88 kB / 0.9968 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.183, allocations: 3.946 MB / 1.001 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.1833, allocations: 44.11 kB / 1.001 GB, free: 5.195 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.1833, allocations: 19.94 kB / 1.001 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.591e-06/0.1833, allocations: 5.562 kB / 1.001 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009594/0.1843, allocations: 0.6162 MB / 1.001 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1843, allocations: 4 kB / 1.001 GB, free: 4.539 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003012/0.1846, allocations: 151.3 kB / 1.002 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.185, allocations: 96.03 kB / 1.002 GB, free: 4.285 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003289/0.1853, allocations: 1.112 MB / 1.003 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.1856, allocations: 40.14 kB / 1.003 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.1856, allocations: 16 kB / 1.003 GB, free: 3.066 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0001392/0.1857, allocations: 256.9 kB / 1.003 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.1858, allocations: 23.72 kB / 1.003 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009777/0.1868, allocations: 0.6323 MB / 1.004 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1868, allocations: 4 kB / 1.004 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1868, allocations: 0 / 1.004 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1868, allocations: 3.984 kB / 1.004 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.1885, allocations: 1.339 MB / 1.005 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1885, allocations: 0 / 1.005 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.1888, allocations: 67.83 kB / 1.005 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000345/0.1891, allocations: 159.5 kB / 1.005 GB, free: 452 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.1891, allocations: 15.94 kB / 1.005 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/0.1916, allocations: 3.954 MB / 1.009 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.1917, allocations: 4 kB / 1.009 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.1928, allocations: 0.8043 MB / 1.01 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.1929, allocations: 132.7 kB / 1.01 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.193, allocations: 15.98 kB / 1.01 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.1932, allocations: 39.97 kB / 1.01 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/0.1933, allocations: 31.91 kB / 1.01 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.1934, allocations: 12 kB / 1.01 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000141/0.1935, allocations: 172.5 kB / 1.01 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1935, allocations: 0 / 1.01 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005998/0.1941, allocations: 163.9 kB / 1.01 GB, free: 10.71 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.001379/0.1955, allocations: 1.356 MB / 1.012 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00186/0.1974, allocations: 1.213 MB / 1.013 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1974, allocations: 0 / 1.013 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006578/0.1981, allocations: 490.3 kB / 1.013 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.1986, allocations: 59.41 kB / 1.013 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.2017, allocations: 2.257 MB / 1.016 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.202, allocations: 0.8123 MB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003012/0.2023, allocations: 118.9 kB / 1.017 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.2025, allocations: 83.41 kB / 1.017 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of SimCode: time 3.01e-07/0.2025, allocations: 0 / 1.017 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8259/1.028, allocations: 8.278 MB / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/1.029, allocations: 240 kB / 1.025 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.777/3.806, allocations: 0 / 1.025 GB, free: 11.74 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)