Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) 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_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1697/0.1715, allocations: 80.83 MB / 0.5897 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004792/0.1764, allocations: 3.377 MB / 0.593 GB, free: 3.738 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00324/0.1796, allocations: 2.331 MB / 0.5953 GB, free: 1.395 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.1799, allocations: 4 kB / 0.5953 GB, free: 1.391 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000781/0.1807, allocations: 271.1 kB / 0.5955 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005344/0.1812, allocations: 231.1 kB / 0.5957 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006969/0.1819, allocations: 267.2 kB / 0.596 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004872/0.1824, allocations: 0.5297 MB / 0.5965 GB, free: 112 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003575/0.1828, allocations: 172.8 kB / 0.5967 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.183, allocations: 131.5 kB / 0.5968 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.1833, allocations: 191.3 kB / 0.597 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.1833, allocations: 16 kB / 0.597 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007157/0.184, allocations: 0.4951 MB / 0.5975 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1841, allocations: 87.78 kB / 0.5976 GB, free: 15.03 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.1843, allocations: 135.2 kB / 0.5977 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005911/0.1849, allocations: 0.5257 MB / 0.5982 GB, free: 14.37 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1849, allocations: 0 / 0.5982 GB, free: 14.37 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1849, allocations: 0 / 0.5982 GB, free: 14.37 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.1849, allocations: 0 / 0.5982 GB, free: 14.37 MB / 462.1 MB 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.0008892/0.1858, allocations: 0.6003 MB / 0.5988 GB, free: 13.72 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1858, allocations: 12.03 kB / 0.5988 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008033/0.1866, allocations: 120.4 kB / 0.5989 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.1869, allocations: 272.3 kB / 0.5992 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.187, allocations: 20.8 kB / 0.5992 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.187, allocations: 20.12 kB / 0.5992 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/0.1876, allocations: 415.5 kB / 0.5996 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1877, allocations: 0 / 0.5996 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.1877, allocations: 11.98 kB / 0.5996 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.956e-05/0.1878, allocations: 40.47 kB / 0.5997 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005726/0.1883, allocations: 346 kB / 0.6 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.1905, allocations: 1.849 MB / 0.6018 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007901/0.1913, allocations: 349.1 kB / 0.6021 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003823/0.1917, allocations: 197.6 kB / 0.6023 GB, free: 9.875 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.1919, allocations: 89.09 kB / 0.6024 GB, free: 9.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.1919, allocations: 34.56 kB / 0.6024 GB, free: 9.727 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.1919, allocations: 4 kB / 0.6025 GB, free: 9.723 MB / 462.1 MB Notification: Performance of matching and sorting (n=34): time 0.004669/0.1966, allocations: 1.572 MB / 0.604 GB, free: 8.117 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.1967, allocations: 93.08 kB / 0.6041 GB, free: 8.008 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.1969, allocations: 240.8 kB / 0.6043 GB, free: 7.762 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/0.197, allocations: 29.7 kB / 0.6043 GB, free: 7.727 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.1971, allocations: 180.1 kB / 0.6045 GB, free: 7.547 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.351e-05/0.1972, allocations: 114.3 kB / 0.6046 GB, free: 7.434 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.1973, allocations: 86.03 kB / 0.6047 GB, free: 7.344 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1975, allocations: 330.8 kB / 0.605 GB, free: 7.012 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.1978, allocations: 198.5 kB / 0.6052 GB, free: 6.816 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.1983, allocations: 305.1 kB / 0.6055 GB, free: 6.473 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008141/0.1991, allocations: 0.5163 MB / 0.606 GB, free: 5.914 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1991, allocations: 0 / 0.606 GB, free: 5.914 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001198/0.2003, allocations: 0.6641 MB / 0.6066 GB, free: 5.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2004, allocations: 4 kB / 0.6066 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2004, allocations: 4 kB / 0.6067 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005116/0.2009, allocations: 143.5 kB / 0.6068 GB, free: 5.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.2013, allocations: 95.81 kB / 0.6069 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003029/0.2043, allocations: 3.95 MB / 0.6107 GB, free: 0.707 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.2047, allocations: 35.86 kB / 0.6108 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.2047, allocations: 16 kB / 0.6108 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005448/0.2052, allocations: 317.7 kB / 0.6111 GB, free: 352 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004515/0.2057, allocations: 313 kB / 0.6114 GB, free: 15.99 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008357/0.2066, allocations: 0.5076 MB / 0.6119 GB, free: 15.44 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.2066, allocations: 0 / 0.6119 GB, free: 15.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001259/0.2078, allocations: 0.6448 MB / 0.6125 GB, free: 14.78 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.2079, allocations: 12.03 kB / 0.6125 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2079, allocations: 4 kB / 0.6125 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003843/0.2083, allocations: 143.3 kB / 0.6127 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.2087, allocations: 91.88 kB / 0.6128 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/0.2115, allocations: 3.95 MB / 0.6166 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.2118, allocations: 35.91 kB / 0.6166 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.2118, allocations: 16 kB / 0.6167 GB, free: 10.2 MB / 478.1 MB 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.0002081/0.2121, allocations: 220.2 kB / 0.6169 GB, free: 9.98 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.079e-05/0.2121, allocations: 27.62 kB / 0.6169 GB, free: 9.953 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.2134, allocations: 0.5971 MB / 0.6175 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2134, allocations: 4 kB / 0.6175 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2134, allocations: 3.938 kB / 0.6175 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.2135, allocations: 7.984 kB / 0.6175 GB, free: 9.316 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.2156, allocations: 1.315 MB / 0.6188 GB, free: 7.891 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2156, allocations: 0 / 0.6188 GB, free: 7.891 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.2159, allocations: 63.89 kB / 0.6188 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/0.2163, allocations: 163.5 kB / 0.619 GB, free: 7.656 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.2164, allocations: 11.94 kB / 0.619 GB, free: 7.645 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003003/0.2194, allocations: 3.95 MB / 0.6229 GB, free: 3.375 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.2194, allocations: 11.94 kB / 0.6229 GB, free: 3.363 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.2205, allocations: 0.7701 MB / 0.6236 GB, free: 2.539 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.2207, allocations: 136.8 kB / 0.6238 GB, free: 2.387 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.2208, allocations: 11.94 kB / 0.6238 GB, free: 2.375 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.2211, allocations: 35.95 kB / 0.6238 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.2212, allocations: 28 kB / 0.6238 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.2212, allocations: 16 kB / 0.6238 GB, free: 2.297 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.2214, allocations: 172.5 kB / 0.624 GB, free: 2.133 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2214, allocations: 0 / 0.624 GB, free: 2.133 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007803/0.2222, allocations: 160 kB / 0.6242 GB, free: 1.977 MB / 478.1 MB 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.0002325/0.2224, allocations: 143.1 kB / 0.6243 GB, free: 1.828 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.2244, allocations: 1.239 MB / 0.6255 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2245, allocations: 0 / 0.6255 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007302/0.2252, allocations: 485.8 kB / 0.626 GB, free: 40 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.2258, allocations: 69.48 kB / 0.626 GB, free: 15.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.2271, allocations: 0.8752 MB / 0.6269 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.2275, allocations: 0.8123 MB / 0.6277 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003212/0.2278, allocations: 114.8 kB / 0.6278 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.514e-05/0.2279, allocations: 23.44 kB / 0.6278 GB, free: 14.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2279, allocations: 0 / 0.6278 GB, free: 14.07 MB / 494.1 MB Notification: Performance of Templates: time 0.01014/0.238, allocations: 6.044 MB / 0.6337 GB, free: 8.105 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)