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.1985/0.1994, allocations: 82.22 MB / 0.5941 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005728/0.2052, allocations: 3.702 MB / 0.5977 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003133/0.2084, allocations: 1.661 MB / 0.5993 GB, free: 196 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003989/0.2088, allocations: 4 kB / 0.5993 GB, free: 192 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.2092, allocations: 67.48 kB / 0.5994 GB, free: 124 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008729/0.2101, allocations: 239 kB / 0.5996 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007586/0.2108, allocations: 191.5 kB / 0.5998 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.2119, allocations: 0.7675 MB / 0.6006 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006484/0.2126, allocations: 443.6 kB / 0.601 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003634/0.213, allocations: 183.2 kB / 0.6012 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005551/0.2135, allocations: 247.2 kB / 0.6014 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.093e-05/0.2136, allocations: 20 kB / 0.6014 GB, free: 14.03 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.214, allocations: 191.6 kB / 0.6016 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.2142, allocations: 131.6 kB / 0.6017 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.2144, allocations: 196.8 kB / 0.6019 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005954/0.215, allocations: 0.506 MB / 0.6024 GB, free: 13.01 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.215, allocations: 3.984 kB / 0.6024 GB, free: 13 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.215, allocations: 0 / 0.6024 GB, free: 13 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.2151, allocations: 3.938 kB / 0.6024 GB, free: 13 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001271/0.2163, allocations: 0.6202 MB / 0.603 GB, free: 12.33 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2164, allocations: 8.031 kB / 0.603 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007607/0.2172, allocations: 108.5 kB / 0.6031 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.2176, allocations: 299.6 kB / 0.6034 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.429e-05/0.2177, allocations: 59.25 kB / 0.6035 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.2178, allocations: 32.38 kB / 0.6035 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008709/0.2186, allocations: 0.5126 MB / 0.604 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.2187, allocations: 3.984 kB / 0.604 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.2187, allocations: 16 kB / 0.604 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.59e-05/0.2188, allocations: 24.98 kB / 0.6041 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000731/0.2195, allocations: 399.6 kB / 0.6044 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002243/0.2218, allocations: 1.656 MB / 0.6061 GB, free: 9.062 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006925/0.2225, allocations: 266.6 kB / 0.6063 GB, free: 8.793 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.2229, allocations: 164.7 kB / 0.6065 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.2229, allocations: 11.98 kB / 0.6065 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.2229, allocations: 30.56 kB / 0.6065 GB, free: 8.578 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 2.756e-06/0.2229, allocations: 0 / 0.6065 GB, free: 8.578 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0015/0.2244, allocations: 0.5945 MB / 0.6071 GB, free: 7.934 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.2245, allocations: 59.34 kB / 0.6071 GB, free: 7.863 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.2247, allocations: 225 kB / 0.6074 GB, free: 7.633 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.2247, allocations: 25.7 kB / 0.6074 GB, free: 7.602 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.2249, allocations: 215.6 kB / 0.6076 GB, free: 7.387 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.2249, allocations: 63.05 kB / 0.6076 GB, free: 7.324 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.225, allocations: 29.7 kB / 0.6077 GB, free: 7.289 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2251, allocations: 330.8 kB / 0.608 GB, free: 6.957 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.2253, allocations: 99.94 kB / 0.6081 GB, free: 6.859 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.2256, allocations: 183.1 kB / 0.6083 GB, free: 6.641 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.2261, allocations: 287.2 kB / 0.6085 GB, free: 6.328 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2261, allocations: 4 kB / 0.6085 GB, free: 6.324 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008592/0.2269, allocations: 389.7 kB / 0.6089 GB, free: 5.934 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.371e-05/0.227, allocations: 165.6 kB / 0.6091 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2271, allocations: 4 kB / 0.6091 GB, free: 5.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005084/0.2276, allocations: 109.6 kB / 0.6092 GB, free: 5.617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.2278, allocations: 51.91 kB / 0.6092 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/0.2311, allocations: 2.819 MB / 0.612 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.2313, allocations: 39.67 kB / 0.612 GB, free: 2.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.2314, allocations: 15.94 kB / 0.612 GB, free: 2.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.116e-06/0.2314, allocations: 4 kB / 0.612 GB, free: 2.426 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007401/0.2321, allocations: 304.5 kB / 0.6123 GB, free: 2.125 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2321, allocations: 4.312 kB / 0.6123 GB, free: 2.121 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002831/0.2324, allocations: 92.72 kB / 0.6124 GB, free: 2.027 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.2327, allocations: 55.91 kB / 0.6125 GB, free: 1.973 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.2344, allocations: 1.505 MB / 0.6139 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.2346, allocations: 31.89 kB / 0.614 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.2347, allocations: 12 kB / 0.614 GB, free: 300 kB / 462.1 MB 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.000219/0.2349, allocations: 249 kB / 0.6142 GB, free: 40 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.235, allocations: 23.72 kB / 0.6142 GB, free: 16 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.799e-05/0.2351, allocations: 30.25 kB / 0.6143 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.2351, allocations: 7.938 kB / 0.6143 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2351, allocations: 0 / 0.6143 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2351, allocations: 0 / 0.6143 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.2369, allocations: 0.794 MB / 0.6151 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2369, allocations: 0 / 0.6151 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.2371, allocations: 35.97 kB / 0.6151 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/0.2376, allocations: 97.69 kB / 0.6152 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.2377, allocations: 8 kB / 0.6152 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003325/0.241, allocations: 2.807 MB / 0.6179 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.241, allocations: 0 / 0.6179 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.2421, allocations: 427.3 kB / 0.6183 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.2422, allocations: 120.7 kB / 0.6185 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.2423, allocations: 4 kB / 0.6185 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.2425, allocations: 19.98 kB / 0.6185 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.2426, allocations: 23.91 kB / 0.6185 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.2427, allocations: 4 kB / 0.6185 GB, free: 11.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.2429, allocations: 168.4 kB / 0.6187 GB, free: 11.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2429, allocations: 0 / 0.6187 GB, free: 11.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008514/0.2437, allocations: 163.4 kB / 0.6188 GB, free: 10.95 MB / 478.1 MB 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.0001494/0.2439, allocations: 103.2 kB / 0.6189 GB, free: 10.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.2463, allocations: 0.7621 MB / 0.6197 GB, free: 10.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2463, allocations: 4 kB / 0.6197 GB, free: 10.04 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009844/0.2473, allocations: 377.7 kB / 0.62 GB, free: 9.645 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006021/0.2479, allocations: 49.19 kB / 0.6201 GB, free: 9.598 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.2499, allocations: 0.7715 MB / 0.6208 GB, free: 8.789 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/0.2505, allocations: 0.8107 MB / 0.6216 GB, free: 7.949 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002918/0.2508, allocations: 58.23 kB / 0.6217 GB, free: 7.895 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.2508, allocations: 19.44 kB / 0.6217 GB, free: 7.875 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2509, allocations: 3.938 kB / 0.6217 GB, free: 7.871 MB / 478.1 MB Notification: Performance of Templates: time 0.01261/0.2635, allocations: 4.24 MB / 0.6258 GB, free: 3.676 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: