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: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001194/0.001194, allocations: 166 kB / 326.5 MB, free: 2.652 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.696/1.696, allocations: 205 MB / 0.5766 GB, free: 20.57 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.0007465/0.0007465, allocations: 93.23 kB / 0.6803 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003007, allocations: 9.156 kB / 0.7938 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1818, allocations: 105.4 MB / 0.8968 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003216/0.1851, allocations: 3.062 MB / 0.8997 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002691/0.1878, allocations: 2.229 MB / 0.9019 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.188, allocations: 4 kB / 0.9019 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007773/0.1888, allocations: 275 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005105/0.1894, allocations: 219.1 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006332/0.19, allocations: 258.1 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.1905, allocations: 0.5375 MB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/0.1908, allocations: 156.8 kB / 0.9033 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.191, allocations: 131.4 kB / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.1913, allocations: 175.4 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.1914, allocations: 12 kB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006503/0.192, allocations: 0.4951 MB / 0.9041 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.03e-05/0.1921, allocations: 83.72 kB / 0.9042 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.1922, allocations: 127.3 kB / 0.9043 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004377/0.1927, allocations: 387.1 kB / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1927, allocations: 4 kB / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1927, allocations: 0 / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.1927, allocations: 0 / 0.9047 GB, free: 59.52 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.0007571/0.1935, allocations: 0.5575 MB / 0.9052 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1935, allocations: 12.03 kB / 0.9052 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008025/0.1943, allocations: 128.4 kB / 0.9054 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1946, allocations: 275.7 kB / 0.9056 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.1946, allocations: 16.81 kB / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.1947, allocations: 20.36 kB / 0.9057 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/0.1952, allocations: 427.8 kB / 0.9061 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1953, allocations: 0 / 0.9061 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.1953, allocations: 8 kB / 0.9061 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.564e-05/0.1953, allocations: 32.55 kB / 0.9061 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005344/0.1959, allocations: 361.9 kB / 0.9064 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.1977, allocations: 2.058 MB / 0.9085 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.1984, allocations: 361 kB / 0.9088 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/0.1988, allocations: 197.6 kB / 0.909 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.82e-05/0.1989, allocations: 85.11 kB / 0.9091 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.1989, allocations: 38.56 kB / 0.9091 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.1989, allocations: 0 / 0.9091 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.004519/0.2034, allocations: 1.746 MB / 0.9108 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.2035, allocations: 89.05 kB / 0.9109 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.2037, allocations: 240.8 kB / 0.9111 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.2037, allocations: 29.7 kB / 0.9112 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.2038, allocations: 180.1 kB / 0.9113 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.242e-05/0.2038, allocations: 118.3 kB / 0.9114 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.2039, allocations: 41.7 kB / 0.9115 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.252e-05/0.204, allocations: 338.8 kB / 0.9118 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.2043, allocations: 200.8 kB / 0.912 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.2047, allocations: 317 kB / 0.9123 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006977/0.2054, allocations: 0.5269 MB / 0.9128 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2054, allocations: 4 kB / 0.9128 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001075/0.2065, allocations: 0.6836 MB / 0.9135 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.76e-05/0.2065, allocations: 180.3 kB / 0.9137 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2066, allocations: 3.984 kB / 0.9137 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004572/0.207, allocations: 143.3 kB / 0.9138 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.2074, allocations: 99.81 kB / 0.9139 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.2093, allocations: 3.954 MB / 0.9178 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.2096, allocations: 36.03 kB / 0.9178 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.2096, allocations: 16 kB / 0.9178 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/0.2096, allocations: 4 kB / 0.9178 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001014/0.2107, allocations: 0.6315 MB / 0.9184 GB, free: 44.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2107, allocations: 4 kB / 0.9184 GB, free: 44.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003264/0.211, allocations: 147.2 kB / 0.9186 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.2114, allocations: 96.03 kB / 0.9187 GB, free: 44.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004256/0.2118, allocations: 1.113 MB / 0.9197 GB, free: 43.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.2121, allocations: 35.97 kB / 0.9198 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.2121, allocations: 16 kB / 0.9198 GB, free: 43.03 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.000163/0.2123, allocations: 252.9 kB / 0.92 GB, free: 42.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.2124, allocations: 35.72 kB / 0.9201 GB, free: 42.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.2134, allocations: 0.6249 MB / 0.9207 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2134, allocations: 4 kB / 0.9207 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2134, allocations: 0 / 0.9207 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2134, allocations: 3.984 kB / 0.9207 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.2152, allocations: 1.353 MB / 0.922 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2152, allocations: 0 / 0.922 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.2155, allocations: 59.91 kB / 0.9221 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003691/0.2159, allocations: 163.5 kB / 0.9222 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.2159, allocations: 8 kB / 0.9222 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.2176, allocations: 3.969 MB / 0.9261 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2177, allocations: 8.25 kB / 0.9261 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009443/0.2186, allocations: 0.7855 MB / 0.9269 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.2187, allocations: 144.6 kB / 0.927 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.2188, allocations: 8 kB / 0.927 GB, free: 35.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.2191, allocations: 39.97 kB / 0.9271 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.2192, allocations: 35.89 kB / 0.9271 GB, free: 35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.2192, allocations: 12 kB / 0.9271 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001089/0.2193, allocations: 172.4 kB / 0.9273 GB, free: 34.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2193, allocations: 0 / 0.9273 GB, free: 34.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006327/0.2199, allocations: 156 kB / 0.9274 GB, free: 34.67 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.0001846/0.2201, allocations: 142.7 kB / 0.9276 GB, free: 34.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001557/0.2217, allocations: 1.197 MB / 0.9287 GB, free: 33.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2217, allocations: 4.062 kB / 0.9287 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005753/0.2223, allocations: 0.4919 MB / 0.9292 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/0.2229, allocations: 56.39 kB / 0.9293 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009934/0.2239, allocations: 0.9046 MB / 0.9301 GB, free: 31.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.2241, allocations: 0.8045 MB / 0.9309 GB, free: 30.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.767e-05/0.2242, allocations: 27.44 kB / 0.931 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.2242, allocations: 0 / 0.931 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.008784/0.233, allocations: 8.952 MB / 0.9397 GB, free: 21.91 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)