Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") [/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.1982/0.2003, allocations: 80.84 MB / 0.6706 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006271/0.2066, allocations: 4.051 MB / 0.6746 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003699/0.2103, allocations: 1.691 MB / 0.6762 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003506/0.2108, allocations: 4 kB / 0.6762 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.2127, allocations: 0.5863 MB / 0.6768 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008431/0.2136, allocations: 254.8 kB / 0.677 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.2143, allocations: 207.6 kB / 0.6772 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008554/0.2151, allocations: 0.5414 MB / 0.6778 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008531/0.216, allocations: 469.8 kB / 0.6782 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.2163, allocations: 231.2 kB / 0.6784 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006425/0.217, allocations: 263.1 kB / 0.6787 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.368e-05/0.2171, allocations: 32 kB / 0.6787 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/0.2175, allocations: 167.7 kB / 0.6789 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.2177, allocations: 147.6 kB / 0.679 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.2179, allocations: 191.1 kB / 0.6792 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007716/0.2187, allocations: 0.5179 MB / 0.6797 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2187, allocations: 0 / 0.6797 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2187, allocations: 0 / 0.6797 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.2187, allocations: 0 / 0.6797 GB, free: 8.684 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001511/0.2202, allocations: 0.6825 MB / 0.6804 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.2203, allocations: 12.03 kB / 0.6804 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007363/0.221, allocations: 104.4 kB / 0.6805 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.2216, allocations: 307.6 kB / 0.6808 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.862e-05/0.2217, allocations: 59.25 kB / 0.6808 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/0.2217, allocations: 36.3 kB / 0.6809 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000908/0.2226, allocations: 0.5048 MB / 0.6814 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.2227, allocations: 0 / 0.6814 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.2227, allocations: 19.98 kB / 0.6814 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.656e-05/0.2228, allocations: 28.98 kB / 0.6814 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.2235, allocations: 383.6 kB / 0.6818 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.2263, allocations: 1.648 MB / 0.6834 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007022/0.227, allocations: 250.6 kB / 0.6836 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.2273, allocations: 152.8 kB / 0.6838 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.2274, allocations: 7.984 kB / 0.6838 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.2274, allocations: 34.56 kB / 0.6838 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.2274, allocations: 0 / 0.6838 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001577/0.229, allocations: 0.5745 MB / 0.6844 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.2291, allocations: 51.41 kB / 0.6844 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.2294, allocations: 229 kB / 0.6846 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.2294, allocations: 29.7 kB / 0.6847 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.2296, allocations: 207.7 kB / 0.6849 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.2297, allocations: 70.98 kB / 0.6849 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/0.2298, allocations: 49.7 kB / 0.685 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.23, allocations: 330.8 kB / 0.6853 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.2302, allocations: 104.7 kB / 0.6854 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.2305, allocations: 175.6 kB / 0.6856 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.231, allocations: 277.1 kB / 0.6858 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.231, allocations: 0 / 0.6858 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008418/0.2318, allocations: 377.4 kB / 0.6862 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2319, allocations: 8 kB / 0.6862 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2319, allocations: 0 / 0.6862 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005714/0.2325, allocations: 113.7 kB / 0.6863 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.2327, allocations: 55.91 kB / 0.6864 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003365/0.2361, allocations: 3.05 MB / 0.6893 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.2363, allocations: 35.67 kB / 0.6894 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.2364, allocations: 8 kB / 0.6894 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003568/0.2367, allocations: 228 kB / 0.6896 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000261/0.237, allocations: 180.3 kB / 0.6898 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004626/0.2375, allocations: 273.2 kB / 0.69 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.508e-06/0.2375, allocations: 7.984 kB / 0.69 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007757/0.2383, allocations: 341 kB / 0.6904 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2383, allocations: 15.94 kB / 0.6904 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.2383, allocations: 0 / 0.6904 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003157/0.2386, allocations: 84.81 kB / 0.6905 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.2389, allocations: 55.91 kB / 0.6905 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.241, allocations: 1.606 MB / 0.6921 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.2412, allocations: 27.83 kB / 0.6921 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.2413, allocations: 15.94 kB / 0.6921 GB, free: 11.04 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.2414, allocations: 188.2 kB / 0.6923 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.2415, allocations: 27.72 kB / 0.6923 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.583e-05/0.2416, allocations: 26.17 kB / 0.6923 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2416, allocations: 8 kB / 0.6924 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2416, allocations: 7.938 kB / 0.6924 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.2416, allocations: 4.078 kB / 0.6924 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.243, allocations: 0.78 MB / 0.6931 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.243, allocations: 4 kB / 0.6931 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.2432, allocations: 31.97 kB / 0.6932 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003785/0.2436, allocations: 105.6 kB / 0.6933 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.2436, allocations: 7.938 kB / 0.6933 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002992/0.2466, allocations: 3.023 MB / 0.6962 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2466, allocations: 4.031 kB / 0.6962 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007709/0.2474, allocations: 403.2 kB / 0.6966 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.2475, allocations: 124.7 kB / 0.6967 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.2476, allocations: 7.984 kB / 0.6967 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.2477, allocations: 4 kB / 0.6967 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.32e-05/0.2478, allocations: 27.97 kB / 0.6968 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.2478, allocations: 8 kB / 0.6968 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001624/0.248, allocations: 168.5 kB / 0.6969 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.248, allocations: 0 / 0.6969 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006976/0.2487, allocations: 163.4 kB / 0.6971 GB, free: 5.535 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001356/0.2489, allocations: 95.25 kB / 0.6972 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002021/0.2509, allocations: 0.7677 MB / 0.6979 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2509, allocations: 0 / 0.6979 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007925/0.2517, allocations: 375.8 kB / 0.6983 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.2522, allocations: 56.58 kB / 0.6983 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.2536, allocations: 0.6102 MB / 0.6989 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.2541, allocations: 0.8107 MB / 0.6997 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002009/0.2543, allocations: 58.23 kB / 0.6998 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.2543, allocations: 19.44 kB / 0.6998 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of SimCode: time 4.5e-07/0.2543, allocations: 0 / 0.6998 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of Templates: time 0.009642/0.264, allocations: 4.808 MB / 0.7045 GB, free: 13.85 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)