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/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_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") [/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.1669/0.1688, allocations: 80.84 MB / 0.5899 GB, free: 6.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00788/0.1767, allocations: 6.637 MB / 0.5964 GB, free: 316 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005374/0.1821, allocations: 3.216 MB / 0.5995 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007155/0.1829, allocations: 23.81 kB / 0.5995 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.1853, allocations: 0.8914 MB / 0.6004 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.1869, allocations: 0.5016 MB / 0.6009 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.188, allocations: 382.9 kB / 0.6013 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.1895, allocations: 1.209 MB / 0.6024 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.1907, allocations: 0.7328 MB / 0.6032 GB, free: 9.336 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008157/0.1915, allocations: 470.2 kB / 0.6036 GB, free: 8.875 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008901/0.1924, allocations: 0.5527 MB / 0.6041 GB, free: 8.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.1926, allocations: 68 kB / 0.6042 GB, free: 8.254 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008947/0.1935, allocations: 383.2 kB / 0.6046 GB, free: 7.879 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003659/0.1939, allocations: 295.2 kB / 0.6049 GB, free: 7.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.1944, allocations: 445.7 kB / 0.6053 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.1958, allocations: 1.207 MB / 0.6065 GB, free: 5.941 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1958, allocations: 0 / 0.6065 GB, free: 5.941 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1958, allocations: 0 / 0.6065 GB, free: 5.941 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.1958, allocations: 0 / 0.6065 GB, free: 5.941 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.001922/0.1977, allocations: 1.152 MB / 0.6076 GB, free: 4.742 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.1978, allocations: 12.03 kB / 0.6076 GB, free: 4.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.1994, allocations: 239.5 kB / 0.6078 GB, free: 4.496 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008319/0.2002, allocations: 0.5376 MB / 0.6083 GB, free: 3.918 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.2002, allocations: 53.67 kB / 0.6084 GB, free: 3.863 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.2004, allocations: 64.27 kB / 0.6085 GB, free: 3.801 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.2018, allocations: 1.077 MB / 0.6095 GB, free: 2.613 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.2019, allocations: 7.938 kB / 0.6095 GB, free: 2.605 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.653e-05/0.2019, allocations: 27.98 kB / 0.6095 GB, free: 2.578 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/0.2021, allocations: 85.25 kB / 0.6096 GB, free: 2.496 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.2031, allocations: 0.7465 MB / 0.6104 GB, free: 1.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004978/0.2081, allocations: 4.862 MB / 0.6151 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009697/0.2091, allocations: 0.5599 MB / 0.6157 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004469/0.2096, allocations: 330 kB / 0.616 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.2096, allocations: 8.375 kB / 0.616 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.2097, allocations: 42.98 kB / 0.616 GB, free: 11.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 2.244e-06/0.2097, allocations: 4 kB / 0.616 GB, free: 11.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=48): time 0.003762/0.2134, allocations: 1.982 MB / 0.618 GB, free: 9.668 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.2135, allocations: 59.84 kB / 0.618 GB, free: 9.598 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006267/0.2141, allocations: 0.547 MB / 0.6185 GB, free: 9.039 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.2142, allocations: 33.7 kB / 0.6186 GB, free: 9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.2145, allocations: 414.9 kB / 0.619 GB, free: 8.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.2146, allocations: 177.5 kB / 0.6191 GB, free: 8.414 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.2148, allocations: 126.5 kB / 0.6193 GB, free: 8.285 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.215, allocations: 370.8 kB / 0.6196 GB, free: 7.914 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.2153, allocations: 281.8 kB / 0.6199 GB, free: 7.637 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000505/0.2159, allocations: 496.9 kB / 0.6204 GB, free: 7.059 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009708/0.2168, allocations: 0.8172 MB / 0.6212 GB, free: 6.148 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.2169, allocations: 3.938 kB / 0.6212 GB, free: 6.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00172/0.2186, allocations: 1.091 MB / 0.6222 GB, free: 5.031 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2186, allocations: 8 kB / 0.6222 GB, free: 5.023 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.2186, allocations: 11.94 kB / 0.6222 GB, free: 5.012 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007692/0.2194, allocations: 271.6 kB / 0.6225 GB, free: 4.734 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.2199, allocations: 127.8 kB / 0.6226 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006054/0.2259, allocations: 7.141 MB / 0.6296 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/0.2265, allocations: 39.97 kB / 0.6296 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.2266, allocations: 32 kB / 0.6297 GB, free: 12.84 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003347/0.2269, allocations: 250.5 kB / 0.6299 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.735e-05/0.227, allocations: 71.19 kB / 0.63 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.2284, allocations: 0.8847 MB / 0.6308 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2284, allocations: 4 kB / 0.6308 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2284, allocations: 7.938 kB / 0.6309 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.2285, allocations: 3.984 kB / 0.6309 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.2308, allocations: 1.736 MB / 0.6325 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2308, allocations: 0 / 0.6325 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.2312, allocations: 59.89 kB / 0.6326 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007152/0.2319, allocations: 275.4 kB / 0.6329 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.2319, allocations: 7.938 kB / 0.6329 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006444/0.2384, allocations: 7.127 MB / 0.6398 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.2384, allocations: 4.031 kB / 0.6398 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.24, allocations: 0.9797 MB / 0.6408 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.2403, allocations: 196.1 kB / 0.641 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/0.2404, allocations: 12.17 kB / 0.641 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.2408, allocations: 35.97 kB / 0.641 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.2409, allocations: 51.81 kB / 0.6411 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.241, allocations: 16 kB / 0.6411 GB, free: 384 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004899/0.2415, allocations: 383.1 kB / 0.6415 GB, free: 8 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2415, allocations: 0 / 0.6415 GB, free: 8 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008244/0.2423, allocations: 220 kB / 0.6417 GB, free: 15.79 MB / 0.4981 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 () * Number of clocked 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 (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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001955/0.2425, allocations: 115.7 kB / 0.6418 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00209/0.2446, allocations: 1.33 MB / 0.6431 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2446, allocations: 0 / 0.6431 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.2458, allocations: 0.8932 MB / 0.644 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009605/0.2468, allocations: 215 kB / 0.6442 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.2493, allocations: 1.672 MB / 0.6458 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/0.2499, allocations: 1.005 MB / 0.6468 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004313/0.2504, allocations: 130 kB / 0.6469 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.2505, allocations: 43.44 kB / 0.6469 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.2505, allocations: 0 / 0.6469 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of Templates: time 0.01879/0.2693, allocations: 11.22 MB / 0.6579 GB, free: 15.17 MB / 0.5137 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)