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.1864/0.1885, allocations: 80.84 MB / 0.6706 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005942/0.1945, allocations: 4.037 MB / 0.6746 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002761/0.1973, allocations: 1.695 MB / 0.6762 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.1975, allocations: 7.938 kB / 0.6762 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.1991, allocations: 0.579 MB / 0.6768 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005604/0.1997, allocations: 254.8 kB / 0.677 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005762/0.2003, allocations: 215.6 kB / 0.6772 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005388/0.2008, allocations: 0.5375 MB / 0.6778 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006918/0.2015, allocations: 473.8 kB / 0.6782 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.2018, allocations: 227.2 kB / 0.6784 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004003/0.2022, allocations: 259.1 kB / 0.6787 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.411e-05/0.2023, allocations: 36 kB / 0.6787 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.2026, allocations: 167.6 kB / 0.6789 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.2027, allocations: 143.7 kB / 0.679 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.203, allocations: 199 kB / 0.6792 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005809/0.2035, allocations: 0.5179 MB / 0.6797 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2036, allocations: 4 kB / 0.6797 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2036, allocations: 0 / 0.6797 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.2036, allocations: 0 / 0.6797 GB, free: 8.789 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.001292/0.2049, allocations: 0.6825 MB / 0.6804 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2049, allocations: 12.02 kB / 0.6804 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007448/0.2057, allocations: 104.4 kB / 0.6805 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/0.2062, allocations: 303.6 kB / 0.6808 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.2063, allocations: 63.25 kB / 0.6808 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.2063, allocations: 28.38 kB / 0.6809 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008694/0.2072, allocations: 0.5087 MB / 0.6814 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.2072, allocations: 0 / 0.6814 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.2073, allocations: 12 kB / 0.6814 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.283e-05/0.2073, allocations: 36.98 kB / 0.6814 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007342/0.2081, allocations: 383.7 kB / 0.6818 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.2103, allocations: 1.644 MB / 0.6834 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006923/0.211, allocations: 254.6 kB / 0.6836 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.2114, allocations: 152.8 kB / 0.6838 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.2114, allocations: 3.984 kB / 0.6838 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.2114, allocations: 38.56 kB / 0.6838 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=19): time 2.084e-06/0.2115, allocations: 0 / 0.6838 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001534/0.213, allocations: 0.5745 MB / 0.6844 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.213, allocations: 55.41 kB / 0.6844 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.2133, allocations: 225 kB / 0.6846 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.2133, allocations: 29.7 kB / 0.6847 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.2135, allocations: 203.7 kB / 0.6849 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.298e-05/0.2135, allocations: 71 kB / 0.6849 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.74e-05/0.2136, allocations: 53.7 kB / 0.685 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2138, allocations: 326.8 kB / 0.6853 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.214, allocations: 92.8 kB / 0.6854 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.2143, allocations: 191.5 kB / 0.6856 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.2148, allocations: 273.1 kB / 0.6858 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2148, allocations: 4 kB / 0.6858 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008504/0.2157, allocations: 377.4 kB / 0.6862 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.2157, allocations: 7.984 kB / 0.6862 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2157, allocations: 4 kB / 0.6862 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005115/0.2163, allocations: 113.7 kB / 0.6863 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.2165, allocations: 47.91 kB / 0.6864 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/0.2197, allocations: 3.054 MB / 0.6893 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.22, allocations: 35.67 kB / 0.6894 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.2201, allocations: 12.09 kB / 0.6894 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003464/0.2204, allocations: 220 kB / 0.6896 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002742/0.2207, allocations: 188.3 kB / 0.6898 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004626/0.2212, allocations: 269.2 kB / 0.69 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.953e-06/0.2212, allocations: 4 kB / 0.69 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008023/0.222, allocations: 348.6 kB / 0.6904 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.222, allocations: 7.938 kB / 0.6904 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.222, allocations: 4 kB / 0.6904 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003419/0.2224, allocations: 81.09 kB / 0.6905 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.2226, allocations: 51.91 kB / 0.6905 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.2247, allocations: 1.618 MB / 0.6921 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.225, allocations: 27.83 kB / 0.6921 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.225, allocations: 16 kB / 0.6921 GB, free: 11.14 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.0001582/0.2252, allocations: 192.2 kB / 0.6923 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.2253, allocations: 23.72 kB / 0.6923 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.496e-05/0.2253, allocations: 30.17 kB / 0.6924 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2253, allocations: 4 kB / 0.6924 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2254, allocations: 0 / 0.6924 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2254, allocations: 3.938 kB / 0.6924 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.2268, allocations: 0.78 MB / 0.6931 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.2269, allocations: 0 / 0.6931 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.227, allocations: 32.05 kB / 0.6932 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003931/0.2274, allocations: 101.6 kB / 0.6933 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.2275, allocations: 7.984 kB / 0.6933 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003126/0.2306, allocations: 3.031 MB / 0.6962 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2306, allocations: 0 / 0.6962 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008662/0.2315, allocations: 407.2 kB / 0.6966 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.2316, allocations: 120.7 kB / 0.6967 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.2317, allocations: 4 kB / 0.6967 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.2318, allocations: 8 kB / 0.6967 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/0.2319, allocations: 23.91 kB / 0.6968 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.232, allocations: 4 kB / 0.6968 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001658/0.2321, allocations: 168.5 kB / 0.6969 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2321, allocations: 4 kB / 0.6969 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006763/0.2328, allocations: 167.4 kB / 0.6971 GB, free: 5.652 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.0001531/0.233, allocations: 99.25 kB / 0.6972 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002109/0.2351, allocations: 0.7677 MB / 0.6979 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2351, allocations: 0 / 0.6979 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008394/0.236, allocations: 371.8 kB / 0.6983 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.2365, allocations: 63.38 kB / 0.6983 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.2379, allocations: 0.6179 MB / 0.699 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.2385, allocations: 0.8107 MB / 0.6997 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002143/0.2387, allocations: 58.23 kB / 0.6998 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.92e-05/0.2388, allocations: 19.44 kB / 0.6998 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.2388, allocations: 0 / 0.6998 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of Templates: time 0.009824/0.2486, allocations: 4.709 MB / 0.7044 GB, free: 14.06 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)