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.9038/0.9038, allocations: 132.4 MB / 139.9 MB, free: 2.812 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.001115/0.001115, allocations: 176.1 kB / 171.8 MB, free: 4.902 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.459/1.459, allocations: 170.6 MB / 374.2 MB, free: 100 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.001674/0.001674, allocations: 109.8 kB / 444.8 MB, free: 14.12 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.1488/0.1488, allocations: 73.42 MB / 0.6666 GB, free: 15.61 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5165/0.6654, allocations: 142.4 MB / 0.8057 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.6657, allocations: 103.9 kB / 0.8058 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2018/0.8675, allocations: 77.97 MB / 0.8819 GB, free: 6.098 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.002e-06/0.8676, allocations: 0 / 0.8819 GB, free: 6.098 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001712/0.8678, allocations: 32 kB / 0.8819 GB, free: 6.066 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.003918/0.8717, allocations: 1.536 MB / 0.8834 GB, free: 4.48 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.8717, allocations: 8.031 kB / 0.8834 GB, free: 4.473 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.8826, allocations: 1.804 MB / 0.8852 GB, free: 2.664 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/0.8859, allocations: 1.13 MB / 0.8863 GB, free: 1.477 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.751e-05/0.886, allocations: 36 kB / 0.8863 GB, free: 1.441 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004919/0.8865, allocations: 64 kB / 0.8864 GB, free: 1.379 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003078/0.8896, allocations: 1.422 MB / 0.8878 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004172/0.8938, allocations: 1.856 MB / 0.8896 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.349e-05/0.8939, allocations: 11.84 kB / 0.8896 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002241/0.8941, allocations: 4 kB / 0.8896 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.8942, allocations: 74.12 kB / 0.8897 GB, free: 13.83 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.9085, allocations: 8.311 MB / 0.8978 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.9105, allocations: 1.109 MB / 0.8989 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007831/0.9114, allocations: 0.58 MB / 0.8995 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.9114, allocations: 8.422 kB / 0.8995 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.9115, allocations: 42.98 kB / 0.8995 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=53): time 3.887e-06/0.9115, allocations: 4 kB / 0.8995 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of matching and sorting (n=81): time 0.4133/1.325, allocations: 3.86 MB / 0.9033 GB, free: 156.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/1.325, allocations: 218.7 kB / 0.9035 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003501/1.328, allocations: 0.7437 MB / 0.9042 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003623/1.329, allocations: 25.7 kB / 0.9042 GB, free: 156 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/1.33, allocations: 0.7346 MB / 0.905 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006023/1.331, allocations: 275 kB / 0.9052 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/1.331, allocations: 0 / 0.9052 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.331, allocations: 342.5 kB / 0.9055 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/1.333, allocations: 0.6776 MB / 0.9062 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/1.335, allocations: 0.9207 MB / 0.9071 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/1.337, allocations: 0.7732 MB / 0.9079 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/1.337, allocations: 3.375 kB / 0.9079 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008794/1.346, allocations: 2.427 MB / 0.9102 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/1.346, allocations: 8.094 kB / 0.9102 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.051e-05/1.346, allocations: 5.375 kB / 0.9102 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005377/1.352, allocations: 0.8323 MB / 0.9111 GB, free: 155 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003576/1.355, allocations: 424 kB / 0.9115 GB, free: 155 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02244/1.378, allocations: 14.33 MB / 0.9255 GB, free: 145.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004229/1.382, allocations: 285.2 kB / 0.9257 GB, free: 145.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004748/1.383, allocations: 54.19 kB / 0.9258 GB, free: 145.4 MB / 0.5886 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 (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.0007022/1.383, allocations: 132.5 kB / 0.9259 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007528/1.384, allocations: 130.8 kB / 0.926 GB, free: 145.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009561/1.394, allocations: 2.423 MB / 0.9284 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/1.394, allocations: 8.562 kB / 0.9284 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.375e-05/1.394, allocations: 11.34 kB / 0.9284 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/1.394, allocations: 3.656 kB / 0.9284 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/1.408, allocations: 4.038 MB / 0.9324 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/1.408, allocations: 3.281 kB / 0.9324 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002176/1.41, allocations: 369.6 kB / 0.9327 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003335/1.413, allocations: 0.7565 MB / 0.9335 GB, free: 144.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/1.414, allocations: 21.05 kB / 0.9335 GB, free: 144.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01353/1.427, allocations: 13.94 MB / 0.9471 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/1.427, allocations: 5.344 kB / 0.9471 GB, free: 134.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004955/1.432, allocations: 2.425 MB / 0.9495 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.433, allocations: 375.5 kB / 0.9498 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005163/1.434, allocations: 3.75 kB / 0.9498 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/1.436, allocations: 295.2 kB / 0.9501 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/1.436, allocations: 83.42 kB / 0.9502 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.437, allocations: 35.33 kB / 0.9502 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001139/1.438, allocations: 0.5678 MB / 0.9508 GB, free: 132.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.61e-07/1.438, allocations: 0 / 0.9508 GB, free: 132.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002358/1.44, allocations: 412 kB / 0.9512 GB, free: 132.8 MB / 0.5886 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 () * 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.0003516/1.44, allocations: 135.8 kB / 0.9513 GB, free: 132.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00467/1.445, allocations: 2.749 MB / 0.954 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.445, allocations: 3.812 kB / 0.954 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002554/1.448, allocations: 1.895 MB / 0.9558 GB, free: 130 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/1.45, allocations: 416.5 kB / 0.9562 GB, free: 129.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004959/1.455, allocations: 2.41 MB / 0.9586 GB, free: 128.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/1.456, allocations: 1.414 MB / 0.96 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001706/1.458, allocations: 370.2 kB / 0.9603 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/1.458, allocations: 96.42 kB / 0.9604 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of SimCode: time 1.152e-06/1.458, allocations: 4 kB / 0.9604 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.04267/1.501, allocations: 26.5 MB / 0.9863 GB, free: 126.8 MB / 0.5886 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)