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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7761/0.7761, 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.001223/0.001223, allocations: 164.1 kB / 180.8 MB, free: 15.08 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.81/1.81, allocations: 170.7 MB / 383.7 MB, free: 16.14 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.00174/0.00174, allocations: 107.2 kB / 454.6 MB, free: 9.707 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.1888/0.1893, allocations: 73.41 MB / 0.6812 GB, free: 5.523 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5831/0.7725, allocations: 143.1 MB / 0.821 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000366/0.7729, allocations: 103.1 kB / 0.8211 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2009/0.9738, allocations: 78.72 MB / 0.8979 GB, free: 4.875 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9738, allocations: 0 / 0.8979 GB, free: 4.875 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.823e-05/0.9739, allocations: 39.98 kB / 0.898 GB, free: 4.836 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003531/0.9774, allocations: 1.762 MB / 0.8997 GB, free: 3.02 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.9775, allocations: 12.56 kB / 0.8997 GB, free: 3.008 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/0.9876, allocations: 1.803 MB / 0.9015 GB, free: 1.203 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.9909, allocations: 1.138 MB / 0.9026 GB, free: 8 kB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.991, allocations: 86.28 kB / 0.9027 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002842/0.9913, allocations: 111.9 kB / 0.9028 GB, free: 15.81 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005771/0.9971, allocations: 2.522 MB / 0.9052 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.845e-05/0.9972, allocations: 11.94 kB / 0.9052 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.9973, allocations: 55.98 kB / 0.9053 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-05/0.9974, allocations: 70.12 kB / 0.9054 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007188/1.005, allocations: 2.568 MB / 0.9079 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01649/1.021, allocations: 8.601 MB / 0.9163 GB, free: 1.527 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006323/1.028, allocations: 2.003 MB / 0.9182 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.687e-05/1.028, allocations: 4.438 kB / 0.9182 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/1.028, allocations: 46.94 kB / 0.9183 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 3.827e-06/1.028, allocations: 0 / 0.9183 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.0321/1.06, allocations: 9.222 MB / 0.9273 GB, free: 6.152 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/1.06, allocations: 218.2 kB / 0.9275 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/1.062, allocations: 0.9495 MB / 0.9284 GB, free: 4.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002074/1.062, allocations: 45.69 kB / 0.9285 GB, free: 4.879 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000668/1.063, allocations: 0.7226 MB / 0.9292 GB, free: 4.145 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/1.063, allocations: 276 kB / 0.9294 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/1.063, allocations: 20 kB / 0.9294 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.064, allocations: 341.9 kB / 0.9298 GB, free: 3.512 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002936/1.067, allocations: 1.102 MB / 0.9309 GB, free: 2.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003103/1.07, allocations: 1.344 MB / 0.9322 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3399/1.41, allocations: 1.152 MB / 0.9333 GB, free: 136.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/1.41, allocations: 5.719 kB / 0.9333 GB, free: 136.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008849/1.419, allocations: 3.321 MB / 0.9365 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/1.419, allocations: 8.125 kB / 0.9365 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.419, allocations: 5.156 kB / 0.9365 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003263/1.422, allocations: 0.8594 MB / 0.9374 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/1.424, allocations: 421.7 kB / 0.9378 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/1.439, allocations: 15.2 MB / 0.9526 GB, free: 126.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/1.441, allocations: 304.4 kB / 0.9529 GB, free: 126.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/1.442, allocations: 54.34 kB / 0.953 GB, free: 126.7 MB / 0.6042 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000861/1.442, allocations: 397 kB / 0.9534 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/1.443, allocations: 150 kB / 0.9535 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008649/1.451, allocations: 3.281 MB / 0.9567 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/1.451, allocations: 11.69 kB / 0.9567 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/1.451, allocations: 7.656 kB / 0.9567 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.451, allocations: 3.422 kB / 0.9567 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/1.462, allocations: 5.058 MB / 0.9617 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.462, allocations: 2.969 kB / 0.9617 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/1.463, allocations: 366.5 kB / 0.962 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/1.466, allocations: 0.7771 MB / 0.9628 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/1.466, allocations: 37.58 kB / 0.9628 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/1.477, allocations: 14.83 MB / 0.9773 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.477, allocations: 3.25 kB / 0.9773 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007416/1.485, allocations: 3.275 MB / 0.9805 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/1.486, allocations: 397.6 kB / 0.9809 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/1.486, allocations: 17.59 kB / 0.9809 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/1.488, allocations: 306.5 kB / 0.9812 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/1.488, allocations: 86.17 kB / 0.9813 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.244e-05/1.488, allocations: 35.17 kB / 0.9813 GB, free: 115 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001028/1.489, allocations: 0.7406 MB / 0.982 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/1.489, allocations: 0 / 0.982 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001761/1.491, allocations: 459.3 kB / 0.9825 GB, free: 114.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003353/1.491, allocations: 151.1 kB / 0.9826 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.007529/1.499, allocations: 3.694 MB / 0.9862 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.499, allocations: 0 / 0.9862 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.004127/1.503, allocations: 2.395 MB / 0.9886 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/1.505, allocations: 491 kB / 0.989 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006733/1.512, allocations: 3.993 MB / 0.9929 GB, free: 111 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007727/1.513, allocations: 1.412 MB / 0.9943 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001655/1.515, allocations: 386.5 kB / 0.9947 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/1.515, allocations: 112.7 kB / 0.9948 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of SimCode: time 7.91e-07/1.515, allocations: 0 / 0.9948 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.04462/1.56, allocations: 29.28 MB / 1.023 GB, free: 108.7 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)