Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.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.DC.Conversion.Examples.DCDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") translateModel(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") [/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.2075/0.2086, allocations: 82.21 MB / 0.5935 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.004919/0.2136, allocations: 2.889 MB / 0.5963 GB, free: 3.078 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.2164, allocations: 1.477 MB / 0.5977 GB, free: 1.598 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002981/0.2167, allocations: 7.938 kB / 0.5977 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.217, allocations: 51.56 kB / 0.5978 GB, free: 1.539 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:29:54-29:70:writable] Warning: 'each' used when modifying non-array element P. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:30:13-30:21:writable] Warning: 'each' used when modifying non-array element P. Notification: Performance of NFTyping.typeBindings: time 0.0006858/0.2177, allocations: 151.3 kB / 0.5979 GB, free: 1.391 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008017/0.2186, allocations: 182.9 kB / 0.5981 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006806/0.2192, allocations: 463.1 kB / 0.5985 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005009/0.2198, allocations: 311 kB / 0.5988 GB, free: 440 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.22, allocations: 127.5 kB / 0.599 GB, free: 312 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004705/0.2205, allocations: 187.3 kB / 0.5991 GB, free: 124 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.617e-05/0.2206, allocations: 16 kB / 0.5992 GB, free: 108 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.2209, allocations: 111.9 kB / 0.5993 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.2211, allocations: 95.7 kB / 0.5994 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.762e-05/0.2212, allocations: 69.58 kB / 0.5994 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.2216, allocations: 335.3 kB / 0.5997 GB, free: 15.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2216, allocations: 0 / 0.5997 GB, free: 15.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2216, allocations: 0 / 0.5997 GB, free: 15.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.2217, allocations: 0 / 0.5997 GB, free: 15.5 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001032/0.2227, allocations: 0.5535 MB / 0.6003 GB, free: 14.9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2227, allocations: 12.03 kB / 0.6003 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007648/0.2235, allocations: 107.5 kB / 0.6004 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.2239, allocations: 272.1 kB / 0.6007 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.17e-05/0.224, allocations: 46.27 kB / 0.6007 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.224, allocations: 24 kB / 0.6007 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007279/0.2248, allocations: 424.5 kB / 0.6011 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2248, allocations: 7.922 kB / 0.6011 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.2248, allocations: 15.98 kB / 0.6012 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-05/0.2249, allocations: 32.48 kB / 0.6012 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006285/0.2255, allocations: 334 kB / 0.6015 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.2279, allocations: 1.687 MB / 0.6031 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.2285, allocations: 210.2 kB / 0.6033 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.2288, allocations: 144.8 kB / 0.6035 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.2289, allocations: 7.984 kB / 0.6035 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.2289, allocations: 38.56 kB / 0.6035 GB, free: 11.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.2289, allocations: 0 / 0.6035 GB, free: 11.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006983/0.2296, allocations: 279.1 kB / 0.6038 GB, free: 11.08 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.2297, allocations: 51.41 kB / 0.6038 GB, free: 11.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.2299, allocations: 228.9 kB / 0.6041 GB, free: 10.78 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.23, allocations: 33.64 kB / 0.6041 GB, free: 10.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.2301, allocations: 191.9 kB / 0.6043 GB, free: 10.55 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.2302, allocations: 55.2 kB / 0.6043 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.2302, allocations: 4 kB / 0.6043 GB, free: 10.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2304, allocations: 330.8 kB / 0.6047 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.2306, allocations: 79.94 kB / 0.6047 GB, free: 10.08 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.2309, allocations: 189.6 kB / 0.6049 GB, free: 9.848 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.2311, allocations: 112 kB / 0.605 GB, free: 9.738 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.2311, allocations: 0 / 0.605 GB, free: 9.738 MB / 462.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005993/0.2317, allocations: 302.7 kB / 0.6053 GB, free: 9.438 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.2319, allocations: 193.3 kB / 0.6055 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.2319, allocations: 0 / 0.6055 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.232, allocations: 8 kB / 0.6055 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/0.2324, allocations: 71.89 kB / 0.6056 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.2337, allocations: 1.302 MB / 0.6068 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.2339, allocations: 39.67 kB / 0.6069 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.2339, allocations: 12 kB / 0.6069 GB, free: 7.641 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.234, allocations: 4.625 kB / 0.6069 GB, free: 7.637 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004915/0.2345, allocations: 254.7 kB / 0.6071 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.2345, allocations: 7.984 kB / 0.6071 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.2345, allocations: 11.98 kB / 0.6072 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.2349, allocations: 63.91 kB / 0.6072 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009812/0.2359, allocations: 1.306 MB / 0.6085 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.2361, allocations: 31.78 kB / 0.6085 GB, free: 5.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.2361, allocations: 12 kB / 0.6085 GB, free: 5.828 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002153/0.2363, allocations: 241.8 kB / 0.6088 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.2364, allocations: 23.81 kB / 0.6088 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.2364, allocations: 30.17 kB / 0.6088 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2364, allocations: 3.938 kB / 0.6088 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2364, allocations: 4 kB / 0.6088 GB, free: 5.523 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2365, allocations: 7.953 kB / 0.6088 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.2376, allocations: 0.6926 MB / 0.6095 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.2376, allocations: 3.953 kB / 0.6095 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.2379, allocations: 47.97 kB / 0.6096 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.2379, allocations: 4.156 kB / 0.6096 GB, free: 4.691 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.2379, allocations: 4 kB / 0.6096 GB, free: 4.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.238, allocations: 7.938 kB / 0.6096 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.238, allocations: 0 / 0.6096 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.2384, allocations: 331.4 kB / 0.6099 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2385, allocations: 108.9 kB / 0.61 GB, free: 4.199 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.2385, allocations: 4 kB / 0.61 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.2387, allocations: 15.98 kB / 0.61 GB, free: 4.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/0.2388, allocations: 19.92 kB / 0.61 GB, free: 4.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.2388, allocations: 4 kB / 0.61 GB, free: 4.156 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.2389, allocations: 160.5 kB / 0.6102 GB, free: 4.004 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.633e-06/0.2389, allocations: 0 / 0.6102 GB, free: 4.004 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005448/0.2395, allocations: 123.5 kB / 0.6103 GB, free: 3.883 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001026/0.2396, allocations: 103.2 kB / 0.6104 GB, free: 3.773 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000938/0.2405, allocations: 340.6 kB / 0.6107 GB, free: 3.441 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.2406, allocations: 4 kB / 0.6107 GB, free: 3.438 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.2409, allocations: 96.62 kB / 0.6108 GB, free: 3.344 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.2413, allocations: 48.36 kB / 0.6109 GB, free: 3.297 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009631/0.2423, allocations: 0.5788 MB / 0.6114 GB, free: 2.676 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.2427, allocations: 0.7755 MB / 0.6122 GB, free: 1.871 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.2429, allocations: 65.86 kB / 0.6123 GB, free: 1.805 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.243, allocations: 19.44 kB / 0.6123 GB, free: 1.785 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.243, allocations: 0 / 0.6123 GB, free: 1.785 MB / 462.1 MB Notification: Performance of Templates: time 0.005942/0.2489, allocations: 2.146 MB / 0.6144 GB, free: 15.66 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) Environment - environmentSimulation: