Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") [/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.1846/0.1867, allocations: 80.83 MB / 0.6707 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.468/0.6548, allocations: 36.89 MB / 0.7067 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02729/0.6821, allocations: 13.51 MB / 0.7199 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006411/0.6886, allocations: 170.1 kB / 0.72 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01182/0.7005, allocations: 3.882 MB / 0.7238 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.7123, allocations: 2.687 MB / 0.7264 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009722/0.7221, allocations: 2.678 MB / 0.7291 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02095/0.7431, allocations: 9.347 MB / 0.7382 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01877/0.7619, allocations: 10.46 MB / 0.7484 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009568/0.7715, allocations: 4 MB / 0.7523 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008262/0.7798, allocations: 4.391 MB / 0.7566 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002158/0.782, allocations: 0.7617 MB / 0.7573 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005219/0.7872, allocations: 1.763 MB / 0.7591 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004655/0.7919, allocations: 2.943 MB / 0.7619 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.007309/0.7993, allocations: 3.474 MB / 0.7653 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01993/0.8192, allocations: 11.65 MB / 0.7767 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.8193, allocations: 0 / 0.7767 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8193, allocations: 4 kB / 0.7767 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005248/0.8198, allocations: 0 / 0.7767 GB, free: 8.16 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1364 * Number of variables: 1364 Notification: Performance of Generate backend data structure: time 0.02445/0.8443, allocations: 6.264 MB / 0.7828 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.987e-05/0.8444, allocations: 12.03 kB / 0.7828 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/0.8584, allocations: 1.278 MB / 0.7841 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01141/0.8698, allocations: 3.759 MB / 0.7878 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004072/0.8703, allocations: 378.2 kB / 0.7881 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003035/0.8733, allocations: 0.4923 MB / 0.7886 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02385/0.8972, allocations: 8.792 MB / 0.7972 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003271/0.8976, allocations: 31.77 kB / 0.7972 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001973/0.8996, allocations: 219.9 kB / 0.7974 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002544/0.9021, allocations: 0.6301 MB / 0.798 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01721/0.9194, allocations: 6.951 MB / 0.8048 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05263/0.972, allocations: 29.35 MB / 0.8335 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004524/0.9766, allocations: 2.902 MB / 0.8363 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004044/0.9807, allocations: 2.663 MB / 0.8389 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003179/0.981, allocations: 30.09 kB / 0.839 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.289e-05/0.9811, allocations: 68.66 kB / 0.839 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=265): time 1.264e-05/0.9811, allocations: 3.984 kB / 0.839 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of matching and sorting (n=424): time 0.3097/1.291, allocations: 74.71 MB / 0.912 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.523e-05/1.291, allocations: 98.73 kB / 0.9121 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003685/1.295, allocations: 2.355 MB / 0.9144 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001138/1.296, allocations: 97.7 kB / 0.9145 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001615/1.298, allocations: 2.294 MB / 0.9167 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.002081/1.3, allocations: 1.429 MB / 0.9181 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002076/1.302, allocations: 0.7215 MB / 0.9188 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.302, allocations: 301.1 kB / 0.9191 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004411/1.306, allocations: 3.007 MB / 0.922 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005152/1.311, allocations: 3.867 MB / 0.9258 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/1.322, allocations: 7.399 MB / 0.933 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.88e-05/1.322, allocations: 11.94 kB / 0.933 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03338/1.356, allocations: 12.58 MB / 0.9453 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.194e-05/1.356, allocations: 13 kB / 0.9453 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.907e-05/1.356, allocations: 24 kB / 0.9454 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02479/1.381, allocations: 6.047 MB / 0.9513 GB, free: 2.559 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/1.383, allocations: 487.2 kB / 0.9517 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6269/2.01, allocations: 73.16 MB / 1.023 GB, free: 218.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005377/2.015, allocations: 224 kB / 1.023 GB, free: 218.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009918/2.016, allocations: 150.6 kB / 1.024 GB, free: 218 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (6,14,83.3%), (4,16,100.0%), (6,14,86.1%), (4,16,100.0%), (6,14,83.3%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005983/2.022, allocations: 1.989 MB / 1.025 GB, free: 217.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001341/2.024, allocations: 386.9 kB / 1.026 GB, free: 217.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03193/2.056, allocations: 12.26 MB / 1.038 GB, free: 212.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001158/2.056, allocations: 40.22 kB / 1.038 GB, free: 212.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004383/2.056, allocations: 50.97 kB / 1.038 GB, free: 212.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001423/2.057, allocations: 21.94 kB / 1.038 GB, free: 212.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04914/2.106, allocations: 19.17 MB / 1.057 GB, free: 204.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-05/2.106, allocations: 11.72 kB / 1.057 GB, free: 204.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/2.107, allocations: 286 kB / 1.057 GB, free: 204.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0201/2.128, allocations: 5.577 MB / 1.062 GB, free: 202.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009965/2.129, allocations: 80.23 kB / 1.062 GB, free: 202.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07032/2.199, allocations: 70.61 MB / 1.131 GB, free: 132.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/2.199, allocations: 11.94 kB / 1.131 GB, free: 132.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02957/2.229, allocations: 15.65 MB / 1.147 GB, free: 117.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003225/2.232, allocations: 1.043 MB / 1.148 GB, free: 116 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001137/2.233, allocations: 89.12 kB / 1.148 GB, free: 115.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003517/2.237, allocations: 215.7 kB / 1.148 GB, free: 115.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001993/2.239, allocations: 410.3 kB / 1.148 GB, free: 115.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003311/2.239, allocations: 104 kB / 1.149 GB, free: 115.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002375/2.241, allocations: 1.556 MB / 1.15 GB, free: 113.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/2.241, allocations: 3.75 kB / 1.15 GB, free: 113.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00843/2.25, allocations: 1.801 MB / 1.152 GB, free: 111.8 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001147/2.251, allocations: 218.3 kB / 1.152 GB, free: 111.6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02062/2.272, allocations: 12.34 MB / 1.164 GB, free: 99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.999e-05/2.272, allocations: 0 / 1.164 GB, free: 99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01507/2.287, allocations: 8.367 MB / 1.172 GB, free: 90.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006778/2.294, allocations: 1.199 MB / 1.173 GB, free: 89.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02627/2.32, allocations: 12.5 MB / 1.186 GB, free: 76.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006448/2.326, allocations: 4.084 MB / 1.19 GB, free: 72.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00283/2.329, allocations: 0.6786 MB / 1.19 GB, free: 71.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005319/2.33, allocations: 179.4 kB / 1.19 GB, free: 71.66 MB / 0.7794 GB Notification: Performance of SimCode: time 8.12e-07/2.33, allocations: 0 / 1.19 GB, free: 71.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.6394/2.969, allocations: 110.4 MB / 1.298 GB, free: 232.8 MB / 0.8106 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)