Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.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.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7853/0.7853, 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.001572/0.001572, allocations: 184 kB / 180.9 MB, free: 15.06 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.72/1.72, allocations: 170.7 MB / 383.7 MB, free: 16.16 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.00167/0.001669, allocations: 112.7 kB / 454.6 MB, free: 9.707 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.1875/0.188, allocations: 73.41 MB / 0.6812 GB, free: 5.539 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5285/0.7166, allocations: 134.7 MB / 0.8127 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/0.717, allocations: 90.2 kB / 0.8128 GB, free: 12.66 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18: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/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/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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18: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.04481/0.7618, allocations: 18.17 MB / 0.8305 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.41e-06/0.7618, allocations: 0 / 0.8305 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.567e-05/0.7619, allocations: 11.94 kB / 0.8305 GB, free: 10.65 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001252/0.7631, allocations: 0.6665 MB / 0.8312 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.7632, allocations: 12.56 kB / 0.8312 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.7643, allocations: 159.3 kB / 0.8314 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006705/0.765, allocations: 338.3 kB / 0.8317 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.765, allocations: 24.98 kB / 0.8317 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.946e-05/0.7651, allocations: 32 kB / 0.8317 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009617/0.7661, allocations: 0.5197 MB / 0.8322 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.7661, allocations: 2.922 kB / 0.8323 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.443e-05/0.7662, allocations: 16 kB / 0.8323 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.218e-05/0.7663, allocations: 32.64 kB / 0.8323 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.7669, allocations: 390.2 kB / 0.8327 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.7696, allocations: 1.952 MB / 0.8346 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005791/0.7702, allocations: 270.5 kB / 0.8348 GB, free: 6.031 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.7703, allocations: 4 kB / 0.8348 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.7703, allocations: 30.56 kB / 0.8349 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 2.715e-06/0.7703, allocations: 0 / 0.8349 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.002247/0.7726, allocations: 1.025 MB / 0.8359 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.7726, allocations: 55.41 kB / 0.8359 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.773, allocations: 263.7 kB / 0.8362 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.773, allocations: 33.7 kB / 0.8362 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.7732, allocations: 235.5 kB / 0.8364 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.403e-05/0.7733, allocations: 86.75 kB / 0.8365 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.7733, allocations: 4 kB / 0.8365 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.7735, allocations: 342.8 kB / 0.8368 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.7737, allocations: 100.6 kB / 0.8369 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.7739, allocations: 183.8 kB / 0.8371 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.7741, allocations: 135.1 kB / 0.8372 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7741, allocations: 0 / 0.8372 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007445/0.7749, allocations: 441.7 kB / 0.8377 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.7749, allocations: 4 kB / 0.8377 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.7749, allocations: 4 kB / 0.8377 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003568/0.7753, allocations: 98.66 kB / 0.8378 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.7756, allocations: 59.91 kB / 0.8378 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/0.7789, allocations: 4.107 MB / 0.8418 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.7792, allocations: 11.91 kB / 0.8418 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.7793, allocations: 20.25 kB / 0.8419 GB, free: 14.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002625/0.7795, allocations: 177.7 kB / 0.842 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.7796, allocations: 27.72 kB / 0.8421 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.833e-05/0.7797, allocations: 46.3 kB / 0.8421 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7797, allocations: 0 / 0.8421 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.7797, allocations: 4 kB / 0.8421 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.7797, allocations: 3.984 kB / 0.8421 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.7802, allocations: 401.4 kB / 0.8425 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.7802, allocations: 0 / 0.8425 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.7804, allocations: 35.92 kB / 0.8425 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003051/0.7807, allocations: 86.5 kB / 0.8426 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.7808, allocations: 8 kB / 0.8426 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002996/0.7838, allocations: 4.095 MB / 0.8466 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7838, allocations: 0 / 0.8466 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000789/0.7846, allocations: 0.558 MB / 0.8472 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.7847, allocations: 124.7 kB / 0.8473 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.7848, allocations: 4 kB / 0.8473 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.785, allocations: 11.94 kB / 0.8473 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.7851, allocations: 19.97 kB / 0.8473 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.7851, allocations: 8.062 kB / 0.8473 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002142/0.7853, allocations: 211.1 kB / 0.8475 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7853, allocations: 0 / 0.8475 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004841/0.7858, allocations: 104 kB / 0.8476 GB, free: 7.84 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001479/0.786, allocations: 107.1 kB / 0.8477 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008327/0.7868, allocations: 0.6032 MB / 0.8483 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7868, allocations: 4 kB / 0.8483 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004893/0.7873, allocations: 472.6 kB / 0.8488 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.7878, allocations: 64.61 kB / 0.8488 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.789, allocations: 0.875 MB / 0.8497 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.7895, allocations: 0.8419 MB / 0.8505 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002039/0.7897, allocations: 58.92 kB / 0.8506 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.7897, allocations: 23.44 kB / 0.8506 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.7897, allocations: 0 / 0.8506 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of Templates: time 0.007742/0.7975, allocations: 4.11 MB / 0.8546 GB, free: 0.6133 MB / 0.5261 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)