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.2109/0.213, allocations: 80.83 MB / 0.6706 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter): time 0.005231/0.2183, allocations: 3.345 MB / 0.6739 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002322/0.2207, allocations: 1.577 MB / 0.6754 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.2208, allocations: 11.94 kB / 0.6754 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.2224, allocations: 0.7369 MB / 0.6761 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.2229, allocations: 203 kB / 0.6763 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.2234, allocations: 254.4 kB / 0.6766 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004537/0.2239, allocations: 407.2 kB / 0.677 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005315/0.2244, allocations: 291.7 kB / 0.6772 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.2246, allocations: 171.4 kB / 0.6774 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003614/0.225, allocations: 199.3 kB / 0.6776 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.2251, allocations: 24 kB / 0.6776 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.2255, allocations: 239.4 kB / 0.6779 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.2256, allocations: 103.7 kB / 0.6779 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.2258, allocations: 147.2 kB / 0.6781 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005074/0.2263, allocations: 454.5 kB / 0.6785 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2263, allocations: 0 / 0.6785 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2263, allocations: 0 / 0.6785 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.2263, allocations: 0 / 0.6785 GB, free: 12.45 MB / 0.5294 GB 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.001025/0.2273, allocations: 0.5966 MB / 0.6791 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2274, allocations: 8.031 kB / 0.6791 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006818/0.2281, allocations: 104.5 kB / 0.6792 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.2285, allocations: 285.2 kB / 0.6795 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/0.2286, allocations: 42.83 kB / 0.6795 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.2286, allocations: 24.38 kB / 0.6795 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007123/0.2293, allocations: 436.6 kB / 0.68 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.2294, allocations: 0 / 0.68 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.2294, allocations: 12 kB / 0.68 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-05/0.2295, allocations: 28.48 kB / 0.68 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.2301, allocations: 329.9 kB / 0.6803 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.2321, allocations: 1.682 MB / 0.682 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005453/0.2326, allocations: 198.7 kB / 0.6822 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.2329, allocations: 132.8 kB / 0.6823 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.233, allocations: 4 kB / 0.6823 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.233, allocations: 34.56 kB / 0.6823 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.233, allocations: 0 / 0.6823 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=17): time 0.0006265/0.2336, allocations: 267.3 kB / 0.6826 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.2337, allocations: 51.41 kB / 0.6826 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.2339, allocations: 233 kB / 0.6828 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.2339, allocations: 25.7 kB / 0.6829 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.2341, allocations: 199.8 kB / 0.6831 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.2341, allocations: 55.25 kB / 0.6831 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.181e-05/0.2342, allocations: 53.61 kB / 0.6832 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2344, allocations: 330.8 kB / 0.6835 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.2346, allocations: 84.78 kB / 0.6836 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.2348, allocations: 177.6 kB / 0.6837 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.2353, allocations: 272.6 kB / 0.684 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2353, allocations: 8 kB / 0.684 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005206/0.2358, allocations: 283.6 kB / 0.6843 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2359, allocations: 8.438 kB / 0.6843 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.2359, allocations: 8 kB / 0.6843 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.2359, allocations: 7.938 kB / 0.6843 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.2363, allocations: 71.91 kB / 0.6844 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.2374, allocations: 1.4 MB / 0.6857 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.2376, allocations: 39.61 kB / 0.6858 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.2377, allocations: 12 kB / 0.6858 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002608/0.2379, allocations: 188.7 kB / 0.686 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000229/0.2382, allocations: 186.5 kB / 0.6861 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004012/0.2386, allocations: 269.5 kB / 0.6864 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.2386, allocations: 0 / 0.6864 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005039/0.2391, allocations: 293 kB / 0.6867 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.2391, allocations: 4.469 kB / 0.6867 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2391, allocations: 4 kB / 0.6867 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.2391, allocations: 12 kB / 0.6867 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.2395, allocations: 63.89 kB / 0.6867 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000941/0.2405, allocations: 1.412 MB / 0.6881 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.2406, allocations: 23.83 kB / 0.6881 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2407, allocations: 12 kB / 0.6882 GB, free: 1.773 MB / 0.5294 GB 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.2408, allocations: 192.2 kB / 0.6883 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.2408, allocations: 23.72 kB / 0.6884 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.783e-05/0.2409, allocations: 38.2 kB / 0.6884 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2409, allocations: 0 / 0.6884 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.2409, allocations: 4 kB / 0.6884 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2409, allocations: 3.984 kB / 0.6884 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009662/0.2419, allocations: 0.6807 MB / 0.6891 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.2419, allocations: 11.98 kB / 0.6891 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.2423, allocations: 47.97 kB / 0.6891 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2423, allocations: 0 / 0.6891 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.2423, allocations: 7.938 kB / 0.6891 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.2423, allocations: 7.938 kB / 0.6891 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2423, allocations: 0 / 0.6891 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004224/0.2428, allocations: 323.6 kB / 0.6895 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.2429, allocations: 112.7 kB / 0.6896 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.2429, allocations: 4 kB / 0.6896 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.243, allocations: 15.94 kB / 0.6896 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.2431, allocations: 23.91 kB / 0.6896 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.2431, allocations: 4 kB / 0.6896 GB, free: 156 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001336/0.2433, allocations: 160.5 kB / 0.6898 GB, free: 0 / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2433, allocations: 0 / 0.6898 GB, free: 0 / 0.5294 GB Notification: Performance of remove unused functions: time 0.5106/0.7539, allocations: 111 kB / 0.6899 GB, free: 22.6 MB / 0.5294 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002235/0.7542, allocations: 98.56 kB / 0.69 GB, free: 22.51 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001532/0.7557, allocations: 330.2 kB / 0.6903 GB, free: 22.51 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.7558, allocations: 1.594 kB / 0.6903 GB, free: 22.51 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003884/0.7562, allocations: 94.84 kB / 0.6904 GB, free: 22.51 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.7567, allocations: 49.55 kB / 0.6904 GB, free: 22.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.7578, allocations: 497.5 kB / 0.6909 GB, free: 22.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.7582, allocations: 0.7765 MB / 0.6916 GB, free: 21.56 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002057/0.7584, allocations: 60.53 kB / 0.6917 GB, free: 21.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.7585, allocations: 20.44 kB / 0.6917 GB, free: 21.55 MB / 0.5294 GB Notification: Performance of SimCode: time 1.873e-06/0.7585, allocations: 0 / 0.6917 GB, free: 21.55 MB / 0.5294 GB Notification: Performance of Templates: time 0.007341/0.7658, allocations: 2.512 MB / 0.6942 GB, free: 21.47 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (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)