Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [/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.4205/0.4237, allocations: 80.82 MB / 0.5904 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0217/0.4455, allocations: 23.1 MB / 0.613 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.4605, allocations: 6.936 MB / 0.6198 GB, free: 8.695 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00356/0.4641, allocations: 95.56 kB / 0.6199 GB, free: 8.602 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005148/0.4694, allocations: 1.489 MB / 0.6213 GB, free: 7.105 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007216/0.4767, allocations: 1.945 MB / 0.6232 GB, free: 5.152 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005315/0.482, allocations: 1.448 MB / 0.6246 GB, free: 3.711 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01092/0.493, allocations: 6.8 MB / 0.6313 GB, free: 12.9 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01314/0.5062, allocations: 6.994 MB / 0.6381 GB, free: 5.816 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006117/0.5123, allocations: 2.82 MB / 0.6408 GB, free: 2.988 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006935/0.5193, allocations: 3.509 MB / 0.6443 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002768/0.5221, allocations: 0.5273 MB / 0.6448 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004908/0.527, allocations: 1.174 MB / 0.6459 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005229/0.5323, allocations: 2.401 MB / 0.6483 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00968/0.542, allocations: 2.474 MB / 0.6507 GB, free: 8.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.5576, allocations: 8.366 MB / 0.6589 GB, free: 496 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/0.5576, allocations: 7.938 kB / 0.6589 GB, free: 488 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5576, allocations: 0 / 0.6589 GB, free: 488 kB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003598/0.558, allocations: 0 / 0.6589 GB, free: 488 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1044 * Number of variables: 1044 Notification: Performance of Generate backend data structure: time 0.01617/0.5742, allocations: 4.396 MB / 0.6632 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.5743, allocations: 8.031 kB / 0.6632 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.5845, allocations: 1.665 MB / 0.6648 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006732/0.5913, allocations: 2.567 MB / 0.6673 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003689/0.5917, allocations: 275.6 kB / 0.6676 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002022/0.5937, allocations: 356.3 kB / 0.6679 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01908/0.6128, allocations: 7.458 MB / 0.6752 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002056/0.6131, allocations: 15.84 kB / 0.6752 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00159/0.6147, allocations: 155.9 kB / 0.6754 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007255/0.6154, allocations: 487.3 kB / 0.6758 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01304/0.6285, allocations: 5.681 MB / 0.6814 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04019/0.6687, allocations: 25.2 MB / 0.706 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003823/0.6726, allocations: 2.296 MB / 0.7082 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004187/0.6768, allocations: 2.358 MB / 0.7105 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.6771, allocations: 13.31 kB / 0.7105 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/0.6771, allocations: 51.81 kB / 0.7106 GB, free: 10.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=146): time 5.269e-06/0.6771, allocations: 0 / 0.7106 GB, free: 10.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=251): time 0.705/1.382, allocations: 74.69 MB / 0.7835 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/1.382, allocations: 77.41 kB / 0.7836 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/1.384, allocations: 1.67 MB / 0.7852 GB, free: 127 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004087/1.385, allocations: 65.7 kB / 0.7853 GB, free: 127 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009854/1.386, allocations: 1.746 MB / 0.787 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006395/1.386, allocations: 0.8417 MB / 0.7878 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009474/1.387, allocations: 497.2 kB / 0.7883 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.296e-05/1.387, allocations: 301.1 kB / 0.7886 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003181/1.391, allocations: 2.909 MB / 0.7914 GB, free: 120.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003509/1.394, allocations: 3.507 MB / 0.7948 GB, free: 116.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007059/1.401, allocations: 6.799 MB / 0.8015 GB, free: 109.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/1.401, allocations: 7.938 kB / 0.8015 GB, free: 109.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02755/1.429, allocations: 14.68 MB / 0.8158 GB, free: 95.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.429, allocations: 16 kB / 0.8158 GB, free: 95.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/1.429, allocations: 16 kB / 0.8159 GB, free: 95.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02506/1.454, allocations: 8.966 MB / 0.8246 GB, free: 86.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/1.455, allocations: 303.5 kB / 0.8249 GB, free: 85.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07117/1.527, allocations: 55.52 MB / 0.8791 GB, free: 29.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003489/1.53, allocations: 187.8 kB / 0.8793 GB, free: 29.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003896/1.531, allocations: 96 kB / 0.8794 GB, free: 29.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,60.4%), (19,19,58.4%), (12,18,50.0%), (12,18,50.0%), (12,10,53.5%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002974/1.533, allocations: 1.613 MB / 0.881 GB, free: 27.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006503/1.534, allocations: 241.1 kB / 0.8812 GB, free: 27.33 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02814/1.562, allocations: 14.8 MB / 0.8957 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.174e-05/1.562, allocations: 24 kB / 0.8957 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002145/1.563, allocations: 44 kB / 0.8957 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-05/1.563, allocations: 15.95 kB / 0.8957 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04243/1.605, allocations: 21.03 MB / 0.9163 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.475e-05/1.605, allocations: 12.16 kB / 0.9163 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000884/1.606, allocations: 159.8 kB / 0.9164 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03007/1.636, allocations: 8.759 MB / 0.925 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006175/1.637, allocations: 48 kB / 0.925 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08848/1.725, allocations: 54.67 MB / 0.9784 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.026e-05/1.725, allocations: 11.94 kB / 0.9784 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03243/1.758, allocations: 14.37 MB / 0.9925 GB, free: 8.172 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002335/1.76, allocations: 0.904 MB / 0.9934 GB, free: 7.246 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005324/1.761, allocations: 52 kB / 0.9934 GB, free: 7.195 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002091/1.763, allocations: 171.8 kB / 0.9936 GB, free: 7.027 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00158/1.764, allocations: 241.6 kB / 0.9938 GB, free: 6.793 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002454/1.765, allocations: 64 kB / 0.9939 GB, free: 6.73 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001712/1.766, allocations: 1.141 MB / 0.995 GB, free: 5.566 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/1.766, allocations: 3.938 kB / 0.995 GB, free: 5.562 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005663/1.772, allocations: 1.605 MB / 0.9965 GB, free: 3.957 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,52.8%), (12,18,50.0%), (19,19,56.5%), (12,10,53.5%), (12,18,50.0%), (14,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004202/1.773, allocations: 163 kB / 0.9967 GB, free: 3.785 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02591/1.798, allocations: 11.92 MB / 1.008 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/1.799, allocations: 4 kB / 1.008 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01866/1.817, allocations: 7.298 MB / 1.015 GB, free: 472 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3915/2.209, allocations: 0.553 MB / 1.016 GB, free: 237.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02156/2.23, allocations: 9.176 MB / 1.025 GB, free: 234.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004374/2.235, allocations: 3.25 MB / 1.028 GB, free: 234.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001671/2.236, allocations: 415.2 kB / 1.029 GB, free: 234.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/2.237, allocations: 109.5 kB / 1.029 GB, free: 234.1 MB / 0.6856 GB Notification: Performance of SimCode: time 2.345e-06/2.237, allocations: 0 / 1.029 GB, free: 234.1 MB / 0.6856 GB Notification: Performance of Templates: time 0.1486/2.385, allocations: 95.6 MB / 1.122 GB, free: 156 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)