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.809/0.809, allocations: 132.4 MB / 139.9 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009995/0.0009993, allocations: 180 kB / 171.8 MB, free: 4.914 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.445/1.445, allocations: 170.6 MB / 374.2 MB, free: 188 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001689/0.001689, allocations: 102.5 kB / 444.8 MB, free: 14.16 MB / 314.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.1754/0.1754, allocations: 73.42 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7115/0.8869, allocations: 122.9 MB / 0.7867 GB, free: 8.633 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.8873, allocations: 91.94 kB / 0.7868 GB, free: 8.543 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0919/0.9792, allocations: 37.14 MB / 0.823 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.022e-06/0.9792, allocations: 0 / 0.823 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.597e-05/0.9793, allocations: 27.98 kB / 0.8231 GB, free: 2.926 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.001725/0.981, allocations: 0.9511 MB / 0.824 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.9811, allocations: 8.031 kB / 0.824 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/0.9826, allocations: 234.6 kB / 0.8242 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008667/0.9835, allocations: 0.5299 MB / 0.8247 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.9835, allocations: 23.94 kB / 0.8248 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.825e-05/0.9836, allocations: 36 kB / 0.8248 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009944/0.9846, allocations: 0.6045 MB / 0.8254 GB, free: 460 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.9861, allocations: 1.003 MB / 0.8264 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.9861, allocations: 7.844 kB / 0.8264 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.9862, allocations: 8 kB / 0.8264 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.878e-05/0.9863, allocations: 53.28 kB / 0.8264 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004655/0.9909, allocations: 4.724 MB / 0.8311 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008963/0.9918, allocations: 0.5312 MB / 0.8316 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/0.9922, allocations: 310.7 kB / 0.8319 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.9923, allocations: 8.438 kB / 0.8319 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/0.9924, allocations: 39 kB / 0.8319 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 2.425e-06/0.9924, allocations: 0 / 0.8319 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48): time 0.002186/0.9946, allocations: 1.163 MB / 0.833 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.9946, allocations: 59.84 kB / 0.8331 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.9951, allocations: 398.1 kB / 0.8335 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.9951, allocations: 25.7 kB / 0.8335 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.9954, allocations: 398.9 kB / 0.8339 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.9955, allocations: 165.6 kB / 0.834 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.9955, allocations: 0 / 0.834 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.9957, allocations: 370.7 kB / 0.8344 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.9961, allocations: 249.5 kB / 0.8346 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.9965, allocations: 450.5 kB / 0.8351 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/0.997, allocations: 314 kB / 0.8354 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.997, allocations: 4 kB / 0.8354 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001607/0.9986, allocations: 0.9694 MB / 0.8363 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.9986, allocations: 8.75 kB / 0.8363 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.9987, allocations: 12 kB / 0.8363 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007769/0.9994, allocations: 271.2 kB / 0.8366 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.9999, allocations: 119.8 kB / 0.8367 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005747/1.006, allocations: 6.33 MB / 0.8429 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/1.006, allocations: 19.97 kB / 0.8429 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/1.006, allocations: 31.95 kB / 0.8429 GB, free: 13.5 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 () * 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.0001632/1.007, allocations: 124.8 kB / 0.8431 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/1.007, allocations: 67.25 kB / 0.8431 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/1.008, allocations: 0.8252 MB / 0.8439 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.008, allocations: 4 kB / 0.8439 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.008, allocations: 4 kB / 0.8439 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/1.008, allocations: 7.984 kB / 0.8439 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/1.011, allocations: 1.569 MB / 0.8455 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.011, allocations: 0 / 0.8455 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/1.011, allocations: 63.89 kB / 0.8455 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007009/1.012, allocations: 263.4 kB / 0.8458 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/1.012, allocations: 4 kB / 0.8458 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005776/1.017, allocations: 6.3 MB / 0.8519 GB, free: 3.711 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.017, allocations: 3.938 kB / 0.852 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/1.019, allocations: 0.9979 MB / 0.8529 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/1.019, allocations: 192.2 kB / 0.8531 GB, free: 2.414 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.701e-05/1.019, allocations: 4 kB / 0.8531 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/1.02, allocations: 23.95 kB / 0.8531 GB, free: 2.387 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-05/1.02, allocations: 43.89 kB / 0.8532 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/1.02, allocations: 12 kB / 0.8532 GB, free: 2.332 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003431/1.02, allocations: 298.9 kB / 0.8535 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.81e-07/1.02, allocations: 0 / 0.8535 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008441/1.021, allocations: 200 kB / 0.8537 GB, free: 1.848 MB / 0.5417 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.0001721/1.021, allocations: 103.2 kB / 0.8538 GB, free: 1.734 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001804/1.023, allocations: 1.181 MB / 0.8549 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.023, allocations: 0 / 0.8549 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/1.024, allocations: 0.8393 MB / 0.8557 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008305/1.025, allocations: 177.8 kB / 0.8559 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/1.027, allocations: 0.9854 MB / 0.8569 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/1.028, allocations: 1.017 MB / 0.8579 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004055/1.028, allocations: 117.3 kB / 0.858 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/1.028, allocations: 39.44 kB / 0.858 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of SimCode: time 2.91e-07/1.028, allocations: 3.938 kB / 0.858 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of Templates: time 0.01589/1.044, allocations: 9.261 MB / 0.8671 GB, free: 4.066 MB / 0.5573 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)