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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7032/0.7032, allocations: 132.3 MB / 144.9 MB, free: 10.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001127/0.001128, allocations: 169.3 kB / 176.9 MB, free: 2.168 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.396/1.396, allocations: 170.5 MB / 379.3 MB, free: 11.94 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001584/0.001583, allocations: 116.6 kB / 450 MB, free: 5.844 MB / 346.7 MB [/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.5085/0.5085, allocations: 73.39 MB / 0.6736 GB, free: 47.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1773/0.6859, allocations: 128.8 MB / 0.7994 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.6862, allocations: 95.94 kB / 0.7995 GB, free: 3.723 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.02653/0.7128, allocations: 11.8 MB / 0.811 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7128, allocations: 0 / 0.811 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.7128, allocations: 8 kB / 0.811 GB, free: 7.883 MB / 0.5105 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.0006885/0.7135, allocations: 494 kB / 0.8115 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.7136, allocations: 8.031 kB / 0.8115 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005957/0.7142, allocations: 94.33 kB / 0.8116 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.7146, allocations: 251.2 kB / 0.8118 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.7146, allocations: 16.44 kB / 0.8119 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.7146, allocations: 16 kB / 0.8119 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/0.7151, allocations: 300.4 kB / 0.8122 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.7151, allocations: 7.938 kB / 0.8122 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.7151, allocations: 11.61 kB / 0.8122 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.7152, allocations: 12.44 kB / 0.8122 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.7155, allocations: 197.6 kB / 0.8124 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.7169, allocations: 1.181 MB / 0.8135 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.7173, allocations: 195.7 kB / 0.8137 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.7173, allocations: 44.78 kB / 0.8138 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.7174, allocations: 3.953 kB / 0.8138 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.7174, allocations: 34.56 kB / 0.8138 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.7174, allocations: 0 / 0.8138 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0002873/0.7177, allocations: 114.3 kB / 0.8139 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.7177, allocations: 55.41 kB / 0.814 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.7179, allocations: 182 kB / 0.8141 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.718, allocations: 29.7 kB / 0.8142 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.7181, allocations: 187.6 kB / 0.8143 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.7181, allocations: 31.55 kB / 0.8144 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.7181, allocations: 7.938 kB / 0.8144 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7183, allocations: 322.8 kB / 0.8147 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-05/0.7183, allocations: 32 kB / 0.8147 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.7185, allocations: 104.5 kB / 0.8148 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.998e-05/0.7186, allocations: 59.91 kB / 0.8149 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7186, allocations: 0 / 0.8149 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002848/0.7189, allocations: 190.2 kB / 0.8151 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.7189, allocations: 10.31 kB / 0.8151 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7189, allocations: 7 kB / 0.8151 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.7191, allocations: 24.84 kB / 0.8151 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.7192, allocations: 35.92 kB / 0.8151 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009601/0.7202, allocations: 1.311 MB / 0.8164 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.7203, allocations: 27.73 kB / 0.8164 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.7203, allocations: 4 kB / 0.8164 GB, free: 1.902 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.648e-05/0.7204, allocations: 116.9 kB / 0.8165 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.7205, allocations: 19.91 kB / 0.8166 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.7205, allocations: 21.52 kB / 0.8166 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.7205, allocations: 4 kB / 0.8166 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.7205, allocations: 0 / 0.8166 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.7205, allocations: 0 / 0.8166 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.7211, allocations: 471.1 kB / 0.817 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7211, allocations: 0 / 0.817 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.389e-05/0.7211, allocations: 15.98 kB / 0.8171 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-05/0.7212, allocations: 28.78 kB / 0.8171 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.7212, allocations: 7.953 kB / 0.8171 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008461/0.7221, allocations: 1.301 MB / 0.8184 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7221, allocations: 0 / 0.8184 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.7223, allocations: 216.2 kB / 0.8186 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.7224, allocations: 108.8 kB / 0.8187 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.7224, allocations: 0 / 0.8187 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.7226, allocations: 16.08 kB / 0.8187 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.7226, allocations: 4 kB / 0.8187 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.7226, allocations: 0 / 0.8187 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001221/0.7228, allocations: 152.4 kB / 0.8188 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7228, allocations: 0 / 0.8188 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002885/0.7231, allocations: 55.84 kB / 0.8189 GB, free: 15.15 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001262/0.7232, allocations: 104.1 kB / 0.819 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003763/0.7236, allocations: 213.4 kB / 0.8192 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7236, allocations: 0 / 0.8192 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.7238, allocations: 154.6 kB / 0.8193 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.7241, allocations: 38.67 kB / 0.8194 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.7245, allocations: 235.2 kB / 0.8196 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.7249, allocations: 0.7636 MB / 0.8203 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.725, allocations: 30.92 kB / 0.8204 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.7251, allocations: 19.44 kB / 0.8204 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of SimCode: time 4.01e-07/0.7251, allocations: 0 / 0.8204 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.004491/0.7296, allocations: 1.742 MB / 0.8221 GB, free: 11.83 MB / 0.5261 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)