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/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,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") [/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.1917/0.1936, allocations: 80.84 MB / 0.5897 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01311/0.2067, allocations: 10.64 MB / 0.6001 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.2207, allocations: 9.019 MB / 0.6089 GB, free: 3.371 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002026/0.2227, allocations: 51.69 kB / 0.6089 GB, free: 3.32 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004298/0.2271, allocations: 1.568 MB / 0.6105 GB, free: 1.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005603/0.2327, allocations: 1.428 MB / 0.6119 GB, free: 328 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.2348, allocations: 0.5994 MB / 0.6125 GB, free: 15.72 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004181/0.239, allocations: 2.848 MB / 0.6152 GB, free: 12.87 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/0.2415, allocations: 1.293 MB / 0.6165 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002204/0.2437, allocations: 0.8792 MB / 0.6174 GB, free: 10.67 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.2455, allocations: 1.039 MB / 0.6184 GB, free: 9.625 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.2457, allocations: 88 kB / 0.6185 GB, free: 9.539 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.2477, allocations: 0.9084 MB / 0.6193 GB, free: 8.629 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005459/0.2483, allocations: 0.5023 MB / 0.6198 GB, free: 8.125 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009638/0.2493, allocations: 0.8081 MB / 0.6206 GB, free: 7.312 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003138/0.2524, allocations: 2.499 MB / 0.6231 GB, free: 4.805 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2524, allocations: 0 / 0.6231 GB, free: 4.805 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2524, allocations: 0 / 0.6231 GB, free: 4.805 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.155e-05/0.2525, allocations: 0 / 0.6231 GB, free: 4.805 MB / 478.1 MB 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.003389/0.2559, allocations: 1.983 MB / 0.625 GB, free: 2.766 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.2559, allocations: 12.03 kB / 0.625 GB, free: 2.754 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.2664, allocations: 2.05 MB / 0.627 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00262/0.269, allocations: 1.115 MB / 0.6281 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.701e-05/0.2691, allocations: 86.17 kB / 0.6282 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/0.2694, allocations: 116 kB / 0.6283 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005419/0.2748, allocations: 2.449 MB / 0.6307 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.327e-05/0.2749, allocations: 11.94 kB / 0.6307 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.2751, allocations: 51.98 kB / 0.6307 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003795/0.2754, allocations: 130 kB / 0.6309 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006858/0.2823, allocations: 2.517 MB / 0.6333 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01349/0.2958, allocations: 8.47 MB / 0.6416 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005744/0.3016, allocations: 1.956 MB / 0.6435 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/0.3042, allocations: 0.9807 MB / 0.6445 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.145e-05/0.3043, allocations: 4.438 kB / 0.6445 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.3043, allocations: 39 kB / 0.6445 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 3.286e-06/0.3043, allocations: 3.938 kB / 0.6445 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=81): time 0.0293/0.3336, allocations: 8.683 MB / 0.653 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.3337, allocations: 60.06 kB / 0.653 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.3353, allocations: 1.093 MB / 0.6541 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.3355, allocations: 41.7 kB / 0.6542 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005103/0.336, allocations: 0.7301 MB / 0.6549 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.3363, allocations: 276 kB / 0.6551 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004189/0.3367, allocations: 210.4 kB / 0.6553 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3369, allocations: 345.9 kB / 0.6557 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002672/0.3396, allocations: 1.071 MB / 0.6567 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/0.3424, allocations: 1.305 MB / 0.658 GB, free: 232 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005502/0.348, allocations: 2.382 MB / 0.6603 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.348, allocations: 8 kB / 0.6603 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008243/0.3562, allocations: 3.277 MB / 0.6635 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.3563, allocations: 10.03 kB / 0.6635 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.3563, allocations: 8 kB / 0.6635 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002771/0.3591, allocations: 0.7871 MB / 0.6643 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.3609, allocations: 415.3 kB / 0.6647 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/0.3752, allocations: 14.7 MB / 0.6791 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/0.3775, allocations: 291.6 kB / 0.6793 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.3776, allocations: 51.97 kB / 0.6794 GB, free: 9.09 MB / 0.5294 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0008065/0.3785, allocations: 390.4 kB / 0.6798 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/0.3787, allocations: 150.2 kB / 0.6799 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008132/0.3869, allocations: 3.206 MB / 0.683 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.3869, allocations: 8 kB / 0.683 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.3869, allocations: 8 kB / 0.683 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.387, allocations: 11.86 kB / 0.6831 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.3976, allocations: 4.893 MB / 0.6878 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.3976, allocations: 3.984 kB / 0.6878 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.3991, allocations: 363.7 kB / 0.6882 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002411/0.4015, allocations: 0.6857 MB / 0.6889 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.4017, allocations: 39.89 kB / 0.6889 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3441/0.7458, allocations: 14.32 MB / 0.7029 GB, free: 105 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.7458, allocations: 2.594 kB / 0.7029 GB, free: 105 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007893/0.7537, allocations: 3.047 MB / 0.7059 GB, free: 104.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008211/0.7546, allocations: 387.4 kB / 0.7062 GB, free: 104.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/0.7548, allocations: 22.83 kB / 0.7062 GB, free: 104.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/0.7564, allocations: 289.8 kB / 0.7065 GB, free: 104.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.7567, allocations: 86.2 kB / 0.7066 GB, free: 104.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.808e-05/0.7568, allocations: 37.61 kB / 0.7066 GB, free: 104.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009707/0.7578, allocations: 0.7424 MB / 0.7074 GB, free: 104.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7578, allocations: 0 / 0.7074 GB, free: 104.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001761/0.7596, allocations: 430.4 kB / 0.7078 GB, free: 104.5 MB / 0.545 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002737/0.7598, allocations: 129.6 kB / 0.7079 GB, free: 104.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008164/0.768, allocations: 3.619 MB / 0.7114 GB, free: 103.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.7681, allocations: 2.969 kB / 0.7114 GB, free: 103.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004847/0.7729, allocations: 2.365 MB / 0.7137 GB, free: 102.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/0.7754, allocations: 496 kB / 0.7142 GB, free: 102.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008525/0.784, allocations: 4.051 MB / 0.7182 GB, free: 101 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/0.7853, allocations: 1.386 MB / 0.7195 GB, free: 100.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001957/0.7873, allocations: 383.3 kB / 0.7199 GB, free: 100.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.7877, allocations: 109.9 kB / 0.72 GB, free: 100.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.093e-06/0.7877, allocations: 0 / 0.72 GB, free: 100.2 MB / 0.545 GB Notification: Performance of Templates: time 0.04409/0.8318, allocations: 29.38 MB / 0.7487 GB, free: 83.38 MB / 0.545 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)