Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.993/4.993, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002408/0.002408, allocations: 359.2 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.12/4.12, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001709/0.001708, allocations: 174.4 kB / 1.225 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005096/0.0005098, allocations: 12 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1595, allocations: 115.3 MB / 1.461 GB, free: 6.586 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003433/0.163, allocations: 2.903 MB / 1.464 GB, free: 3.664 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003168/0.1662, allocations: 2.056 MB / 1.466 GB, free: 1.598 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.1665, allocations: 7.938 kB / 1.466 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.1666, allocations: 39.7 kB / 1.466 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005815/0.1672, allocations: 179 kB / 1.466 GB, free: 1.375 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008808/0.1681, allocations: 211.3 kB / 1.466 GB, free: 1.168 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006404/0.1688, allocations: 438.6 kB / 1.466 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000691/0.1695, allocations: 321.6 kB / 1.467 GB, free: 404 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.1698, allocations: 127.5 kB / 1.467 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.1701, allocations: 171.4 kB / 1.467 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.1702, allocations: 12 kB / 1.467 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007503/0.171, allocations: 267.5 kB / 1.467 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.1711, allocations: 83.77 kB / 1.467 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1712, allocations: 73.52 kB / 1.467 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006347/0.1719, allocations: 371.1 kB / 1.468 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1719, allocations: 0 / 1.468 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.344e-06/0.1719, allocations: 0 / 1.468 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.893e-06/0.1719, allocations: 0 / 1.468 GB, free: 15.3 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.001107/0.173, allocations: 0.5651 MB / 1.468 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1731, allocations: 12.03 kB / 1.468 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.1743, allocations: 139.4 kB / 1.468 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.1748, allocations: 267.1 kB / 1.469 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.1749, allocations: 24.42 kB / 1.469 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.1749, allocations: 20 kB / 1.469 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009282/0.1759, allocations: 423.5 kB / 1.469 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1759, allocations: 0 / 1.469 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.176, allocations: 8 kB / 1.469 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.487e-05/0.1761, allocations: 32.55 kB / 1.469 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008864/0.177, allocations: 361.8 kB / 1.47 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/0.1804, allocations: 2.058 MB / 1.472 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.1815, allocations: 357.6 kB / 1.472 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005473/0.1821, allocations: 198 kB / 1.472 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.1822, allocations: 93.23 kB / 1.472 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.1823, allocations: 34.73 kB / 1.472 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 3.166e-06/0.1823, allocations: 0 / 1.472 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.00665/0.189, allocations: 1.76 MB / 1.474 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.1891, allocations: 89.09 kB / 1.474 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.1894, allocations: 228.9 kB / 1.474 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.1895, allocations: 29.7 kB / 1.474 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.1897, allocations: 184 kB / 1.474 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.1898, allocations: 122.3 kB / 1.475 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.1899, allocations: 8 kB / 1.475 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1901, allocations: 334.8 kB / 1.475 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005502/0.1906, allocations: 200.8 kB / 1.475 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/0.1913, allocations: 317 kB / 1.475 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000699/0.192, allocations: 247.7 kB / 1.476 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.438e-06/0.1921, allocations: 4 kB / 1.476 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00332/0.1954, allocations: 0.6705 MB / 1.476 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002654/0.1957, allocations: 180.3 kB / 1.476 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.1958, allocations: 7.938 kB / 1.476 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.1969, allocations: 151.2 kB / 1.477 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008947/0.1978, allocations: 95.86 kB / 1.477 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006313/0.2042, allocations: 3.942 MB / 1.481 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008124/0.2051, allocations: 43.95 kB / 1.481 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.709e-05/0.2052, allocations: 16 kB / 1.481 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2052, allocations: 4 kB / 1.481 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002966/0.2082, allocations: 0.6215 MB / 1.481 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.2083, allocations: 7.984 kB / 1.481 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009853/0.2093, allocations: 139.5 kB / 1.481 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.2103, allocations: 91.88 kB / 1.481 GB, free: 420 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.2119, allocations: 1.116 MB / 1.483 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007814/0.2127, allocations: 35.95 kB / 1.483 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.452e-05/0.2128, allocations: 20 kB / 1.483 GB, free: 15.18 MB / 0.6355 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.0005433/0.2134, allocations: 253.2 kB / 1.483 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.2136, allocations: 31.67 kB / 1.483 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00318/0.2168, allocations: 0.6346 MB / 1.483 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.2169, allocations: 4 kB / 1.483 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.2169, allocations: 0 / 1.483 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/0.2169, allocations: 7.953 kB / 1.484 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005794/0.2228, allocations: 1.329 MB / 1.485 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.2228, allocations: 4.25 kB / 1.485 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007127/0.2236, allocations: 67.89 kB / 1.485 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.2248, allocations: 155.2 kB / 1.485 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-05/0.2249, allocations: 15.95 kB / 1.485 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006501/0.2314, allocations: 3.958 MB / 1.489 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.398e-05/0.2315, allocations: 8.016 kB / 1.489 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003073/0.2346, allocations: 0.7934 MB / 1.49 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.235, allocations: 140.8 kB / 1.49 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.2352, allocations: 8 kB / 1.49 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008189/0.236, allocations: 35.97 kB / 1.49 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.2362, allocations: 39.84 kB / 1.49 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.316e-05/0.2363, allocations: 12 kB / 1.49 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004134/0.2367, allocations: 172.5 kB / 1.49 GB, free: 7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.131e-06/0.2368, allocations: 0 / 1.49 GB, free: 7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001881/0.2387, allocations: 164 kB / 1.49 GB, free: 6.84 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.0004261/0.2391, allocations: 131.1 kB / 1.49 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004435/0.2436, allocations: 1.201 MB / 1.492 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.389e-06/0.2436, allocations: 3.938 kB / 1.492 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.2448, allocations: 0.498 MB / 1.492 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007766/0.2456, allocations: 52.41 kB / 1.492 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.2473, allocations: 0.8602 MB / 1.493 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00058/0.2479, allocations: 0.8084 MB / 1.494 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005005/0.2484, allocations: 118.8 kB / 1.494 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2486, allocations: 35.42 kB / 1.494 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of SimCode: time 1.688e-06/0.2486, allocations: 0 / 1.494 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of Templates: time 0.0144/0.263, allocations: 5.522 MB / 1.499 GB, free: 13.47 MB / 0.6511 GB