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.5395/0.5416, allocations: 80.81 MB / 0.5904 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006393/0.5481, allocations: 5.086 MB / 0.5954 GB, free: 17.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004351/0.5524, allocations: 3.804 MB / 0.5991 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.5528, allocations: 14 kB / 0.5991 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.5542, allocations: 0.579 MB / 0.5997 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.5553, allocations: 492.5 kB / 0.6002 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005907/0.5559, allocations: 255 kB / 0.6004 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000748/0.5566, allocations: 0.6893 MB / 0.6011 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005618/0.5572, allocations: 0.5327 MB / 0.6016 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003587/0.5576, allocations: 359.1 kB / 0.6019 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003564/0.5579, allocations: 302.9 kB / 0.6022 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.622e-05/0.558, allocations: 44 kB / 0.6023 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004907/0.5585, allocations: 299.5 kB / 0.6025 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.5587, allocations: 163.6 kB / 0.6027 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.5589, allocations: 246.8 kB / 0.6029 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006938/0.5596, allocations: 0.8102 MB / 0.6037 GB, free: 9.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.5596, allocations: 3.984 kB / 0.6037 GB, free: 9.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5596, allocations: 3.938 kB / 0.6037 GB, free: 9.164 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.5596, allocations: 0 / 0.6037 GB, free: 9.164 MB / 446.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.001199/0.5608, allocations: 0.8064 MB / 0.6045 GB, free: 8.309 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.5608, allocations: 8.031 kB / 0.6045 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/0.5634, allocations: 0.671 MB / 0.6052 GB, free: 7.629 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.564, allocations: 456.4 kB / 0.6056 GB, free: 7.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.564, allocations: 24.59 kB / 0.6056 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.677e-05/0.5641, allocations: 31.98 kB / 0.6057 GB, free: 7.086 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.5654, allocations: 0.8177 MB / 0.6065 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.5655, allocations: 7.938 kB / 0.6065 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.124e-05/0.5655, allocations: 12 kB / 0.6065 GB, free: 6.219 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001577/0.5657, allocations: 64.58 kB / 0.6066 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.5674, allocations: 0.9038 MB / 0.6074 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.5705, allocations: 2.411 MB / 0.6098 GB, free: 2.742 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.572, allocations: 0.5493 MB / 0.6103 GB, free: 2.184 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006523/0.5726, allocations: 300.6 kB / 0.6106 GB, free: 1.887 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.823e-05/0.5727, allocations: 89.09 kB / 0.6107 GB, free: 1.781 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.5728, allocations: 42.5 kB / 0.6107 GB, free: 1.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.944e-06/0.5728, allocations: 0 / 0.6107 GB, free: 1.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.01288/0.5857, allocations: 3.734 MB / 0.6144 GB, free: 13.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.5857, allocations: 55.41 kB / 0.6144 GB, free: 13.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006272/0.5864, allocations: 429.6 kB / 0.6149 GB, free: 13.47 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.967e-05/0.5865, allocations: 37.7 kB / 0.6149 GB, free: 13.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.5867, allocations: 236.2 kB / 0.6151 GB, free: 13.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.5868, allocations: 122.2 kB / 0.6152 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.587, allocations: 86.11 kB / 0.6153 GB, free: 12.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5872, allocations: 350.8 kB / 0.6156 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.5882, allocations: 430.2 kB / 0.6161 GB, free: 12.21 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.5894, allocations: 496.9 kB / 0.6165 GB, free: 11.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/0.5915, allocations: 0.9149 MB / 0.6174 GB, free: 10.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.5915, allocations: 3.938 kB / 0.6174 GB, free: 10.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005655/0.5972, allocations: 1.818 MB / 0.6192 GB, free: 8.918 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.5972, allocations: 7.938 kB / 0.6192 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.5972, allocations: 4 kB / 0.6192 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004185/0.6014, allocations: 0.9731 MB / 0.6202 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/0.602, allocations: 119.8 kB / 0.6203 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.6125, allocations: 6.634 MB / 0.6268 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/0.6134, allocations: 107.9 kB / 0.6269 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/0.6135, allocations: 12 kB / 0.6269 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001255/0.6148, allocations: 0.6138 MB / 0.6275 GB, free: 156 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00101/0.6158, allocations: 488.6 kB / 0.6279 GB, free: 15.64 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001992/0.6178, allocations: 0.886 MB / 0.6288 GB, free: 14.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.757e-06/0.6178, allocations: 4 kB / 0.6288 GB, free: 14.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.004909/0.6227, allocations: 1.598 MB / 0.6304 GB, free: 13.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.6228, allocations: 5.875 kB / 0.6304 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.6228, allocations: 4 kB / 0.6304 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002966/0.6257, allocations: 0.6923 MB / 0.6311 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.6264, allocations: 131.8 kB / 0.6312 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00808/0.6345, allocations: 5.829 MB / 0.6369 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008309/0.6353, allocations: 99.83 kB / 0.637 GB, free: 6.066 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.6354, allocations: 16 kB / 0.637 GB, free: 6.051 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002659/0.6357, allocations: 212.2 kB / 0.6372 GB, free: 5.836 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.6358, allocations: 39.53 kB / 0.6372 GB, free: 5.797 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005259/0.641, allocations: 1.716 MB / 0.6389 GB, free: 4.066 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.6411, allocations: 8 kB / 0.6389 GB, free: 4.059 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.6411, allocations: 4 kB / 0.6389 GB, free: 4.055 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6411, allocations: 0 / 0.6389 GB, free: 4.055 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006105/0.6472, allocations: 2.418 MB / 0.6413 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.6472, allocations: 0 / 0.6413 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.6476, allocations: 79.83 kB / 0.6413 GB, free: 1.492 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003685/0.6513, allocations: 0.895 MB / 0.6422 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.6514, allocations: 11.98 kB / 0.6422 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009191/0.6606, allocations: 6.313 MB / 0.6484 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-05/0.6606, allocations: 15.97 kB / 0.6484 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/0.6656, allocations: 1.676 MB / 0.65 GB, free: 8.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.6659, allocations: 192.5 kB / 0.6502 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.38e-05/0.666, allocations: 12.38 kB / 0.6502 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006181/0.6666, allocations: 83.86 kB / 0.6503 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.6668, allocations: 35.88 kB / 0.6504 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.6669, allocations: 12 kB / 0.6504 GB, free: 7.902 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004313/0.6673, allocations: 323 kB / 0.6507 GB, free: 7.586 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6673, allocations: 3.938 kB / 0.6507 GB, free: 7.582 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00117/0.6685, allocations: 260 kB / 0.6509 GB, free: 7.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,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.0002786/0.6688, allocations: 112.4 kB / 0.651 GB, free: 7.211 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006538/0.6753, allocations: 2.482 MB / 0.6535 GB, free: 4.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6754, allocations: 0 / 0.6535 GB, free: 4.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002532/0.6779, allocations: 0.9579 MB / 0.6544 GB, free: 3.695 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008145/0.6787, allocations: 129.5 kB / 0.6545 GB, free: 3.578 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.6813, allocations: 1.283 MB / 0.6558 GB, free: 2.258 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.6819, allocations: 0.953 MB / 0.6567 GB, free: 1.273 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005258/0.6824, allocations: 159.1 kB / 0.6569 GB, free: 1.117 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.6825, allocations: 39.41 kB / 0.6569 GB, free: 1.078 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.6826, allocations: 0 / 0.6569 GB, free: 1.078 MB / 494.1 MB Notification: Performance of Templates: time 0.02318/0.7057, allocations: 16.08 MB / 0.6726 GB, free: 1.141 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (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)