Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8077/0.8077, allocations: 133.7 MB / 148.6 MB, free: 13.65 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.001206/0.001206, allocations: 176 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.66/1.66, allocations: 170.7 MB / 383.7 MB, free: 16.12 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.001832/0.001832, allocations: 112.7 kB / 454.6 MB, free: 9.695 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.1767/0.1772, allocations: 73.41 MB / 0.6812 GB, free: 5.512 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5213/0.6986, allocations: 151 MB / 0.8287 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.6989, allocations: 95.12 kB / 0.8288 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.08009/0.779, allocations: 32.49 MB / 0.8605 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7791, allocations: 0 / 0.8605 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.21e-05/0.7791, allocations: 19.94 kB / 0.8605 GB, free: 11.78 MB / 0.5417 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.001844/0.781, allocations: 0.8695 MB / 0.8614 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.7811, allocations: 12.03 kB / 0.8614 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.7827, allocations: 187 kB / 0.8616 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.7841, allocations: 0.4974 MB / 0.862 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/0.7841, allocations: 32.98 kB / 0.8621 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.7843, allocations: 58.91 kB / 0.8621 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.7859, allocations: 0.8515 MB / 0.863 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.786, allocations: 3.938 kB / 0.863 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.362e-05/0.786, allocations: 27.98 kB / 0.863 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.999e-05/0.7861, allocations: 40.97 kB / 0.863 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009724/0.7871, allocations: 0.5657 MB / 0.8636 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004659/0.7918, allocations: 3.971 MB / 0.8675 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.7923, allocations: 294.4 kB / 0.8677 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.7923, allocations: 0 / 0.8677 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.7924, allocations: 38.56 kB / 0.8678 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 1.252e-06/0.7924, allocations: 0 / 0.8678 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=40): time 0.005748/0.7981, allocations: 2.642 MB / 0.8704 GB, free: 1.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.7982, allocations: 55.41 kB / 0.8704 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.7987, allocations: 397.3 kB / 0.8708 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.7987, allocations: 37.7 kB / 0.8708 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.7989, allocations: 323.9 kB / 0.8711 GB, free: 340 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.799, allocations: 145.9 kB / 0.8713 GB, free: 192 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.7991, allocations: 12 kB / 0.8713 GB, free: 180 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.7993, allocations: 362.8 kB / 0.8716 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.7996, allocations: 233 kB / 0.8719 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.8001, allocations: 388.4 kB / 0.8722 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.8005, allocations: 293.5 kB / 0.8725 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8005, allocations: 7.938 kB / 0.8725 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001638/0.8021, allocations: 0.8985 MB / 0.8734 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.8022, allocations: 9.875 kB / 0.8734 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.8022, allocations: 8 kB / 0.8734 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008429/0.803, allocations: 226.5 kB / 0.8736 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.8036, allocations: 111.8 kB / 0.8737 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00513/0.8087, allocations: 5.013 MB / 0.8786 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/0.8094, allocations: 27.97 kB / 0.8787 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-05/0.8095, allocations: 28.06 kB / 0.8787 GB, free: 8.102 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.0004517/0.8099, allocations: 217.6 kB / 0.8789 GB, free: 7.879 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.8101, allocations: 59.33 kB / 0.8789 GB, free: 7.82 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.8118, allocations: 0.7762 MB / 0.8797 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.8118, allocations: 4 kB / 0.8797 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.8118, allocations: 4 kB / 0.8797 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.8118, allocations: 3.938 kB / 0.8797 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/0.8147, allocations: 1.495 MB / 0.8812 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.8148, allocations: 0 / 0.8812 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.8152, allocations: 71.88 kB / 0.8812 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007725/0.816, allocations: 202.6 kB / 0.8814 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.816, allocations: 8 kB / 0.8814 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005165/0.8212, allocations: 4.951 MB / 0.8863 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.8213, allocations: 8.094 kB / 0.8863 GB, free: 15.79 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.8233, allocations: 1.209 MB / 0.8875 GB, free: 14.49 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/0.8238, allocations: 176.8 kB / 0.8876 GB, free: 14.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.8239, allocations: 8 kB / 0.8876 GB, free: 14.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.8243, allocations: 31.97 kB / 0.8877 GB, free: 14.26 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.8244, allocations: 39.97 kB / 0.8877 GB, free: 14.22 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.8244, allocations: 12 kB / 0.8877 GB, free: 14.21 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004434/0.8249, allocations: 314.9 kB / 0.888 GB, free: 13.91 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8249, allocations: 3.938 kB / 0.888 GB, free: 13.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00087/0.8258, allocations: 171.9 kB / 0.8882 GB, free: 13.73 MB / 0.573 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.0002233/0.826, allocations: 123.2 kB / 0.8883 GB, free: 13.61 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001864/0.8279, allocations: 0.9949 MB / 0.8893 GB, free: 12.58 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.8279, allocations: 0 / 0.8893 GB, free: 12.58 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.8289, allocations: 0.676 MB / 0.8899 GB, free: 11.86 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008461/0.8298, allocations: 161.3 kB / 0.8901 GB, free: 11.71 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.8325, allocations: 1.51 MB / 0.8916 GB, free: 10.15 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006832/0.8332, allocations: 0.9571 MB / 0.8925 GB, free: 9.164 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004499/0.8336, allocations: 112.9 kB / 0.8926 GB, free: 9.051 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.8337, allocations: 35.44 kB / 0.8926 GB, free: 9.016 MB / 0.573 GB Notification: Performance of SimCode: time 1.152e-06/0.8338, allocations: 0 / 0.8926 GB, free: 9.016 MB / 0.573 GB Notification: Performance of Templates: time 0.01679/0.8505, allocations: 8.152 MB / 0.9006 GB, free: 0.9648 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)