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.1914/0.1922, allocations: 82.21 MB / 0.5935 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005122/0.1974, allocations: 3.556 MB / 0.5969 GB, free: 2.387 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002844/0.2003, allocations: 1.579 MB / 0.5985 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003839/0.2007, allocations: 11.94 kB / 0.5985 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.201, allocations: 63.48 kB / 0.5985 GB, free: 0.7227 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. [/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.0006919/0.2018, allocations: 195.1 kB / 0.5987 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007265/0.2025, allocations: 167.7 kB / 0.5989 GB, free: 376 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006318/0.2031, allocations: 0.6115 MB / 0.5995 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004774/0.2036, allocations: 390.6 kB / 0.5999 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.2039, allocations: 179.4 kB / 0.6 GB, free: 15.17 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004173/0.2043, allocations: 239.2 kB / 0.6003 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.2043, allocations: 16 kB / 0.6003 GB, free: 14.92 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.2046, allocations: 91.81 kB / 0.6004 GB, free: 14.83 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.2048, allocations: 127.7 kB / 0.6005 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.733e-05/0.2048, allocations: 89.52 kB / 0.6006 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.2052, allocations: 399.1 kB / 0.601 GB, free: 14.22 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2052, allocations: 0 / 0.601 GB, free: 14.22 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2053, allocations: 0 / 0.601 GB, free: 14.22 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2053, allocations: 0 / 0.601 GB, free: 14.22 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.0011/0.2064, allocations: 0.6279 MB / 0.6016 GB, free: 13.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.2064, allocations: 8.031 kB / 0.6016 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007525/0.2072, allocations: 103.5 kB / 0.6017 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.2076, allocations: 302.3 kB / 0.602 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.093e-05/0.2077, allocations: 54.7 kB / 0.602 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.2077, allocations: 28 kB / 0.602 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008982/0.2086, allocations: 0.5046 MB / 0.6025 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2087, allocations: 0 / 0.6025 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.2087, allocations: 16 kB / 0.6025 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-05/0.2088, allocations: 36.95 kB / 0.6026 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006721/0.2095, allocations: 391.6 kB / 0.603 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.2116, allocations: 1.663 MB / 0.6046 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006587/0.2123, allocations: 266.7 kB / 0.6048 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.2126, allocations: 164.7 kB / 0.605 GB, free: 9.852 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.2127, allocations: 4 kB / 0.605 GB, free: 9.848 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.2127, allocations: 30.56 kB / 0.605 GB, free: 9.809 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.372e-06/0.2127, allocations: 0 / 0.605 GB, free: 9.809 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.001396/0.2141, allocations: 0.5829 MB / 0.6056 GB, free: 9.176 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.2142, allocations: 59.34 kB / 0.6057 GB, free: 9.105 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.2144, allocations: 225 kB / 0.6059 GB, free: 8.875 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.2144, allocations: 29.7 kB / 0.6059 GB, free: 8.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.2146, allocations: 207.7 kB / 0.6061 GB, free: 8.633 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.2146, allocations: 82.92 kB / 0.6062 GB, free: 8.551 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/0.2146, allocations: 4 kB / 0.6062 GB, free: 8.547 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2148, allocations: 326.8 kB / 0.6065 GB, free: 8.219 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.215, allocations: 99.92 kB / 0.6066 GB, free: 8.121 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.2152, allocations: 183.1 kB / 0.6068 GB, free: 7.902 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.2155, allocations: 114 kB / 0.6069 GB, free: 7.793 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2155, allocations: 4 kB / 0.6069 GB, free: 7.789 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007881/0.2163, allocations: 386.9 kB / 0.6072 GB, free: 7.398 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.18e-05/0.2164, allocations: 160.6 kB / 0.6074 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2164, allocations: 4 kB / 0.6074 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004775/0.2169, allocations: 109.6 kB / 0.6075 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.2171, allocations: 55.91 kB / 0.6076 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00279/0.2199, allocations: 2.827 MB / 0.6103 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.2201, allocations: 39.62 kB / 0.6104 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.2202, allocations: 12 kB / 0.6104 GB, free: 3.895 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.681e-06/0.2202, allocations: 4 kB / 0.6104 GB, free: 3.891 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007279/0.2209, allocations: 316.3 kB / 0.6107 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.2209, allocations: 0 / 0.6107 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002604/0.2212, allocations: 81.08 kB / 0.6107 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.2214, allocations: 59.84 kB / 0.6108 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.2231, allocations: 1.487 MB / 0.6123 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.2233, allocations: 31.73 kB / 0.6123 GB, free: 1.785 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.2234, allocations: 12 kB / 0.6123 GB, free: 1.773 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002594/0.2236, allocations: 261 kB / 0.6125 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.2237, allocations: 19.81 kB / 0.6126 GB, free: 1.488 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.2238, allocations: 26.19 kB / 0.6126 GB, free: 1.461 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2238, allocations: 4 kB / 0.6126 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2238, allocations: 0 / 0.6126 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2238, allocations: 3.984 kB / 0.6126 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.2251, allocations: 0.7864 MB / 0.6134 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.2251, allocations: 3.953 kB / 0.6134 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.2253, allocations: 31.97 kB / 0.6134 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003402/0.2256, allocations: 105.6 kB / 0.6135 GB, free: 464 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.2257, allocations: 4 kB / 0.6135 GB, free: 460 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/0.2283, allocations: 2.806 MB / 0.6162 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2283, allocations: 4.219 kB / 0.6162 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007525/0.229, allocations: 424.1 kB / 0.6167 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.2292, allocations: 112.8 kB / 0.6168 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.2292, allocations: 4 kB / 0.6168 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.2294, allocations: 15.98 kB / 0.6168 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.2294, allocations: 27.91 kB / 0.6168 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.2295, allocations: 7.953 kB / 0.6168 GB, free: 12.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.2296, allocations: 160.5 kB / 0.617 GB, free: 12.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2296, allocations: 0 / 0.617 GB, free: 12.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006441/0.2303, allocations: 167.3 kB / 0.6171 GB, free: 12.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001243/0.2304, allocations: 103.2 kB / 0.6172 GB, free: 12.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.2323, allocations: 0.7654 MB / 0.618 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2323, allocations: 8 kB / 0.618 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007858/0.2331, allocations: 373.2 kB / 0.6183 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000527/0.2337, allocations: 54.77 kB / 0.6184 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.235, allocations: 0.736 MB / 0.6191 GB, free: 10.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.2354, allocations: 0.8107 MB / 0.6199 GB, free: 9.465 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.2356, allocations: 54.23 kB / 0.6199 GB, free: 9.414 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.2356, allocations: 19.44 kB / 0.62 GB, free: 9.395 MB / 478.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2357, allocations: 4 kB / 0.62 GB, free: 9.391 MB / 478.1 MB Notification: Performance of Templates: time 0.007894/0.2436, allocations: 4.137 MB / 0.624 GB, free: 5.301 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: