Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [/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.2037/0.2044, allocations: 82.21 MB / 0.5941 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01601/0.2205, allocations: 13.82 MB / 0.6076 GB, free: 7.684 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0161/0.2366, allocations: 10.45 MB / 0.6178 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.2384, allocations: 47.69 kB / 0.6179 GB, free: 13.15 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.2394, allocations: 302 kB / 0.6182 GB, free: 12.86 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006266/0.2457, allocations: 1.634 MB / 0.6198 GB, free: 11.22 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.2477, allocations: 0.6745 MB / 0.6204 GB, free: 10.55 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004582/0.2523, allocations: 3.37 MB / 0.6237 GB, free: 7.172 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003363/0.2557, allocations: 1.965 MB / 0.6256 GB, free: 5.156 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.2579, allocations: 1.32 MB / 0.6269 GB, free: 3.832 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.2596, allocations: 1.097 MB / 0.628 GB, free: 2.73 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.2598, allocations: 68 kB / 0.628 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.2615, allocations: 0.8539 MB / 0.6289 GB, free: 1.809 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004871/0.262, allocations: 498.2 kB / 0.6294 GB, free: 1.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008538/0.2628, allocations: 0.8407 MB / 0.6302 GB, free: 480 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002762/0.2656, allocations: 2.623 MB / 0.6327 GB, free: 13.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2656, allocations: 0 / 0.6327 GB, free: 13.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2656, allocations: 0 / 0.6327 GB, free: 13.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.247e-05/0.2657, allocations: 4 kB / 0.6327 GB, free: 13.83 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.003243/0.2689, allocations: 1.816 MB / 0.6345 GB, free: 11.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.269, allocations: 11.97 kB / 0.6345 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.2806, allocations: 2.171 MB / 0.6367 GB, free: 9.773 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002787/0.2835, allocations: 1.206 MB / 0.6378 GB, free: 8.512 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.216e-05/0.2835, allocations: 86.17 kB / 0.6379 GB, free: 8.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002603/0.2838, allocations: 115.9 kB / 0.638 GB, free: 8.312 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005804/0.2896, allocations: 2.661 MB / 0.6406 GB, free: 5.504 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.512e-05/0.2897, allocations: 7.938 kB / 0.6406 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.2899, allocations: 59.98 kB / 0.6407 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006448/0.2905, allocations: 186 kB / 0.6409 GB, free: 5.254 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007485/0.298, allocations: 2.822 MB / 0.6436 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/0.313, allocations: 8.926 MB / 0.6523 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006984/0.3201, allocations: 2.383 MB / 0.6547 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/0.3233, allocations: 1.296 MB / 0.6559 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.601e-05/0.3234, allocations: 9 kB / 0.6559 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3234, allocations: 51.55 kB / 0.656 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=89): time 2.585e-06/0.3234, allocations: 0 / 0.656 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=153): time 0.0616/0.385, allocations: 16.49 MB / 0.6721 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.3851, allocations: 68.72 kB / 0.6722 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/0.3873, allocations: 1.172 MB / 0.6733 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000199/0.3875, allocations: 49.7 kB / 0.6733 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005986/0.3881, allocations: 0.732 MB / 0.6741 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000611/0.3887, allocations: 0.5121 MB / 0.6746 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/0.389, allocations: 125.6 kB / 0.6747 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3891, allocations: 305.1 kB / 0.675 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003739/0.3929, allocations: 1.53 MB / 0.6765 GB, free: 348 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003853/0.3967, allocations: 1.803 MB / 0.6782 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00763/0.4044, allocations: 3.412 MB / 0.6816 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.4044, allocations: 4 kB / 0.6816 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0141/0.4185, allocations: 5.324 MB / 0.6868 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/0.4186, allocations: 11.94 kB / 0.6868 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.4186, allocations: 11.94 kB / 0.6868 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0072/0.4258, allocations: 1.893 MB / 0.6886 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/0.4282, allocations: 427.2 kB / 0.689 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3935/0.8216, allocations: 22.24 MB / 0.7108 GB, free: 81.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/0.8248, allocations: 318.9 kB / 0.7111 GB, free: 81.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/0.8251, allocations: 71.25 kB / 0.7111 GB, free: 81.78 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (6,14,80.6%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001015/0.8261, allocations: 459.6 kB / 0.7116 GB, free: 81.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/0.8264, allocations: 175 kB / 0.7117 GB, free: 81.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/0.8422, allocations: 5.371 MB / 0.717 GB, free: 79.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.084e-05/0.8423, allocations: 18.52 kB / 0.717 GB, free: 79.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.127e-05/0.8423, allocations: 22.19 kB / 0.717 GB, free: 79.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/0.8424, allocations: 7.875 kB / 0.717 GB, free: 79.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/0.861, allocations: 7.463 MB / 0.7243 GB, free: 76.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.861, allocations: 3.406 kB / 0.7243 GB, free: 76.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/0.8627, allocations: 367.2 kB / 0.7247 GB, free: 76.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006004/0.8687, allocations: 1.703 MB / 0.7263 GB, free: 75.83 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/0.8689, allocations: 42.5 kB / 0.7264 GB, free: 75.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02188/0.8908, allocations: 21.4 MB / 0.7473 GB, free: 58.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.8908, allocations: 7.969 kB / 0.7473 GB, free: 58.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/0.9024, allocations: 4.925 MB / 0.7521 GB, free: 53.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.9038, allocations: 0.4915 MB / 0.7526 GB, free: 52.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003736/0.9042, allocations: 24 kB / 0.7526 GB, free: 52.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002198/0.9064, allocations: 331.5 kB / 0.7529 GB, free: 52.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006799/0.9071, allocations: 152.9 kB / 0.7531 GB, free: 52.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.9072, allocations: 59.95 kB / 0.7531 GB, free: 52.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001063/0.9083, allocations: 0.786 MB / 0.7539 GB, free: 51.44 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9083, allocations: 0 / 0.7539 GB, free: 51.44 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002465/0.9107, allocations: 0.6503 MB / 0.7545 GB, free: 50.79 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003339/0.9111, allocations: 137.6 kB / 0.7546 GB, free: 50.65 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01096/0.922, allocations: 5.223 MB / 0.7597 GB, free: 45.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.9221, allocations: 4 kB / 0.7597 GB, free: 45.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006737/0.9289, allocations: 3.379 MB / 0.763 GB, free: 41.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/0.933, allocations: 0.5265 MB / 0.7636 GB, free: 41.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008707/0.9417, allocations: 5.094 MB / 0.7685 GB, free: 36.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/0.9432, allocations: 1.564 MB / 0.7701 GB, free: 34.64 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001763/0.945, allocations: 396.3 kB / 0.7704 GB, free: 34.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/0.9454, allocations: 111.4 kB / 0.7705 GB, free: 34.14 MB / 0.5294 GB Notification: Performance of SimCode: time 1.483e-06/0.9454, allocations: 0 / 0.7705 GB, free: 34.14 MB / 0.5294 GB Notification: Performance of Templates: time 0.062/1.007, allocations: 42.4 MB / 0.812 GB, free: 8.199 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) Environment - environmentSimulation: