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_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [/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.1689/0.1708, allocations: 80.83 MB / 0.5897 GB, free: 7.094 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007534/0.1784, allocations: 5.948 MB / 0.5955 GB, free: 1.113 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005145/0.1836, allocations: 3.387 MB / 0.5988 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005647/0.1842, allocations: 31.75 kB / 0.5988 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.1863, allocations: 0.8717 MB / 0.5997 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.1876, allocations: 474 kB / 0.6001 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.1888, allocations: 430.3 kB / 0.6006 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.1903, allocations: 1.424 MB / 0.6019 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009726/0.1912, allocations: 0.6211 MB / 0.6026 GB, free: 9.875 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005677/0.1918, allocations: 370.4 kB / 0.6029 GB, free: 9.512 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006272/0.1925, allocations: 498.2 kB / 0.6034 GB, free: 9.023 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.613e-05/0.1925, allocations: 43.94 kB / 0.6034 GB, free: 8.98 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.1937, allocations: 0.5808 MB / 0.604 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.194, allocations: 267.2 kB / 0.6042 GB, free: 8.137 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.1943, allocations: 362 kB / 0.6046 GB, free: 7.781 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.1957, allocations: 1.141 MB / 0.6057 GB, free: 6.637 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1957, allocations: 0 / 0.6057 GB, free: 6.637 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1957, allocations: 0 / 0.6057 GB, free: 6.637 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.1957, allocations: 0 / 0.6057 GB, free: 6.637 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001698/0.1974, allocations: 1.032 MB / 0.6067 GB, free: 5.555 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.1975, allocations: 8.031 kB / 0.6067 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.199, allocations: 219.7 kB / 0.6069 GB, free: 5.332 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008158/0.1998, allocations: 0.5259 MB / 0.6074 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.1999, allocations: 45.67 kB / 0.6075 GB, free: 4.719 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.2, allocations: 64.31 kB / 0.6075 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.2015, allocations: 1.002 MB / 0.6085 GB, free: 3.551 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.2015, allocations: 15.84 kB / 0.6085 GB, free: 3.535 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.594e-05/0.2016, allocations: 27.98 kB / 0.6086 GB, free: 3.508 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.484e-05/0.2017, allocations: 73.27 kB / 0.6086 GB, free: 3.438 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.2027, allocations: 0.6684 MB / 0.6093 GB, free: 2.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004878/0.2076, allocations: 4.69 MB / 0.6139 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000858/0.2085, allocations: 0.599 MB / 0.6145 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007359/0.2092, allocations: 425.3 kB / 0.6149 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.2093, allocations: 4 kB / 0.6149 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.2093, allocations: 38.34 kB / 0.6149 GB, free: 12.78 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 2.184e-06/0.2093, allocations: 0 / 0.6149 GB, free: 12.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=42): time 0.004323/0.2137, allocations: 2.053 MB / 0.6169 GB, free: 10.63 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.2137, allocations: 59.19 kB / 0.617 GB, free: 10.56 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005428/0.2143, allocations: 458.7 kB / 0.6174 GB, free: 10.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.2143, allocations: 33.7 kB / 0.6174 GB, free: 10.06 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.2146, allocations: 379.2 kB / 0.6178 GB, free: 9.688 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.2147, allocations: 149.8 kB / 0.6179 GB, free: 9.539 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.2148, allocations: 110.2 kB / 0.618 GB, free: 9.426 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.215, allocations: 366.7 kB / 0.6184 GB, free: 9.059 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.2154, allocations: 249.2 kB / 0.6186 GB, free: 8.812 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/0.2159, allocations: 465 kB / 0.6191 GB, free: 8.266 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009301/0.2169, allocations: 0.7558 MB / 0.6198 GB, free: 7.414 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2169, allocations: 0 / 0.6198 GB, free: 7.414 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001961/0.2189, allocations: 1.057 MB / 0.6208 GB, free: 6.336 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.2189, allocations: 10.91 kB / 0.6209 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.2189, allocations: 11.94 kB / 0.6209 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.22, allocations: 339 kB / 0.6212 GB, free: 5.973 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.2203, allocations: 95.83 kB / 0.6213 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007089/0.2274, allocations: 6.954 MB / 0.6281 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.228, allocations: 31.95 kB / 0.6281 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.2281, allocations: 28 kB / 0.6281 GB, free: 14.32 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005018/0.2286, allocations: 237.6 kB / 0.6284 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.778e-05/0.2287, allocations: 55.34 kB / 0.6284 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.2304, allocations: 0.9236 MB / 0.6293 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2304, allocations: 4 kB / 0.6293 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.2304, allocations: 4 kB / 0.6293 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2304, allocations: 3.984 kB / 0.6293 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/0.2331, allocations: 1.708 MB / 0.631 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2332, allocations: 288 / 0.631 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.2333, allocations: 47.91 kB / 0.631 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009697/0.2343, allocations: 327.2 kB / 0.6313 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.2344, allocations: 8 kB / 0.6314 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007334/0.2417, allocations: 6.927 MB / 0.6381 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.2417, allocations: 15.91 kB / 0.6381 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.2435, allocations: 1.011 MB / 0.6391 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.2438, allocations: 168.4 kB / 0.6393 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.386e-05/0.2439, allocations: 11.98 kB / 0.6393 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.2441, allocations: 27.92 kB / 0.6393 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.2443, allocations: 39.88 kB / 0.6394 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.2443, allocations: 16 kB / 0.6394 GB, free: 2.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003483/0.2447, allocations: 306.9 kB / 0.6397 GB, free: 1.773 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2447, allocations: 0 / 0.6397 GB, free: 1.773 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007589/0.2454, allocations: 188 kB / 0.6398 GB, free: 1.59 MB / 494.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001697/0.2456, allocations: 112 kB / 0.64 GB, free: 1.473 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001807/0.2474, allocations: 1.203 MB / 0.6411 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2474, allocations: 0 / 0.6411 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.2486, allocations: 0.862 MB / 0.642 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009466/0.2496, allocations: 184.7 kB / 0.6421 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.2517, allocations: 1.533 MB / 0.6436 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.2523, allocations: 0.9803 MB / 0.6446 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003041/0.2527, allocations: 105.2 kB / 0.6447 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.705e-05/0.2527, allocations: 35.44 kB / 0.6447 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.2527, allocations: 4 kB / 0.6447 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.01568/0.2684, allocations: 9.578 MB / 0.6541 GB, free: 2.938 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)