Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [/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.1777/0.1795, allocations: 80.82 MB / 0.5897 GB, free: 7.082 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006146/0.1857, allocations: 4.355 MB / 0.5939 GB, free: 2.695 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004567/0.1904, allocations: 3.269 MB / 0.5971 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.1907, allocations: 15.88 kB / 0.5971 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.1921, allocations: 490.2 kB / 0.5976 GB, free: 14.92 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007844/0.1929, allocations: 354.5 kB / 0.598 GB, free: 14.57 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.1935, allocations: 235.5 kB / 0.5982 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007635/0.1943, allocations: 0.7751 MB / 0.5989 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006808/0.1949, allocations: 0.5004 MB / 0.5994 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003704/0.1953, allocations: 231.2 kB / 0.5996 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003658/0.1957, allocations: 283 kB / 0.5999 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.328e-05/0.1958, allocations: 24 kB / 0.5999 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005197/0.1963, allocations: 327.4 kB / 0.6002 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.1965, allocations: 139.6 kB / 0.6004 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.1966, allocations: 210.9 kB / 0.6006 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006734/0.1973, allocations: 0.7555 MB / 0.6013 GB, free: 11.12 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1973, allocations: 7.984 kB / 0.6013 GB, free: 11.11 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1974, allocations: 0 / 0.6013 GB, free: 11.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1974, allocations: 0 / 0.6013 GB, free: 11.11 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001267/0.1986, allocations: 0.7598 MB / 0.6021 GB, free: 10.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1987, allocations: 8.031 kB / 0.6021 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002559/0.2012, allocations: 0.6594 MB / 0.6027 GB, free: 9.633 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006096/0.2019, allocations: 431.8 kB / 0.6031 GB, free: 9.176 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.2019, allocations: 28.59 kB / 0.6032 GB, free: 9.145 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/0.202, allocations: 28 kB / 0.6032 GB, free: 9.117 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.2034, allocations: 0.7669 MB / 0.6039 GB, free: 8.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.2034, allocations: 0 / 0.6039 GB, free: 8.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.194e-05/0.2035, allocations: 19.94 kB / 0.604 GB, free: 8.301 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.2036, allocations: 40.61 kB / 0.604 GB, free: 8.262 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.2054, allocations: 0.853 MB / 0.6048 GB, free: 7.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.2088, allocations: 2.417 MB / 0.6072 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.2103, allocations: 0.5019 MB / 0.6077 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006239/0.211, allocations: 256.9 kB / 0.6079 GB, free: 4.102 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.2111, allocations: 93.09 kB / 0.608 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.2111, allocations: 34.5 kB / 0.608 GB, free: 3.949 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 2.013e-06/0.2111, allocations: 0 / 0.608 GB, free: 3.949 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.01037/0.2215, allocations: 2.935 MB / 0.6109 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.2216, allocations: 55.41 kB / 0.611 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.2221, allocations: 397.6 kB / 0.6113 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.2221, allocations: 33.7 kB / 0.6114 GB, free: 488 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.2224, allocations: 239.7 kB / 0.6116 GB, free: 244 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.355e-05/0.2224, allocations: 74.92 kB / 0.6117 GB, free: 168 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.2226, allocations: 73.58 kB / 0.6117 GB, free: 88 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2228, allocations: 350.8 kB / 0.6121 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007971/0.2236, allocations: 344.5 kB / 0.6124 GB, free: 15.39 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008242/0.2244, allocations: 420.5 kB / 0.6128 GB, free: 14.95 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.226, allocations: 0.7519 MB / 0.6135 GB, free: 14.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.226, allocations: 0 / 0.6135 GB, free: 14.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004591/0.2306, allocations: 1.475 MB / 0.615 GB, free: 12.69 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.2306, allocations: 8 kB / 0.615 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2307, allocations: 3.938 kB / 0.615 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003449/0.2341, allocations: 0.7702 MB / 0.6157 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.2347, allocations: 123.8 kB / 0.6159 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006272/0.241, allocations: 4.506 MB / 0.6203 GB, free: 7.004 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007774/0.2418, allocations: 107.8 kB / 0.6204 GB, free: 6.898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.2419, allocations: 19.92 kB / 0.6204 GB, free: 6.879 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001042/0.2429, allocations: 0.528 MB / 0.6209 GB, free: 6.348 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008045/0.2437, allocations: 405.3 kB / 0.6213 GB, free: 5.922 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001535/0.2453, allocations: 0.718 MB / 0.622 GB, free: 5.176 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-06/0.2453, allocations: 4 kB / 0.622 GB, free: 5.172 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.003916/0.2492, allocations: 1.254 MB / 0.6232 GB, free: 3.906 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2492, allocations: 4 kB / 0.6232 GB, free: 3.902 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2493, allocations: 4 kB / 0.6232 GB, free: 3.898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00219/0.2514, allocations: 0.4925 MB / 0.6237 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.2521, allocations: 135.8 kB / 0.6238 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003303/0.2554, allocations: 2.416 MB / 0.6262 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007138/0.2561, allocations: 103.9 kB / 0.6263 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.2562, allocations: 19.94 kB / 0.6263 GB, free: 0.6016 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001932/0.2563, allocations: 204.2 kB / 0.6265 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/0.2564, allocations: 31.62 kB / 0.6265 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004272/0.2607, allocations: 1.346 MB / 0.6279 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.2607, allocations: 3.938 kB / 0.6279 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2608, allocations: 11.94 kB / 0.6279 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2608, allocations: 0 / 0.6279 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00493/0.2657, allocations: 2 MB / 0.6298 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.2658, allocations: 0 / 0.6298 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.2661, allocations: 75.84 kB / 0.6299 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002953/0.2691, allocations: 0.7195 MB / 0.6306 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.2691, allocations: 4 kB / 0.6306 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005281/0.2744, allocations: 4.329 MB / 0.6348 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2745, allocations: 0 / 0.6348 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004087/0.2786, allocations: 1.362 MB / 0.6362 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.2788, allocations: 164.6 kB / 0.6363 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.839e-05/0.2789, allocations: 4 kB / 0.6363 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005475/0.2795, allocations: 91.84 kB / 0.6364 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.2796, allocations: 27.97 kB / 0.6364 GB, free: 5.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.2797, allocations: 4 kB / 0.6364 GB, free: 5.812 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003282/0.28, allocations: 303.1 kB / 0.6367 GB, free: 5.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.28, allocations: 0 / 0.6367 GB, free: 5.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007804/0.2808, allocations: 196 kB / 0.6369 GB, free: 5.328 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001742/0.281, allocations: 107.2 kB / 0.637 GB, free: 5.211 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003726/0.2847, allocations: 1.543 MB / 0.6385 GB, free: 3.629 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.2847, allocations: 4 kB / 0.6385 GB, free: 3.625 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001722/0.2865, allocations: 0.6223 MB / 0.6391 GB, free: 2.977 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.2876, allocations: 113.8 kB / 0.6392 GB, free: 2.867 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.2907, allocations: 1.238 MB / 0.6405 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/0.2914, allocations: 0.9132 MB / 0.6413 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009244/0.2923, allocations: 163.1 kB / 0.6415 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.2925, allocations: 35.41 kB / 0.6415 GB, free: 480 kB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/0.2925, allocations: 3.938 kB / 0.6415 GB, free: 476 kB / 494.1 MB Notification: Performance of Templates: time 0.02555/0.3181, allocations: 11.63 MB / 0.6529 GB, free: 4.902 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)