Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [/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.1947/0.1955, allocations: 82.21 MB / 0.5941 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004529/0.2001, allocations: 2.862 MB / 0.5969 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002673/0.2028, allocations: 1.388 MB / 0.5983 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.2031, allocations: 4 kB / 0.5983 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.2033, allocations: 43.64 kB / 0.5983 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005352/0.2039, allocations: 147.4 kB / 0.5984 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.2044, allocations: 146.8 kB / 0.5986 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005938/0.205, allocations: 458.7 kB / 0.599 GB, free: 9.977 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004019/0.2054, allocations: 245.1 kB / 0.5993 GB, free: 9.719 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.2057, allocations: 111.5 kB / 0.5994 GB, free: 9.609 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004151/0.2061, allocations: 151.4 kB / 0.5995 GB, free: 9.461 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.2062, allocations: 8 kB / 0.5995 GB, free: 9.453 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.2066, allocations: 199.6 kB / 0.5997 GB, free: 9.258 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.2068, allocations: 75.78 kB / 0.5998 GB, free: 9.184 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.2069, allocations: 133.1 kB / 0.5999 GB, free: 9.047 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005366/0.2075, allocations: 358.7 kB / 0.6002 GB, free: 8.695 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2075, allocations: 4 kB / 0.6002 GB, free: 8.691 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2075, allocations: 0 / 0.6002 GB, free: 8.691 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.2075, allocations: 0 / 0.6002 GB, free: 8.691 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009856/0.2085, allocations: 0.499 MB / 0.6007 GB, free: 8.145 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2086, allocations: 8.031 kB / 0.6007 GB, free: 8.137 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006625/0.2092, allocations: 80.58 kB / 0.6008 GB, free: 8.059 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.2096, allocations: 248.8 kB / 0.6011 GB, free: 7.777 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.2096, allocations: 20.81 kB / 0.6011 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.2097, allocations: 16.38 kB / 0.6011 GB, free: 7.742 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/0.2102, allocations: 320.6 kB / 0.6014 GB, free: 7.402 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2102, allocations: 0 / 0.6014 GB, free: 7.402 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.2103, allocations: 15.98 kB / 0.6014 GB, free: 7.387 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.2103, allocations: 20.36 kB / 0.6014 GB, free: 7.367 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004007/0.2107, allocations: 217.6 kB / 0.6016 GB, free: 7.156 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.2123, allocations: 1.2 MB / 0.6028 GB, free: 5.867 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.2127, allocations: 211.7 kB / 0.603 GB, free: 5.633 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.702e-05/0.2128, allocations: 44.83 kB / 0.6031 GB, free: 5.586 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.2129, allocations: 8 kB / 0.6031 GB, free: 5.578 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.2129, allocations: 30.56 kB / 0.6031 GB, free: 5.539 MB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.2129, allocations: 0 / 0.6031 GB, free: 5.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005892/0.2135, allocations: 271.4 kB / 0.6034 GB, free: 5.246 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.2135, allocations: 55.41 kB / 0.6034 GB, free: 5.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.2138, allocations: 205.4 kB / 0.6036 GB, free: 4.973 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.2138, allocations: 33.7 kB / 0.6036 GB, free: 4.934 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.2139, allocations: 171.6 kB / 0.6038 GB, free: 4.762 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.214, allocations: 27.64 kB / 0.6038 GB, free: 4.734 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.214, allocations: 17.72 kB / 0.6038 GB, free: 4.711 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2141, allocations: 330.8 kB / 0.6042 GB, free: 4.379 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.2142, allocations: 51.97 kB / 0.6042 GB, free: 4.328 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.2144, allocations: 116.3 kB / 0.6043 GB, free: 4.188 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.2147, allocations: 176.4 kB / 0.6045 GB, free: 3.984 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2147, allocations: 0 / 0.6045 GB, free: 3.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003858/0.2151, allocations: 210.3 kB / 0.6047 GB, free: 3.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2151, allocations: 12.03 kB / 0.6047 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2151, allocations: 0 / 0.6047 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.2153, allocations: 28.84 kB / 0.6047 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.2155, allocations: 39.86 kB / 0.6048 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.2165, allocations: 1.327 MB / 0.6061 GB, free: 2.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.2167, allocations: 23.83 kB / 0.6061 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.2167, allocations: 4 kB / 0.6061 GB, free: 2.199 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.2169, allocations: 155 kB / 0.6062 GB, free: 2.043 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.2169, allocations: 19.75 kB / 0.6063 GB, free: 2.023 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.217, allocations: 21.39 kB / 0.6063 GB, free: 2.004 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.217, allocations: 4 kB / 0.6063 GB, free: 2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.217, allocations: 0 / 0.6063 GB, free: 2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.217, allocations: 3.938 kB / 0.6063 GB, free: 1.996 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006632/0.2177, allocations: 491.2 kB / 0.6067 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2177, allocations: 0 / 0.6067 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.393e-05/0.2178, allocations: 15.92 kB / 0.6068 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.922e-05/0.2179, allocations: 24.84 kB / 0.6068 GB, free: 1.414 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.2179, allocations: 4.062 kB / 0.6068 GB, free: 1.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.219, allocations: 1.331 MB / 0.6081 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.219, allocations: 0 / 0.6081 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.2193, allocations: 240.3 kB / 0.6083 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.2194, allocations: 104.8 kB / 0.6084 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.2194, allocations: 0 / 0.6084 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.2196, allocations: 11.98 kB / 0.6084 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.2196, allocations: 7.984 kB / 0.6084 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.2196, allocations: 8.031 kB / 0.6084 GB, free: 15.54 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.2198, allocations: 152.2 kB / 0.6086 GB, free: 15.39 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2198, allocations: 0 / 0.6086 GB, free: 15.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003337/0.2201, allocations: 55.84 kB / 0.6086 GB, free: 15.34 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001172/0.2202, allocations: 97.55 kB / 0.6087 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004606/0.2207, allocations: 234.7 kB / 0.609 GB, free: 14.99 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2207, allocations: 0 / 0.609 GB, free: 14.99 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.221, allocations: 162.7 kB / 0.6091 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.2214, allocations: 31.02 kB / 0.6091 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007898/0.2222, allocations: 0.503 MB / 0.6096 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.2225, allocations: 0.7593 MB / 0.6104 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.2227, allocations: 25.53 kB / 0.6104 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.2227, allocations: 15.44 kB / 0.6104 GB, free: 13.44 MB / 478.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2227, allocations: 0 / 0.6104 GB, free: 13.44 MB / 478.1 MB Notification: Performance of Templates: time 0.005353/0.2281, allocations: 1.807 MB / 0.6122 GB, free: 11.65 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) Environment - environmentSimulation: