Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8365/0.8365, allocations: 133.7 MB / 148.6 MB, free: 13.63 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.001131/0.001131, allocations: 168.1 kB / 180.9 MB, free: 15.07 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.684/1.684, allocations: 170.7 MB / 383.7 MB, free: 16.15 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.00176/0.00176, allocations: 116.7 kB / 454.6 MB, free: 9.711 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.1704/0.1709, allocations: 73.41 MB / 0.6812 GB, free: 5.559 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4916/0.6625, allocations: 129.6 MB / 0.8077 GB, free: 1.684 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.6628, allocations: 97.94 kB / 0.8078 GB, free: 1.629 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.04675/0.7096, allocations: 19.83 MB / 0.8272 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7096, allocations: 0 / 0.8272 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.204e-05/0.7097, allocations: 8 kB / 0.8272 GB, free: 14.13 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001041/0.7107, allocations: 0.626 MB / 0.8278 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.7108, allocations: 12.56 kB / 0.8278 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007453/0.7115, allocations: 95.45 kB / 0.8279 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.712, allocations: 302 kB / 0.8282 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.712, allocations: 20.66 kB / 0.8282 GB, free: 13 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/0.7121, allocations: 30.92 kB / 0.8282 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008211/0.7129, allocations: 485.8 kB / 0.8287 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.7129, allocations: 4 kB / 0.8287 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.713, allocations: 15.98 kB / 0.8287 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/0.713, allocations: 32.64 kB / 0.8287 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007272/0.7138, allocations: 382.2 kB / 0.8291 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.7159, allocations: 1.698 MB / 0.8308 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.7165, allocations: 227.7 kB / 0.831 GB, free: 10 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.7165, allocations: 0 / 0.831 GB, free: 10 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.7165, allocations: 42.45 kB / 0.831 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.011e-06/0.7165, allocations: 0 / 0.831 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.001056/0.7176, allocations: 461.4 kB / 0.8315 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.7176, allocations: 55.41 kB / 0.8315 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.7179, allocations: 233.7 kB / 0.8317 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.7179, allocations: 33.7 kB / 0.8318 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.7181, allocations: 207.8 kB / 0.832 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.52e-05/0.7181, allocations: 63.09 kB / 0.832 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/0.7181, allocations: 15.88 kB / 0.832 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.7183, allocations: 330.8 kB / 0.8324 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.7185, allocations: 108.5 kB / 0.8325 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.7188, allocations: 210.8 kB / 0.8327 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.7191, allocations: 139.8 kB / 0.8328 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7191, allocations: 0 / 0.8328 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007295/0.7199, allocations: 381.9 kB / 0.8332 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005231/0.7204, allocations: 1.308 MB / 0.8344 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.7204, allocations: 11.94 kB / 0.8344 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.7206, allocations: 28.83 kB / 0.8345 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.7209, allocations: 75.89 kB / 0.8345 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003659/0.7213, allocations: 0.5523 MB / 0.8351 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.7216, allocations: 47.66 kB / 0.8351 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.7216, allocations: 16 kB / 0.8351 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.7216, allocations: 4 kB / 0.8351 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006302/0.7223, allocations: 306.5 kB / 0.8354 GB, free: 5.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.7223, allocations: 4 kB / 0.8354 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-06/0.7223, allocations: 4 kB / 0.8354 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.7226, allocations: 75.89 kB / 0.8355 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.7226, allocations: 11.94 kB / 0.8355 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.7228, allocations: 47.92 kB / 0.8356 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.7229, allocations: 12 kB / 0.8356 GB, free: 5.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (32): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002156/0.7231, allocations: 241 kB / 0.8358 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.7231, allocations: 27.62 kB / 0.8358 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.25e-05/0.7232, allocations: 34.17 kB / 0.8359 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.7232, allocations: 4 kB / 0.8359 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.7232, allocations: 4 kB / 0.8359 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.7232, allocations: 3.953 kB / 0.8359 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.7236, allocations: 349.4 kB / 0.8362 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7236, allocations: 0 / 0.8362 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.7239, allocations: 47.95 kB / 0.8363 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.806e-05/0.724, allocations: 32.78 kB / 0.8363 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.724, allocations: 4 kB / 0.8363 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.725, allocations: 1.323 MB / 0.8376 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.725, allocations: 0 / 0.8376 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006605/0.7257, allocations: 382 kB / 0.838 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.7258, allocations: 128.7 kB / 0.8381 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.7259, allocations: 0 / 0.8381 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.726, allocations: 23.98 kB / 0.8381 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.786e-05/0.7261, allocations: 23.92 kB / 0.8381 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.7262, allocations: 4 kB / 0.8381 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001617/0.7263, allocations: 178 kB / 0.8383 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7263, allocations: 3.938 kB / 0.8383 GB, free: 2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005363/0.7269, allocations: 135.6 kB / 0.8384 GB, free: 1.867 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 (17): * Single equations (assignments): 16 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001438/0.727, allocations: 111.1 kB / 0.8385 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009721/0.728, allocations: 428.8 kB / 0.8389 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.728, allocations: 0 / 0.8389 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.7284, allocations: 220.8 kB / 0.8392 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.7288, allocations: 60.81 kB / 0.8392 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.7298, allocations: 0.6619 MB / 0.8399 GB, free: 372 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.7303, allocations: 0.8111 MB / 0.8407 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002398/0.7306, allocations: 82.19 kB / 0.8407 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.7306, allocations: 19.44 kB / 0.8408 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of SimCode: time 3.11e-07/0.7306, allocations: 0 / 0.8408 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.00617/0.7368, allocations: 2.949 MB / 0.8436 GB, free: 12.52 MB / 0.5261 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)