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.127/0.1289, allocations: 80.83 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007501/0.1364, allocations: 6.633 MB / 0.6771 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004564/0.141, allocations: 3.231 MB / 0.6803 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.1414, allocations: 27.81 kB / 0.6803 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.1437, allocations: 0.9477 MB / 0.6812 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.1448, allocations: 0.5402 MB / 0.6817 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009332/0.1458, allocations: 422.3 kB / 0.6821 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001272/0.1471, allocations: 1.209 MB / 0.6833 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008743/0.148, allocations: 0.6622 MB / 0.684 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000615/0.1486, allocations: 470.3 kB / 0.6844 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007774/0.1494, allocations: 0.5293 MB / 0.6849 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.1495, allocations: 68 kB / 0.685 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006669/0.1502, allocations: 379.2 kB / 0.6854 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.1505, allocations: 303.2 kB / 0.6857 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004215/0.1509, allocations: 437.8 kB / 0.6861 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.1521, allocations: 1.195 MB / 0.6872 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1521, allocations: 0 / 0.6872 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1521, allocations: 0 / 0.6872 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.466e-05/0.1521, allocations: 4 kB / 0.6872 GB, free: 0.9609 MB / 0.5137 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.001869/0.154, allocations: 1.145 MB / 0.6884 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.154, allocations: 12.03 kB / 0.6884 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.1555, allocations: 231.5 kB / 0.6886 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008308/0.1564, allocations: 0.5959 MB / 0.6892 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.1564, allocations: 45.69 kB / 0.6892 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.1565, allocations: 68.36 kB / 0.6893 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.1578, allocations: 1.081 MB / 0.6903 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.1578, allocations: 7.938 kB / 0.6904 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/0.1579, allocations: 24 kB / 0.6904 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/0.158, allocations: 85.25 kB / 0.6905 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/0.159, allocations: 0.7504 MB / 0.6912 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004111/0.1632, allocations: 4.843 MB / 0.6959 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008643/0.164, allocations: 0.5564 MB / 0.6965 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.1644, allocations: 330 kB / 0.6968 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.1645, allocations: 4.438 kB / 0.6968 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1645, allocations: 43 kB / 0.6968 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=47): time 2.174e-06/0.1645, allocations: 0 / 0.6968 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.003424/0.1679, allocations: 1.986 MB / 0.6988 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.168, allocations: 59.84 kB / 0.6988 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005353/0.1685, allocations: 0.5547 MB / 0.6994 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.1686, allocations: 33.7 kB / 0.6994 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.1688, allocations: 411 kB / 0.6998 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.1689, allocations: 173.6 kB / 0.6999 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.1691, allocations: 126.6 kB / 0.7001 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1693, allocations: 370.8 kB / 0.7004 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.1696, allocations: 277.8 kB / 0.7007 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.1701, allocations: 0.4931 MB / 0.7012 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000884/0.171, allocations: 0.8132 MB / 0.702 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.171, allocations: 7.938 kB / 0.702 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001602/0.1726, allocations: 1.087 MB / 0.703 GB, free: 28 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1727, allocations: 8 kB / 0.703 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.1727, allocations: 16.03 kB / 0.7031 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008177/0.1735, allocations: 271.2 kB / 0.7033 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.174, allocations: 127.7 kB / 0.7034 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00595/0.1799, allocations: 7.126 MB / 0.7104 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006103/0.1806, allocations: 39.95 kB / 0.7104 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/0.1806, allocations: 32 kB / 0.7105 GB, free: 7.84 MB / 0.545 GB 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.0003582/0.181, allocations: 249.6 kB / 0.7107 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.805e-05/0.1811, allocations: 79.03 kB / 0.7108 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.1826, allocations: 0.8847 MB / 0.7116 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1826, allocations: 4 kB / 0.7116 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1826, allocations: 7.938 kB / 0.7117 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1826, allocations: 7.922 kB / 0.7117 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.1849, allocations: 1.725 MB / 0.7133 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.1849, allocations: 12.19 kB / 0.7134 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.1852, allocations: 59.89 kB / 0.7134 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006867/0.1859, allocations: 267.1 kB / 0.7137 GB, free: 4.426 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.1859, allocations: 15.88 kB / 0.7137 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005816/0.1917, allocations: 7.111 MB / 0.7206 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.1918, allocations: 7.969 kB / 0.7206 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.1933, allocations: 0.9874 MB / 0.7216 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.1936, allocations: 188.2 kB / 0.7218 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.801e-05/0.1936, allocations: 12 kB / 0.7218 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.194, allocations: 27.95 kB / 0.7218 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.1941, allocations: 51.83 kB / 0.7219 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.1942, allocations: 16 kB / 0.7219 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004075/0.1946, allocations: 379.1 kB / 0.7222 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1946, allocations: 0 / 0.7222 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007716/0.1954, allocations: 220 kB / 0.7225 GB, free: 10.81 MB / 0.5606 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.0001886/0.1956, allocations: 123.1 kB / 0.7226 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.1974, allocations: 1.271 MB / 0.7238 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1974, allocations: 4.125 kB / 0.7238 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.1985, allocations: 0.8931 MB / 0.7247 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009258/0.1995, allocations: 223.6 kB / 0.7249 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.2016, allocations: 1.354 MB / 0.7262 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/0.2022, allocations: 1.012 MB / 0.7272 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003166/0.2025, allocations: 130 kB / 0.7273 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.2026, allocations: 43.44 kB / 0.7274 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.2026, allocations: 0 / 0.7274 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of Templates: time 0.01598/0.2186, allocations: 11.28 MB / 0.7384 GB, free: 10.42 MB / 0.5762 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)