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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8064/0.8064, 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.001221/0.001221, allocations: 172 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.628/1.628, 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.001648/0.001648, allocations: 117 kB / 454.6 MB, free: 9.719 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.184/0.1845, allocations: 73.4 MB / 0.6812 GB, free: 5.555 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.564/0.7485, allocations: 144.4 MB / 0.8222 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.7488, allocations: 103.2 kB / 0.8223 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07769/0.8265, allocations: 31.96 MB / 0.8535 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8266, allocations: 0 / 0.8535 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.468e-05/0.8266, allocations: 20 kB / 0.8535 GB, free: 2.984 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001483/0.8281, allocations: 0.8702 MB / 0.8544 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.8282, allocations: 8.031 kB / 0.8544 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.8295, allocations: 194.9 kB / 0.8546 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.8306, allocations: 493.5 kB / 0.855 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.8306, allocations: 36.98 kB / 0.8551 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.8308, allocations: 52 kB / 0.8551 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.832, allocations: 0.8581 MB / 0.856 GB, free: 300 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.8321, allocations: 7.906 kB / 0.856 GB, free: 292 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.568e-05/0.8321, allocations: 24 kB / 0.856 GB, free: 268 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-05/0.8322, allocations: 48.91 kB / 0.856 GB, free: 216 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008566/0.8331, allocations: 0.558 MB / 0.8566 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004587/0.8377, allocations: 3.967 MB / 0.8605 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/0.8382, allocations: 292.2 kB / 0.8607 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.8382, allocations: 0 / 0.8607 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.8383, allocations: 38.56 kB / 0.8608 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 1.332e-06/0.8383, allocations: 0 / 0.8608 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=40): time 0.005689/0.844, allocations: 2.644 MB / 0.8634 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.844, allocations: 59.36 kB / 0.8634 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004878/0.8445, allocations: 393.2 kB / 0.8638 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.8446, allocations: 37.7 kB / 0.8638 GB, free: 7.875 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.8449, allocations: 323.8 kB / 0.8641 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.845, allocations: 149.9 kB / 0.8643 GB, free: 7.402 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.8451, allocations: 12 kB / 0.8643 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002144/0.8453, allocations: 358.8 kB / 0.8646 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.8456, allocations: 241 kB / 0.8649 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/0.8462, allocations: 380.5 kB / 0.8652 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/0.8466, allocations: 293.5 kB / 0.8655 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.8466, allocations: 0 / 0.8655 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001701/0.8483, allocations: 0.8981 MB / 0.8664 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.8484, allocations: 8 kB / 0.8664 GB, free: 5.145 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.8484, allocations: 4 kB / 0.8664 GB, free: 5.141 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008273/0.8492, allocations: 238.7 kB / 0.8666 GB, free: 4.898 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.8498, allocations: 103.9 kB / 0.8667 GB, free: 4.797 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005137/0.855, allocations: 5.013 MB / 0.8716 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005407/0.8555, allocations: 31.92 kB / 0.8716 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.8556, allocations: 24 kB / 0.8717 GB, free: 15.33 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * 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 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003806/0.856, allocations: 221.6 kB / 0.8719 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-05/0.8561, allocations: 55.34 kB / 0.8719 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.8577, allocations: 0.7734 MB / 0.8727 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.8577, allocations: 4 kB / 0.8727 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.8578, allocations: 4 kB / 0.8727 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.8578, allocations: 11.92 kB / 0.8727 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.8605, allocations: 1.483 MB / 0.8742 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.8605, allocations: 4 kB / 0.8742 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003983/0.8609, allocations: 71.88 kB / 0.8742 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007634/0.8617, allocations: 202.6 kB / 0.8744 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.8618, allocations: 8 kB / 0.8744 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005065/0.8668, allocations: 4.958 MB / 0.8793 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.8669, allocations: 3.953 kB / 0.8793 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.8688, allocations: 1.202 MB / 0.8805 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.8692, allocations: 176.4 kB / 0.8806 GB, free: 5.543 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.603e-05/0.8693, allocations: 8 kB / 0.8806 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.8697, allocations: 28.41 kB / 0.8807 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.8698, allocations: 43.84 kB / 0.8807 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.8698, allocations: 8 kB / 0.8807 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004749/0.8703, allocations: 314.9 kB / 0.881 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8703, allocations: 0 / 0.881 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009972/0.8713, allocations: 168 kB / 0.8812 GB, free: 4.988 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002814/0.8716, allocations: 131.1 kB / 0.8813 GB, free: 4.852 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002164/0.8738, allocations: 0.9986 MB / 0.8823 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.8738, allocations: 0 / 0.8823 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.875, allocations: 0.6915 MB / 0.8829 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009915/0.876, allocations: 157.7 kB / 0.8831 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.8786, allocations: 1.494 MB / 0.8845 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007513/0.8794, allocations: 0.9493 MB / 0.8855 GB, free: 420 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004725/0.8799, allocations: 120.8 kB / 0.8856 GB, free: 296 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.88, allocations: 35.44 kB / 0.8856 GB, free: 260 kB / 0.5573 GB Notification: Performance of SimCode: time 9.11e-07/0.88, allocations: 0 / 0.8856 GB, free: 260 kB / 0.5573 GB Notification: Performance of Templates: time 0.01745/0.8975, allocations: 8.137 MB / 0.8936 GB, free: 8.219 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)