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.2078/0.2099, allocations: 80.84 MB / 0.6706 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005379/0.2153, allocations: 3.18 MB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002481/0.2179, allocations: 1.419 MB / 0.6751 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.2181, allocations: 11.94 kB / 0.6751 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.2192, allocations: 334.7 kB / 0.6754 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003979/0.2196, allocations: 155.2 kB / 0.6756 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.2201, allocations: 150.7 kB / 0.6757 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004276/0.2205, allocations: 330.9 kB / 0.676 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004518/0.221, allocations: 247.7 kB / 0.6763 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.2212, allocations: 143.5 kB / 0.6764 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.2215, allocations: 147.4 kB / 0.6766 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.5e-05/0.2215, allocations: 24 kB / 0.6766 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.2219, allocations: 167.6 kB / 0.6767 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.222, allocations: 83.8 kB / 0.6768 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.2221, allocations: 119.4 kB / 0.6769 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.2225, allocations: 354.9 kB / 0.6773 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2225, allocations: 0 / 0.6773 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2226, allocations: 3.938 kB / 0.6773 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.2226, allocations: 0 / 0.6773 GB, free: 11.14 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009745/0.2235, allocations: 0.538 MB / 0.6778 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2236, allocations: 12.03 kB / 0.6778 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005921/0.2242, allocations: 76.58 kB / 0.6779 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.2245, allocations: 264.4 kB / 0.6781 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.2246, allocations: 16.75 kB / 0.6782 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.2246, allocations: 24.38 kB / 0.6782 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.2251, allocations: 312.7 kB / 0.6785 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2251, allocations: 3.938 kB / 0.6785 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.2252, allocations: 12 kB / 0.6785 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/0.2252, allocations: 16.42 kB / 0.6785 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.2256, allocations: 213.6 kB / 0.6787 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.2272, allocations: 1.177 MB / 0.6799 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.2277, allocations: 203.7 kB / 0.6801 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.2278, allocations: 52.77 kB / 0.6801 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.2278, allocations: 0 / 0.6801 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.2279, allocations: 38.56 kB / 0.6801 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.2279, allocations: 0 / 0.6801 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0006207/0.2285, allocations: 255.4 kB / 0.6804 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.2286, allocations: 55.34 kB / 0.6804 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.2288, allocations: 207.7 kB / 0.6806 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.2288, allocations: 29.7 kB / 0.6807 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.2289, allocations: 179.6 kB / 0.6808 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.229, allocations: 35.53 kB / 0.6809 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.229, allocations: 33.7 kB / 0.6809 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2292, allocations: 330.8 kB / 0.6812 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.2293, allocations: 47.97 kB / 0.6813 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.2294, allocations: 108 kB / 0.6814 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.2297, allocations: 168.4 kB / 0.6815 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2297, allocations: 3.938 kB / 0.6815 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003888/0.2301, allocations: 222 kB / 0.6817 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2301, allocations: 4 kB / 0.6817 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.2301, allocations: 4 kB / 0.6817 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001868/0.2303, allocations: 29.12 kB / 0.6818 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.2305, allocations: 35.91 kB / 0.6818 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.2318, allocations: 1.425 MB / 0.6832 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.232, allocations: 23.86 kB / 0.6832 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.232, allocations: 8 kB / 0.6832 GB, free: 4.508 MB / 0.5137 GB 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.0001809/0.2322, allocations: 149.7 kB / 0.6834 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.2323, allocations: 19.91 kB / 0.6834 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.2323, allocations: 21.39 kB / 0.6834 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2323, allocations: 0 / 0.6834 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2323, allocations: 0 / 0.6834 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2323, allocations: 0 / 0.6834 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.233, allocations: 491.5 kB / 0.6839 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.233, allocations: 0 / 0.6839 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-05/0.2331, allocations: 11.98 kB / 0.6839 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.03e-05/0.2332, allocations: 28.84 kB / 0.6839 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.2332, allocations: 0 / 0.6839 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.2342, allocations: 1.425 MB / 0.6853 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2342, allocations: 3.984 kB / 0.6853 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.2345, allocations: 236.1 kB / 0.6855 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.568e-05/0.2346, allocations: 105 kB / 0.6856 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.2346, allocations: 0 / 0.6856 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.2348, allocations: 4 kB / 0.6856 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.2348, allocations: 7.984 kB / 0.6857 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.2348, allocations: 8 kB / 0.6857 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000147/0.235, allocations: 145.5 kB / 0.6858 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.235, allocations: 3.938 kB / 0.6858 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003406/0.2353, allocations: 55.78 kB / 0.6859 GB, free: 1.566 MB / 0.5137 GB 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.0001295/0.2355, allocations: 103.2 kB / 0.686 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005068/0.236, allocations: 234.5 kB / 0.6862 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.236, allocations: 0 / 0.6862 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.2362, allocations: 163.2 kB / 0.6863 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.2366, allocations: 47.97 kB / 0.6864 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007006/0.2373, allocations: 391.6 kB / 0.6868 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.2376, allocations: 0.7593 MB / 0.6875 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.5e-05/0.2377, allocations: 29.53 kB / 0.6875 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.2378, allocations: 15.44 kB / 0.6875 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.2378, allocations: 0 / 0.6875 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of Templates: time 0.005322/0.2431, allocations: 1.975 MB / 0.6895 GB, free: 13.8 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (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)