Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [/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.2111/0.2132, allocations: 80.83 MB / 0.5897 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0153/0.2286, allocations: 10.89 MB / 0.6003 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.239, allocations: 6.265 MB / 0.6064 GB, free: 5.879 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.2405, allocations: 43.69 kB / 0.6065 GB, free: 5.836 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003742/0.2442, allocations: 1.607 MB / 0.6081 GB, free: 4.227 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003874/0.2481, allocations: 1.136 MB / 0.6092 GB, free: 3.086 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.2503, allocations: 0.7435 MB / 0.6099 GB, free: 2.348 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003218/0.2536, allocations: 2.825 MB / 0.6126 GB, free: 15.51 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.2556, allocations: 1.301 MB / 0.6139 GB, free: 14.19 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.257, allocations: 0.7429 MB / 0.6146 GB, free: 13.45 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.2587, allocations: 0.9651 MB / 0.6156 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.2589, allocations: 87.94 kB / 0.6157 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.2617, allocations: 1.458 MB / 0.6171 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005299/0.2622, allocations: 498.5 kB / 0.6176 GB, free: 10.44 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007921/0.263, allocations: 0.7263 MB / 0.6183 GB, free: 9.711 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003617/0.2666, allocations: 2.414 MB / 0.6206 GB, free: 7.289 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.2667, allocations: 0 / 0.6206 GB, free: 7.289 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2667, allocations: 0 / 0.6206 GB, free: 7.289 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.517e-05/0.2667, allocations: 0 / 0.6206 GB, free: 7.289 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.003346/0.2701, allocations: 1.852 MB / 0.6224 GB, free: 5.383 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.992e-05/0.2701, allocations: 12.03 kB / 0.6225 GB, free: 5.371 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00446/0.2746, allocations: 0.6543 MB / 0.6231 GB, free: 4.715 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.2762, allocations: 0.9106 MB / 0.624 GB, free: 3.758 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/0.2763, allocations: 94.83 kB / 0.6241 GB, free: 3.664 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.2765, allocations: 136.2 kB / 0.6242 GB, free: 3.531 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003075/0.2796, allocations: 2.182 MB / 0.6263 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/0.2797, allocations: 15.88 kB / 0.6264 GB, free: 1.109 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.2798, allocations: 59.97 kB / 0.6264 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002102/0.28, allocations: 162.2 kB / 0.6266 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002738/0.2828, allocations: 1.855 MB / 0.6284 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/0.2958, allocations: 10.54 MB / 0.6387 GB, free: 4.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004966/0.3009, allocations: 1.984 MB / 0.6406 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009402/0.3018, allocations: 0.6089 MB / 0.6412 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002295/0.3021, allocations: 106.1 kB / 0.6413 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.3021, allocations: 39.56 kB / 0.6413 GB, free: 1.234 MB / 494.1 MB Notification: Performance of pre-optimization done (n=103): time 3.627e-06/0.3021, allocations: 0 / 0.6413 GB, free: 1.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=110): time 0.007178/0.3093, allocations: 3.741 MB / 0.645 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/0.3094, allocations: 64.41 kB / 0.645 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.3108, allocations: 0.9281 MB / 0.646 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.181e-05/0.3109, allocations: 45.7 kB / 0.646 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007887/0.3117, allocations: 0.7159 MB / 0.6467 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.3121, allocations: 378.6 kB / 0.6471 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004725/0.3125, allocations: 291.2 kB / 0.6473 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.3127, allocations: 305.1 kB / 0.6476 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008812/0.3136, allocations: 0.6246 MB / 0.6482 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.3149, allocations: 1.121 MB / 0.6493 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002531/0.3175, allocations: 1.859 MB / 0.6511 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.3175, allocations: 4 kB / 0.6512 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003648/0.3211, allocations: 2.119 MB / 0.6532 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.3212, allocations: 15.94 kB / 0.6532 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.3212, allocations: 16 kB / 0.6533 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008835/0.3221, allocations: 255.3 kB / 0.6535 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.3233, allocations: 375.4 kB / 0.6539 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009709/0.3331, allocations: 10.75 MB / 0.6644 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.3346, allocations: 128.1 kB / 0.6645 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.3348, allocations: 71.98 kB / 0.6645 GB, free: 7.684 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008899/0.3357, allocations: 414 kB / 0.6649 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.3359, allocations: 130.4 kB / 0.6651 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002975/0.3389, allocations: 1.7 MB / 0.6667 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.3389, allocations: 11.94 kB / 0.6667 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3389, allocations: 7.938 kB / 0.6667 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/0.3389, allocations: 11.95 kB / 0.6668 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005449/0.3444, allocations: 3.322 MB / 0.67 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.3444, allocations: 4.688 kB / 0.67 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008635/0.3453, allocations: 227.6 kB / 0.6702 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007338/0.346, allocations: 242.6 kB / 0.6705 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-05/0.3461, allocations: 28 kB / 0.6705 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.3569, allocations: 10.74 MB / 0.681 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/0.3569, allocations: 15.88 kB / 0.681 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/0.36, allocations: 1.819 MB / 0.6828 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00061/0.3606, allocations: 307.4 kB / 0.6831 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.3608, allocations: 31.89 kB / 0.6831 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/0.3614, allocations: 91.88 kB / 0.6832 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/0.3617, allocations: 100.7 kB / 0.6833 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-05/0.3618, allocations: 32 kB / 0.6833 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007976/0.3626, allocations: 0.6177 MB / 0.6839 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3626, allocations: 7.938 kB / 0.6839 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001506/0.3641, allocations: 388 kB / 0.6843 GB, free: 2.055 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000265/0.3643, allocations: 142.9 kB / 0.6844 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003496/0.3679, allocations: 2.504 MB / 0.6869 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.3679, allocations: 4 kB / 0.6869 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002027/0.3699, allocations: 1.634 MB / 0.6885 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.3716, allocations: 336.1 kB / 0.6888 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005061/0.3767, allocations: 3.385 MB / 0.6921 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.3778, allocations: 1.331 MB / 0.6934 GB, free: 8.398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001058/0.3789, allocations: 391.3 kB / 0.6938 GB, free: 8.012 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.3792, allocations: 95.42 kB / 0.6938 GB, free: 7.918 MB / 0.545 GB Notification: Performance of SimCode: time 6.72e-07/0.3792, allocations: 4 kB / 0.6939 GB, free: 7.914 MB / 0.545 GB Notification: Performance of Templates: time 0.3737/0.7529, allocations: 16.41 MB / 0.7099 GB, free: 104.7 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)