Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") [/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.1723/0.1731, allocations: 82.23 MB / 0.5941 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006734/0.1799, allocations: 4.723 MB / 0.5987 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005996/0.186, allocations: 3.756 MB / 0.6024 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003743/0.1864, allocations: 7.938 kB / 0.6024 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000995/0.1874, allocations: 231 kB / 0.6026 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.189, allocations: 418.8 kB / 0.603 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.1901, allocations: 243.5 kB / 0.6033 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001779/0.1918, allocations: 0.8959 MB / 0.6041 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.1935, allocations: 0.833 MB / 0.605 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000537/0.194, allocations: 299 kB / 0.6052 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004546/0.1945, allocations: 271 kB / 0.6055 GB, free: 9.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.1945, allocations: 20 kB / 0.6055 GB, free: 9.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.1952, allocations: 319.4 kB / 0.6058 GB, free: 9.508 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.1954, allocations: 139.5 kB / 0.606 GB, free: 9.371 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000246/0.1956, allocations: 224.6 kB / 0.6062 GB, free: 9.145 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009192/0.1965, allocations: 0.8021 MB / 0.607 GB, free: 8.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1966, allocations: 3.984 kB / 0.607 GB, free: 8.336 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1966, allocations: 0 / 0.607 GB, free: 8.336 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1966, allocations: 0 / 0.607 GB, free: 8.336 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001535/0.1981, allocations: 0.7285 MB / 0.6077 GB, free: 7.559 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1982, allocations: 8.031 kB / 0.6077 GB, free: 7.551 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00294/0.2011, allocations: 0.6789 MB / 0.6083 GB, free: 6.871 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009021/0.202, allocations: 456.4 kB / 0.6088 GB, free: 6.387 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.2021, allocations: 28.58 kB / 0.6088 GB, free: 6.359 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.888e-05/0.2022, allocations: 28 kB / 0.6088 GB, free: 6.332 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.2039, allocations: 0.8216 MB / 0.6096 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.204, allocations: 0 / 0.6096 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/0.204, allocations: 12 kB / 0.6096 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001905/0.2042, allocations: 72.5 kB / 0.6097 GB, free: 5.398 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.2064, allocations: 0.9389 MB / 0.6106 GB, free: 4.457 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003962/0.2104, allocations: 2.418 MB / 0.613 GB, free: 1.945 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.2122, allocations: 0.5722 MB / 0.6135 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008054/0.213, allocations: 312.6 kB / 0.6138 GB, free: 1.055 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.2131, allocations: 85.11 kB / 0.6139 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.2132, allocations: 34.55 kB / 0.614 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 2.786e-06/0.2132, allocations: 0 / 0.614 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.01483/0.228, allocations: 3.891 MB / 0.6178 GB, free: 12.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.2281, allocations: 55.41 kB / 0.6178 GB, free: 12.92 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005347/0.2286, allocations: 421.6 kB / 0.6182 GB, free: 12.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.35e-05/0.2287, allocations: 37.7 kB / 0.6183 GB, free: 12.45 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.2289, allocations: 244.2 kB / 0.6185 GB, free: 12.21 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.2291, allocations: 122.2 kB / 0.6186 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.036e-05/0.2291, allocations: 37.7 kB / 0.6186 GB, free: 12.04 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.2293, allocations: 346.8 kB / 0.619 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.2304, allocations: 436.5 kB / 0.6194 GB, free: 11.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.2315, allocations: 0.5047 MB / 0.6199 GB, free: 10.73 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/0.2335, allocations: 0.9439 MB / 0.6208 GB, free: 9.762 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2336, allocations: 3.938 kB / 0.6208 GB, free: 9.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006089/0.2396, allocations: 1.869 MB / 0.6226 GB, free: 7.875 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.2398, allocations: 147.9 kB / 0.6228 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2399, allocations: 0 / 0.6228 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004744/0.2446, allocations: 1.024 MB / 0.6238 GB, free: 6.668 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006796/0.2453, allocations: 127.8 kB / 0.6239 GB, free: 6.543 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.2556, allocations: 6.179 MB / 0.6299 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000977/0.2566, allocations: 111.9 kB / 0.63 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.2568, allocations: 16.08 kB / 0.63 GB, free: 15.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2568, allocations: 7.938 kB / 0.6301 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005249/0.2621, allocations: 1.59 MB / 0.6316 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.2621, allocations: 7.938 kB / 0.6316 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003252/0.2654, allocations: 0.743 MB / 0.6323 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/0.266, allocations: 135.8 kB / 0.6325 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008204/0.2743, allocations: 5.437 MB / 0.6378 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009245/0.2752, allocations: 111.8 kB / 0.6379 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.78e-05/0.2754, allocations: 19.97 kB / 0.6379 GB, free: 7.641 MB / 494.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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005014/0.2759, allocations: 344.5 kB / 0.6382 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.276, allocations: 39.53 kB / 0.6383 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005711/0.2817, allocations: 1.778 MB / 0.64 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.2818, allocations: 15.97 kB / 0.64 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2818, allocations: 0 / 0.64 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.2818, allocations: 288 / 0.64 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006722/0.2885, allocations: 2.48 MB / 0.6424 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.2886, allocations: 0 / 0.6424 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.289, allocations: 91.77 kB / 0.6425 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004165/0.2932, allocations: 0.938 MB / 0.6434 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.2934, allocations: 8 kB / 0.6435 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009164/0.3025, allocations: 5.863 MB / 0.6492 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3026, allocations: 0 / 0.6492 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005417/0.308, allocations: 1.731 MB / 0.6509 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.3084, allocations: 192.5 kB / 0.6511 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.3085, allocations: 7.938 kB / 0.6511 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006922/0.3092, allocations: 95.86 kB / 0.6512 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.3094, allocations: 39.95 kB / 0.6512 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.3095, allocations: 19.92 kB / 0.6512 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004304/0.3099, allocations: 315.1 kB / 0.6515 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3099, allocations: 0 / 0.6515 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001172/0.3111, allocations: 252 kB / 0.6518 GB, free: 9.039 MB / 0.4981 GB 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002317/0.3113, allocations: 111.2 kB / 0.6519 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006687/0.318, allocations: 2.509 MB / 0.6543 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3181, allocations: 4.125 kB / 0.6543 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002642/0.3207, allocations: 0.9691 MB / 0.6553 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009671/0.3217, allocations: 114.1 kB / 0.6554 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.3244, allocations: 1.502 MB / 0.6568 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006838/0.3251, allocations: 0.9529 MB / 0.6578 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005884/0.3257, allocations: 155.2 kB / 0.6579 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.3259, allocations: 31.42 kB / 0.6579 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.3259, allocations: 0 / 0.6579 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of Templates: time 0.02554/0.3514, allocations: 15.38 MB / 0.673 GB, free: 3.297 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) Environment - environmentSimulation: