Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6823/0.6823, allocations: 132.3 MB / 144.9 MB, free: 10.54 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.00104/0.00104, allocations: 174.2 kB / 176.9 MB, free: 2.262 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.167/1.167, allocations: 170.5 MB / 379.3 MB, free: 11.88 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.001667/0.001667, allocations: 116 kB / 450 MB, free: 5.84 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.4465/0.4466, allocations: 73.39 MB / 0.6736 GB, free: 47.57 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.5951, allocations: 123.6 MB / 0.7943 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.5954, allocations: 101.4 kB / 0.7944 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08265/0.6781, allocations: 37.28 MB / 0.8308 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6781, allocations: 0 / 0.8308 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.223e-05/0.6781, allocations: 20 kB / 0.8308 GB, free: 3.359 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.001445/0.6796, allocations: 0.9523 MB / 0.8318 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.6796, allocations: 11.97 kB / 0.8318 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.681, allocations: 238.6 kB / 0.832 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007746/0.6818, allocations: 0.5343 MB / 0.8325 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.6819, allocations: 49.31 kB / 0.8326 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.682, allocations: 67.89 kB / 0.8327 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.6834, allocations: 1.103 MB / 0.8337 GB, free: 172 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.6834, allocations: 7.938 kB / 0.8337 GB, free: 164 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.048e-05/0.6835, allocations: 35.61 kB / 0.8338 GB, free: 132 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.348e-05/0.6836, allocations: 53.28 kB / 0.8338 GB, free: 80 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.6846, allocations: 0.7349 MB / 0.8345 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004402/0.689, allocations: 4.874 MB / 0.8393 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008893/0.6899, allocations: 0.5533 MB / 0.8398 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003885/0.6903, allocations: 326 kB / 0.8401 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.6904, allocations: 4.438 kB / 0.8402 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.6904, allocations: 43 kB / 0.8402 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 2.124e-06/0.6904, allocations: 0 / 0.8402 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of matching and sorting (n=48): time 0.001952/0.6924, allocations: 1.226 MB / 0.8414 GB, free: 8.102 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.6924, allocations: 55.84 kB / 0.8414 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004745/0.6929, allocations: 491.2 kB / 0.8419 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.693, allocations: 37.7 kB / 0.8419 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.6932, allocations: 399.2 kB / 0.8423 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.6933, allocations: 177.5 kB / 0.8425 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.6934, allocations: 12 kB / 0.8425 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6935, allocations: 374.8 kB / 0.8429 GB, free: 6.547 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.6938, allocations: 261.5 kB / 0.8431 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004577/0.6943, allocations: 460.1 kB / 0.8436 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.6948, allocations: 335.1 kB / 0.8439 GB, free: 5.434 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6948, allocations: 0 / 0.8439 GB, free: 5.434 MB / 0.5417 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001546/0.6963, allocations: 1.044 MB / 0.8449 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.6963, allocations: 8.75 kB / 0.8449 GB, free: 4.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.6964, allocations: 8 kB / 0.8449 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007771/0.6971, allocations: 279.2 kB / 0.8452 GB, free: 4.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/0.6976, allocations: 111.8 kB / 0.8453 GB, free: 3.961 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005538/0.7031, allocations: 6.579 MB / 0.8517 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.7037, allocations: 44.14 kB / 0.8517 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.7037, allocations: 28.05 kB / 0.8518 GB, free: 12.78 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.7039, allocations: 144.9 kB / 0.8519 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.704, allocations: 75.17 kB / 0.852 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.7055, allocations: 0.8843 MB / 0.8529 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.7055, allocations: 8 kB / 0.8529 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.7055, allocations: 4 kB / 0.8529 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.7055, allocations: 4 kB / 0.8529 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.7079, allocations: 1.712 MB / 0.8545 GB, free: 9.844 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.7079, allocations: 4 kB / 0.8545 GB, free: 9.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.7082, allocations: 59.89 kB / 0.8546 GB, free: 9.781 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000683/0.7089, allocations: 271.3 kB / 0.8549 GB, free: 9.504 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.7089, allocations: 8 kB / 0.8549 GB, free: 9.496 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005387/0.7143, allocations: 6.566 MB / 0.8613 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7143, allocations: 4.031 kB / 0.8613 GB, free: 2.387 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.7158, allocations: 1.044 MB / 0.8623 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.716, allocations: 192.2 kB / 0.8625 GB, free: 1.051 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.998e-05/0.7161, allocations: 15.95 kB / 0.8625 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.7165, allocations: 31.95 kB / 0.8625 GB, free: 1.004 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/0.7166, allocations: 35.95 kB / 0.8626 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.7166, allocations: 16.19 kB / 0.8626 GB, free: 0.9531 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003873/0.717, allocations: 379.2 kB / 0.8629 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.717, allocations: 0 / 0.8629 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007059/0.7177, allocations: 228 kB / 0.8632 GB, free: 376 kB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001671/0.7179, allocations: 119.1 kB / 0.8633 GB, free: 248 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.7196, allocations: 1.243 MB / 0.8645 GB, free: 14.95 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.7196, allocations: 0 / 0.8645 GB, free: 14.95 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.7208, allocations: 0.8772 MB / 0.8653 GB, free: 14.02 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007943/0.7216, allocations: 201.2 kB / 0.8655 GB, free: 13.83 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.7232, allocations: 1.007 MB / 0.8665 GB, free: 12.78 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/0.7238, allocations: 1.034 MB / 0.8675 GB, free: 11.72 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003706/0.7242, allocations: 113.9 kB / 0.8676 GB, free: 11.61 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.7243, allocations: 43.44 kB / 0.8677 GB, free: 11.56 MB / 0.573 GB Notification: Performance of SimCode: time 5.91e-07/0.7243, allocations: 3.938 kB / 0.8677 GB, free: 11.56 MB / 0.573 GB Notification: Performance of Templates: time 0.01566/0.74, allocations: 10.27 MB / 0.8777 GB, free: 1.398 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)