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.2401/0.2421, allocations: 80.83 MB / 0.5899 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.007413/0.2495, allocations: 5.037 MB / 0.5948 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005366/0.2549, allocations: 3.332 MB / 0.5981 GB, free: 14.53 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004126/0.2554, allocations: 15.88 kB / 0.5981 GB, free: 14.51 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.257, allocations: 490.5 kB / 0.5985 GB, free: 14.03 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.2584, allocations: 350.5 kB / 0.5989 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008253/0.2592, allocations: 251 kB / 0.5991 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.2603, allocations: 0.6386 MB / 0.5997 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008611/0.2612, allocations: 0.5833 MB / 0.6003 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000503/0.2617, allocations: 287.1 kB / 0.6006 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005129/0.2622, allocations: 314.9 kB / 0.6009 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.969e-05/0.2623, allocations: 44 kB / 0.6009 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007428/0.263, allocations: 291.5 kB / 0.6012 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.2633, allocations: 167.5 kB / 0.6014 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.2635, allocations: 242.9 kB / 0.6016 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.2647, allocations: 0.8257 MB / 0.6024 GB, free: 10.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2647, allocations: 0 / 0.6024 GB, free: 10.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2647, allocations: 0 / 0.6024 GB, free: 10.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.2647, allocations: 0 / 0.6024 GB, free: 10.07 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.001689/0.2664, allocations: 0.791 MB / 0.6032 GB, free: 9.234 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.2665, allocations: 8.031 kB / 0.6032 GB, free: 9.227 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002706/0.2692, allocations: 0.6672 MB / 0.6038 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007648/0.27, allocations: 447.8 kB / 0.6043 GB, free: 8.086 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.27, allocations: 28.58 kB / 0.6043 GB, free: 8.055 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.207e-05/0.2701, allocations: 24 kB / 0.6043 GB, free: 8.031 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.2718, allocations: 0.8216 MB / 0.6051 GB, free: 7.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.2718, allocations: 3.938 kB / 0.6051 GB, free: 7.176 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-05/0.2719, allocations: 12 kB / 0.6051 GB, free: 7.164 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001756/0.2721, allocations: 64.52 kB / 0.6052 GB, free: 7.102 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.2739, allocations: 0.9038 MB / 0.6061 GB, free: 6.199 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003587/0.2775, allocations: 2.407 MB / 0.6084 GB, free: 3.684 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.2791, allocations: 0.5448 MB / 0.609 GB, free: 3.129 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006873/0.2798, allocations: 304.6 kB / 0.6092 GB, free: 2.828 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.2799, allocations: 89.09 kB / 0.6093 GB, free: 2.723 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.28, allocations: 34.56 kB / 0.6094 GB, free: 2.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 2.154e-06/0.28, allocations: 0 / 0.6094 GB, free: 2.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=32): time 0.01266/0.2926, allocations: 3.428 MB / 0.6127 GB, free: 15.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.2927, allocations: 51.41 kB / 0.6128 GB, free: 15.14 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/0.2933, allocations: 400.4 kB / 0.6131 GB, free: 14.74 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.428e-05/0.2934, allocations: 33.7 kB / 0.6132 GB, free: 14.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.2936, allocations: 227.9 kB / 0.6134 GB, free: 14.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.2938, allocations: 114.4 kB / 0.6135 GB, free: 14.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.294, allocations: 81.59 kB / 0.6136 GB, free: 14.28 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2941, allocations: 346.8 kB / 0.6139 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009005/0.295, allocations: 388.5 kB / 0.6143 GB, free: 13.55 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009946/0.296, allocations: 452.2 kB / 0.6147 GB, free: 13.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.2979, allocations: 0.8205 MB / 0.6155 GB, free: 12.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2979, allocations: 0 / 0.6155 GB, free: 12.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005441/0.3034, allocations: 1.63 MB / 0.6171 GB, free: 10.58 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.3034, allocations: 11.97 kB / 0.6171 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.3035, allocations: 4 kB / 0.6171 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004/0.3075, allocations: 0.884 MB / 0.618 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/0.3081, allocations: 123.8 kB / 0.6181 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009078/0.3172, allocations: 6.658 MB / 0.6246 GB, free: 2.465 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008912/0.3182, allocations: 107.8 kB / 0.6247 GB, free: 2.359 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/0.3182, allocations: 19.98 kB / 0.6247 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001136/0.3194, allocations: 0.5622 MB / 0.6253 GB, free: 1.773 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009599/0.3203, allocations: 456.7 kB / 0.6257 GB, free: 1.297 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001807/0.3222, allocations: 0.8 MB / 0.6265 GB, free: 480 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.3222, allocations: 0 / 0.6265 GB, free: 480 kB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.004961/0.3271, allocations: 1.614 MB / 0.6281 GB, free: 14.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3272, allocations: 9.719 kB / 0.6281 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3272, allocations: 15.8 kB / 0.6281 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002773/0.33, allocations: 0.6433 MB / 0.6287 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.3306, allocations: 135.8 kB / 0.6288 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008003/0.3386, allocations: 7.292 MB / 0.636 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008586/0.3395, allocations: 103.9 kB / 0.6361 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.3396, allocations: 19.98 kB / 0.6361 GB, free: 6.012 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.0002785/0.3399, allocations: 200.5 kB / 0.6363 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.34, allocations: 35.56 kB / 0.6363 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004966/0.345, allocations: 1.528 MB / 0.6378 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.345, allocations: 4 kB / 0.6378 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.345, allocations: 0 / 0.6378 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.345, allocations: 4 kB / 0.6378 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005677/0.3507, allocations: 2.213 MB / 0.64 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3507, allocations: 4 kB / 0.64 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.3511, allocations: 79.89 kB / 0.6401 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003514/0.3547, allocations: 0.814 MB / 0.6408 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/0.3548, allocations: 11.92 kB / 0.6409 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008522/0.3633, allocations: 6.511 MB / 0.6472 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3633, allocations: 32 / 0.6472 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004956/0.3683, allocations: 1.545 MB / 0.6487 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/0.3687, allocations: 168.7 kB / 0.6489 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.118e-05/0.3688, allocations: 8 kB / 0.6489 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006184/0.3694, allocations: 87.8 kB / 0.649 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/0.3697, allocations: 39.95 kB / 0.649 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.3697, allocations: 8.188 kB / 0.649 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004588/0.3702, allocations: 299.1 kB / 0.6493 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3702, allocations: 0 / 0.6493 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001387/0.3716, allocations: 236 kB / 0.6495 GB, free: 7.652 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.000317/0.3719, allocations: 130.1 kB / 0.6497 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00507/0.377, allocations: 2.248 MB / 0.6519 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.3771, allocations: 0 / 0.6519 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001642/0.3787, allocations: 0.8089 MB / 0.6526 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000914/0.3796, allocations: 121.4 kB / 0.6528 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.3828, allocations: 1.353 MB / 0.6541 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007906/0.3836, allocations: 0.9296 MB / 0.655 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007256/0.3843, allocations: 175.1 kB / 0.6552 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.3845, allocations: 35.41 kB / 0.6552 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of SimCode: time 1.453e-06/0.3845, allocations: 0 / 0.6552 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of Templates: time 0.02611/0.4106, allocations: 14.26 MB / 0.6691 GB, free: 3.52 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)