Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.2009/0.2028, allocations: 80.84 MB / 0.5897 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.007011/0.2099, allocations: 5.033 MB / 0.5946 GB, free: 2.027 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004686/0.2146, allocations: 3.367 MB / 0.5979 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.215, allocations: 11.94 kB / 0.5979 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.2165, allocations: 486.4 kB / 0.5984 GB, free: 14.16 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009043/0.2174, allocations: 364.6 kB / 0.5987 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006729/0.2181, allocations: 239.2 kB / 0.5989 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009785/0.219, allocations: 0.8492 MB / 0.5998 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006795/0.2197, allocations: 0.4932 MB / 0.6003 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.2201, allocations: 247.1 kB / 0.6005 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004188/0.2205, allocations: 294.9 kB / 0.6008 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.825e-05/0.2206, allocations: 28 kB / 0.6008 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005737/0.2212, allocations: 323.5 kB / 0.6011 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.2214, allocations: 159.5 kB / 0.6013 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.2216, allocations: 206.9 kB / 0.6015 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007971/0.2224, allocations: 0.8139 MB / 0.6023 GB, free: 10.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2224, allocations: 0 / 0.6023 GB, free: 10.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2224, allocations: 0 / 0.6023 GB, free: 10.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.2224, allocations: 0 / 0.6023 GB, free: 10.18 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.001554/0.224, allocations: 0.7833 MB / 0.603 GB, free: 9.344 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.89e-05/0.2241, allocations: 12.03 kB / 0.603 GB, free: 9.332 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/0.2268, allocations: 0.6633 MB / 0.6037 GB, free: 8.668 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007786/0.2276, allocations: 455.8 kB / 0.6041 GB, free: 8.188 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.2276, allocations: 24.59 kB / 0.6041 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.638e-05/0.2277, allocations: 31.98 kB / 0.6042 GB, free: 8.129 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.2292, allocations: 0.8177 MB / 0.605 GB, free: 7.281 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.2293, allocations: 3.938 kB / 0.605 GB, free: 7.277 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.674e-05/0.2293, allocations: 12 kB / 0.605 GB, free: 7.266 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/0.2295, allocations: 56.59 kB / 0.605 GB, free: 7.211 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.2315, allocations: 0.9038 MB / 0.6059 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004272/0.2358, allocations: 2.411 MB / 0.6083 GB, free: 3.797 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.2374, allocations: 0.5409 MB / 0.6088 GB, free: 3.246 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007032/0.2381, allocations: 300.6 kB / 0.6091 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.2382, allocations: 93.09 kB / 0.6092 GB, free: 2.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.2383, allocations: 38.56 kB / 0.6092 GB, free: 2.793 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 2.043e-06/0.2383, allocations: 0 / 0.6092 GB, free: 2.793 MB / 462.1 MB Notification: Performance of matching and sorting (n=32): time 0.01264/0.2509, allocations: 3.424 MB / 0.6126 GB, free: 15.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.251, allocations: 55.41 kB / 0.6126 GB, free: 15.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.2515, allocations: 400.4 kB / 0.613 GB, free: 14.85 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.725e-05/0.2516, allocations: 29.7 kB / 0.613 GB, free: 14.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.2518, allocations: 231.9 kB / 0.6132 GB, free: 14.58 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.2519, allocations: 102.4 kB / 0.6133 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.2521, allocations: 93.52 kB / 0.6134 GB, free: 14.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2523, allocations: 350.8 kB / 0.6138 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009923/0.2533, allocations: 384.5 kB / 0.6141 GB, free: 13.65 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009321/0.2542, allocations: 452.2 kB / 0.6146 GB, free: 13.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.2561, allocations: 0.8205 MB / 0.6154 GB, free: 12.33 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2562, allocations: 0 / 0.6154 GB, free: 12.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005399/0.2616, allocations: 1.634 MB / 0.617 GB, free: 10.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.2616, allocations: 11.94 kB / 0.617 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.2616, allocations: 0 / 0.617 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004131/0.2658, allocations: 0.8764 MB / 0.6178 GB, free: 9.781 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.2664, allocations: 135.7 kB / 0.618 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008597/0.275, allocations: 6.179 MB / 0.624 GB, free: 3.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007785/0.2758, allocations: 103.8 kB / 0.6241 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.2759, allocations: 15.98 kB / 0.6241 GB, free: 2.953 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00108/0.2769, allocations: 0.5623 MB / 0.6247 GB, free: 2.387 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008691/0.2778, allocations: 452.7 kB / 0.6251 GB, free: 1.914 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001784/0.2796, allocations: 0.8078 MB / 0.6259 GB, free: 1.078 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.2796, allocations: 0 / 0.6259 GB, free: 1.078 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.00459/0.2842, allocations: 1.618 MB / 0.6275 GB, free: 15.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2843, allocations: 4 kB / 0.6275 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2843, allocations: 4 kB / 0.6275 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002763/0.287, allocations: 0.6432 MB / 0.6281 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005813/0.2876, allocations: 127.8 kB / 0.6282 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006832/0.2945, allocations: 6.772 MB / 0.6348 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000845/0.2954, allocations: 107.9 kB / 0.6349 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.2954, allocations: 11.98 kB / 0.6349 GB, free: 7.191 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002664/0.2957, allocations: 208.3 kB / 0.6351 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.2958, allocations: 35.53 kB / 0.6352 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004866/0.3007, allocations: 1.529 MB / 0.6367 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.3007, allocations: 8 kB / 0.6367 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.3007, allocations: 0 / 0.6367 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3007, allocations: 3.984 kB / 0.6367 GB, free: 5.391 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005661/0.3064, allocations: 2.209 MB / 0.6388 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.3064, allocations: 8 kB / 0.6388 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.3068, allocations: 75.84 kB / 0.6389 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003445/0.3103, allocations: 0.8139 MB / 0.6397 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/0.3103, allocations: 8 kB / 0.6397 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007544/0.3179, allocations: 6.024 MB / 0.6456 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3179, allocations: 7.969 kB / 0.6456 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004541/0.3225, allocations: 1.541 MB / 0.6471 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.3228, allocations: 172.7 kB / 0.6473 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.826e-05/0.3229, allocations: 4 kB / 0.6473 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/0.3234, allocations: 83.86 kB / 0.6474 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.3236, allocations: 35.89 kB / 0.6474 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.3237, allocations: 12 kB / 0.6474 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003665/0.324, allocations: 307 kB / 0.6477 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.324, allocations: 4 kB / 0.6477 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001006/0.3251, allocations: 232 kB / 0.6479 GB, free: 9.32 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002162/0.3253, allocations: 119.1 kB / 0.648 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004295/0.3296, allocations: 2.194 MB / 0.6502 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3296, allocations: 4 kB / 0.6502 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.3311, allocations: 0.7934 MB / 0.651 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007208/0.3318, allocations: 134.2 kB / 0.6511 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.3342, allocations: 1.352 MB / 0.6524 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/0.3348, allocations: 0.9297 MB / 0.6533 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006189/0.3354, allocations: 179.1 kB / 0.6535 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.3356, allocations: 31.42 kB / 0.6535 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/0.3356, allocations: 0 / 0.6535 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of Templates: time 0.02199/0.3576, allocations: 13.71 MB / 0.6669 GB, free: 5.793 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)