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.8257/0.8257, allocations: 133.7 MB / 148.6 MB, free: 13.61 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.00122/0.00122, allocations: 184 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.753/1.753, allocations: 170.7 MB / 383.7 MB, free: 16.25 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.001926/0.001926, allocations: 109.1 kB / 454.6 MB, free: 9.871 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.2346/0.2355, allocations: 73.4 MB / 0.6812 GB, free: 5.531 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5787/0.8142, allocations: 123.7 MB / 0.802 GB, free: 6.793 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004025/0.8147, allocations: 100.3 kB / 0.8021 GB, free: 6.734 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1529/0.9676, allocations: 37.5 MB / 0.8387 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.915e-06/0.9676, allocations: 0 / 0.8387 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.956e-05/0.9677, allocations: 27.98 kB / 0.8387 GB, free: 2.066 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003252/0.971, allocations: 1.038 MB / 0.8397 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.807e-05/0.9711, allocations: 12.03 kB / 0.8398 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002583/0.9737, allocations: 238.7 kB / 0.84 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.9752, allocations: 0.5309 MB / 0.8405 GB, free: 164 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/0.9752, allocations: 53.3 kB / 0.8406 GB, free: 108 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.9754, allocations: 63.98 kB / 0.8406 GB, free: 44 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.978, allocations: 1.115 MB / 0.8417 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-05/0.9781, allocations: 7.938 kB / 0.8417 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.9782, allocations: 35.98 kB / 0.8417 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/0.9784, allocations: 49.28 kB / 0.8418 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.9804, allocations: 0.7454 MB / 0.8425 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008561/0.989, allocations: 4.882 MB / 0.8473 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.9906, allocations: 0.5563 MB / 0.8478 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/0.9907, allocations: 12.42 kB / 0.8478 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.9907, allocations: 39 kB / 0.8479 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 3.487e-06/0.9907, allocations: 0 / 0.8479 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.006824/0.9976, allocations: 1.969 MB / 0.8498 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.9977, allocations: 63.83 kB / 0.8499 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.9989, allocations: 491.2 kB / 0.8503 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.723e-05/0.999, allocations: 37.7 kB / 0.8504 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.9994, allocations: 403.1 kB / 0.8508 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.9997, allocations: 169.6 kB / 0.8509 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/0.9998, allocations: 12 kB / 0.8509 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002491/1, allocations: 374.8 kB / 0.8513 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000755/1.001, allocations: 273.1 kB / 0.8515 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009351/1.002, allocations: 458.8 kB / 0.852 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000932/1.003, allocations: 350 kB / 0.8523 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/1.003, allocations: 0 / 0.8523 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003327/1.006, allocations: 1.056 MB / 0.8533 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/1.006, allocations: 8.094 kB / 0.8534 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/1.006, allocations: 12 kB / 0.8534 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/1.008, allocations: 271.2 kB / 0.8536 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008882/1.009, allocations: 123.7 kB / 0.8537 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/1.02, allocations: 6.697 MB / 0.8603 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/1.022, allocations: 35.97 kB / 0.8603 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/1.022, allocations: 28.19 kB / 0.8603 GB, free: 10.72 MB / 0.5417 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 () * Number of clocked 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.0007999/1.023, allocations: 253.6 kB / 0.8606 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/1.023, allocations: 67.25 kB / 0.8607 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/1.026, allocations: 0.8923 MB / 0.8615 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/1.026, allocations: 12 kB / 0.8615 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/1.026, allocations: 4 kB / 0.8615 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.026, allocations: 0 / 0.8615 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004984/1.031, allocations: 1.716 MB / 0.8632 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/1.031, allocations: 7.953 kB / 0.8632 GB, free: 7.648 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/1.031, allocations: 59.89 kB / 0.8633 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/1.033, allocations: 267.8 kB / 0.8635 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/1.033, allocations: 8 kB / 0.8635 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/1.044, allocations: 6.689 MB / 0.8701 GB, free: 84 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/1.044, allocations: 4.031 kB / 0.8701 GB, free: 80 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003332/1.047, allocations: 1.056 MB / 0.8711 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007328/1.048, allocations: 188.2 kB / 0.8713 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002879/1.048, allocations: 12 kB / 0.8713 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008628/1.049, allocations: 31.92 kB / 0.8713 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/1.049, allocations: 43.88 kB / 0.8714 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-05/1.05, allocations: 19.94 kB / 0.8714 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001044/1.051, allocations: 387.1 kB / 0.8718 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.71e-07/1.051, allocations: 0 / 0.8718 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001817/1.052, allocations: 224 kB / 0.872 GB, free: 14.04 MB / 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 () * Number of clocked 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.00035/1.053, allocations: 115.2 kB / 0.8721 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00353/1.056, allocations: 1.257 MB / 0.8733 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/1.056, allocations: 4 kB / 0.8733 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002245/1.059, allocations: 0.8893 MB / 0.8742 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/1.06, allocations: 195.2 kB / 0.8744 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/1.065, allocations: 1.609 MB / 0.8759 GB, free: 9.824 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/1.066, allocations: 1.026 MB / 0.8769 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009053/1.067, allocations: 121.9 kB / 0.8771 GB, free: 8.652 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/1.067, allocations: 39.44 kB / 0.8771 GB, free: 8.613 MB / 0.5573 GB Notification: Performance of SimCode: time 1.022e-06/1.067, allocations: 4 kB / 0.8771 GB, free: 8.609 MB / 0.5573 GB Notification: Performance of Templates: time 0.0336/1.101, allocations: 10.27 MB / 0.8871 GB, free: 14.46 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)