Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.371/1.371, allocations: 251.5 MB / 266.7 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009504/0.0009505, allocations: 170.6 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007666/0.0007667, allocations: 90.39 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003162, allocations: 11.97 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1475, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.002803/0.1504, allocations: 3.071 MB / 0.8992 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002401/0.1528, allocations: 2.222 MB / 0.9014 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.153, allocations: 4 kB / 0.9014 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006776/0.1536, allocations: 274.2 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003825/0.154, allocations: 223.1 kB / 0.9019 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.1546, allocations: 255.4 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.1549, allocations: 0.5297 MB / 0.9026 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.1552, allocations: 160.8 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.1554, allocations: 131.4 kB / 0.9029 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.1556, allocations: 171.4 kB / 0.9031 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.1556, allocations: 12 kB / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005019/0.1561, allocations: 499 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.1562, allocations: 95.7 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.494e-05/0.1563, allocations: 135.2 kB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004178/0.1567, allocations: 0.5101 MB / 0.9043 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1567, allocations: 4 kB / 0.9043 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1567, allocations: 0 / 0.9043 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.1568, allocations: 0 / 0.9043 GB, free: 59.78 MB / 0.6042 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.0006474/0.1574, allocations: 0.5614 MB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1574, allocations: 11.97 kB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.1575, allocations: 62.72 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007176/0.1582, allocations: 124.4 kB / 0.905 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1585, allocations: 275.6 kB / 0.9053 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1585, allocations: 16.81 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.1585, allocations: 20.38 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.1591, allocations: 427.7 kB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1591, allocations: 3.938 kB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.1591, allocations: 8 kB / 0.9057 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/0.1592, allocations: 36.52 kB / 0.9058 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004886/0.1596, allocations: 358 kB / 0.9061 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.1613, allocations: 2.062 MB / 0.9081 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.162, allocations: 361 kB / 0.9085 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.1623, allocations: 189.6 kB / 0.9086 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-05/0.1624, allocations: 97.09 kB / 0.9087 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.343e-05/0.1624, allocations: 34.56 kB / 0.9088 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.833e-06/0.1624, allocations: 0 / 0.9088 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.004306/0.1667, allocations: 1.751 MB / 0.9105 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.1668, allocations: 88.98 kB / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.1669, allocations: 232.9 kB / 0.9108 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.167, allocations: 33.7 kB / 0.9108 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.167, allocations: 176.1 kB / 0.911 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.45e-05/0.1671, allocations: 126.3 kB / 0.9111 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.1671, allocations: 37.7 kB / 0.9111 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.332e-05/0.1672, allocations: 338.8 kB / 0.9115 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.1675, allocations: 196.8 kB / 0.9116 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.1678, allocations: 313.1 kB / 0.9119 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/0.1685, allocations: 0.5347 MB / 0.9125 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1685, allocations: 0 / 0.9125 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001005/0.1695, allocations: 0.6836 MB / 0.9131 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.1696, allocations: 176.3 kB / 0.9133 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1696, allocations: 4 kB / 0.9133 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004186/0.17, allocations: 151.3 kB / 0.9135 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.1704, allocations: 91.88 kB / 0.9135 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.1721, allocations: 3.953 MB / 0.9174 GB, free: 45.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.1725, allocations: 43.95 kB / 0.9174 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.1725, allocations: 16 kB / 0.9175 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.121e-06/0.1725, allocations: 4 kB / 0.9175 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009723/0.1735, allocations: 0.6238 MB / 0.9181 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1735, allocations: 7.984 kB / 0.9181 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003117/0.1738, allocations: 147.4 kB / 0.9182 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.1742, allocations: 99.88 kB / 0.9183 GB, free: 44.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000333/0.1745, allocations: 1.105 MB / 0.9194 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.1748, allocations: 39.86 kB / 0.9194 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.1748, allocations: 16 kB / 0.9194 GB, free: 43.21 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.175, allocations: 264.9 kB / 0.9197 GB, free: 42.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.1751, allocations: 23.72 kB / 0.9197 GB, free: 42.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009924/0.1761, allocations: 0.621 MB / 0.9203 GB, free: 42.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1761, allocations: 4 kB / 0.9203 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1761, allocations: 4 kB / 0.9203 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1761, allocations: 4 kB / 0.9203 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.1778, allocations: 1.341 MB / 0.9216 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1778, allocations: 7.938 kB / 0.9217 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.178, allocations: 76.08 kB / 0.9217 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003633/0.1784, allocations: 151.3 kB / 0.9219 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.1784, allocations: 11.98 kB / 0.9219 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.1801, allocations: 3.965 MB / 0.9258 GB, free: 36.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1802, allocations: 0 / 0.9258 GB, free: 36.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009315/0.1811, allocations: 0.7895 MB / 0.9265 GB, free: 35.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.1812, allocations: 144.7 kB / 0.9267 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.1813, allocations: 15.98 kB / 0.9267 GB, free: 35.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.1816, allocations: 39.95 kB / 0.9267 GB, free: 35.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.1816, allocations: 35.89 kB / 0.9268 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.1817, allocations: 12 kB / 0.9268 GB, free: 35.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000114/0.1818, allocations: 168.5 kB / 0.9269 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.7e-07/0.1818, allocations: 0 / 0.9269 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006528/0.1825, allocations: 167.9 kB / 0.9271 GB, free: 34.84 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001218/0.1837, allocations: 1.349 MB / 0.9284 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.1854, allocations: 1.216 MB / 0.9296 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1854, allocations: 0 / 0.9296 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005879/0.186, allocations: 490.2 kB / 0.9301 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/0.1866, allocations: 70.38 kB / 0.9301 GB, free: 31.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.1911, allocations: 4.047 MB / 0.9341 GB, free: 27.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.1913, allocations: 0.8084 MB / 0.9349 GB, free: 26.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003344/0.1917, allocations: 110.9 kB / 0.935 GB, free: 26.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.1918, allocations: 83.41 kB / 0.9351 GB, free: 26.27 MB / 0.6042 GB Notification: Performance of SimCode: time 6.92e-07/0.1918, allocations: 0 / 0.9351 GB, free: 26.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.217/0.4088, allocations: 8.352 MB / 0.9432 GB, free: 18.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.409, allocations: 264.8 kB / 0.9435 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/2.619, allocations: 0 / 0.9435 GB, free: 17.79 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)