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.7973/0.7973, allocations: 133.7 MB / 148.6 MB, free: 13.66 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.0009494/0.0009494, allocations: 168.1 kB / 180.8 MB, free: 15.09 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.408/1.408, allocations: 170.7 MB / 383.7 MB, free: 16.12 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.001689/0.001689, allocations: 114.6 kB / 454.6 MB, free: 9.715 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.2067/0.2072, allocations: 73.41 MB / 0.6812 GB, free: 5.555 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6521/0.8594, allocations: 128.9 MB / 0.8071 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.8597, allocations: 96.31 kB / 0.8072 GB, free: 2.227 MB / 490.7 MB [/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.02909/0.8888, allocations: 11.9 MB / 0.8188 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.225e-06/0.8889, allocations: 4 kB / 0.8188 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.846e-05/0.889, allocations: 4 kB / 0.8188 GB, free: 6.812 MB / 0.4948 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.001048/0.89, allocations: 0.5089 MB / 0.8193 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.8901, allocations: 8.562 kB / 0.8193 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007107/0.8908, allocations: 91.08 kB / 0.8194 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.8912, allocations: 253.4 kB / 0.8196 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.8913, allocations: 12.44 kB / 0.8196 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.8913, allocations: 20 kB / 0.8197 GB, free: 5.848 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.8919, allocations: 312.3 kB / 0.82 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.8919, allocations: 0 / 0.82 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.8919, allocations: 8 kB / 0.82 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/0.892, allocations: 16.42 kB / 0.82 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/0.8924, allocations: 220.4 kB / 0.8202 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.8941, allocations: 1.181 MB / 0.8213 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.8945, allocations: 203.7 kB / 0.8215 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.8945, allocations: 0 / 0.8215 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.8946, allocations: 38.45 kB / 0.8216 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.8946, allocations: 0 / 0.8216 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0005877/0.8952, allocations: 267.3 kB / 0.8218 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.8952, allocations: 55.41 kB / 0.8219 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.8955, allocations: 182.1 kB / 0.8221 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.8955, allocations: 29.7 kB / 0.8221 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.8956, allocations: 183.8 kB / 0.8223 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.8956, allocations: 27.56 kB / 0.8223 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.8957, allocations: 4 kB / 0.8223 GB, free: 2.949 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.8958, allocations: 322.8 kB / 0.8226 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.8959, allocations: 45.69 kB / 0.8226 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.896, allocations: 112.5 kB / 0.8228 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.8962, allocations: 63.97 kB / 0.8228 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.8962, allocations: 4 kB / 0.8228 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003766/0.8966, allocations: 202.1 kB / 0.823 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.8966, allocations: 12.22 kB / 0.823 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.8966, allocations: 4 kB / 0.823 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.8968, allocations: 24.84 kB / 0.823 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.897, allocations: 35.92 kB / 0.8231 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.8981, allocations: 1.319 MB / 0.8244 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.8983, allocations: 19.8 kB / 0.8244 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.8983, allocations: 12 kB / 0.8244 GB, free: 0.6094 MB / 0.4948 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 (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 0.0001569/0.8984, allocations: 154 kB / 0.8245 GB, free: 460 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.8985, allocations: 15.81 kB / 0.8246 GB, free: 444 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.8985, allocations: 17.47 kB / 0.8246 GB, free: 424 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.8985, allocations: 4 kB / 0.8246 GB, free: 420 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.8986, allocations: 0 / 0.8246 GB, free: 420 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.8986, allocations: 7.984 kB / 0.8246 GB, free: 412 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006496/0.8992, allocations: 491.1 kB / 0.8251 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.8992, allocations: 96 / 0.8251 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/0.8993, allocations: 15.92 kB / 0.8251 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.399e-05/0.8994, allocations: 20.84 kB / 0.8251 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.8994, allocations: 7.953 kB / 0.8251 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009941/0.9004, allocations: 1.315 MB / 0.8264 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.9005, allocations: 0 / 0.8264 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.9008, allocations: 236.4 kB / 0.8266 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.922e-05/0.9009, allocations: 104.9 kB / 0.8267 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.901, allocations: 0 / 0.8267 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.9011, allocations: 8 kB / 0.8267 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.9011, allocations: 7.984 kB / 0.8267 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.9012, allocations: 4 kB / 0.8267 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001444/0.9013, allocations: 148.6 kB / 0.8269 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9013, allocations: 0 / 0.8269 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003553/0.9017, allocations: 55.84 kB / 0.8269 GB, free: 13.77 MB / 0.5105 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 (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.0001464/0.9018, allocations: 100.2 kB / 0.827 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004753/0.9023, allocations: 231.2 kB / 0.8272 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9023, allocations: 0 / 0.8272 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.9026, allocations: 163.9 kB / 0.8274 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.9029, allocations: 27.88 kB / 0.8274 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007657/0.9037, allocations: 491.8 kB / 0.8279 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.904, allocations: 0.7635 MB / 0.8286 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.9042, allocations: 29.53 kB / 0.8287 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.9042, allocations: 11.44 kB / 0.8287 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/0.9042, allocations: 4 kB / 0.8287 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.004932/0.9091, allocations: 1.733 MB / 0.8304 GB, free: 10.2 MB / 0.5105 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)