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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [/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.1982/0.2002, allocations: 80.83 MB / 0.6706 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04251/0.2428, allocations: 34.56 MB / 0.7044 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02054/0.2634, allocations: 10.53 MB / 0.7147 GB, free: 4.719 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004807/0.2683, allocations: 147.2 kB / 0.7148 GB, free: 4.574 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01059/0.279, allocations: 3.802 MB / 0.7185 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008196/0.2872, allocations: 2.13 MB / 0.7206 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006573/0.2938, allocations: 1.948 MB / 0.7225 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.3054, allocations: 7.843 MB / 0.7302 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01763/0.3231, allocations: 9.514 MB / 0.7395 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008319/0.3315, allocations: 3.388 MB / 0.7428 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009024/0.3405, allocations: 3.777 MB / 0.7465 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002852/0.3434, allocations: 0.6758 MB / 0.7471 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004943/0.3484, allocations: 1.44 MB / 0.7485 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.4879/0.8364, allocations: 2.546 MB / 0.751 GB, free: 25.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01126/0.8477, allocations: 3.032 MB / 0.754 GB, free: 24.83 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02161/0.8693, allocations: 10.26 MB / 0.764 GB, free: 23.99 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.8694, allocations: 0.6875 kB / 0.764 GB, free: 23.99 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8694, allocations: 0 / 0.764 GB, free: 23.99 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004237/0.8698, allocations: 1.969 kB / 0.764 GB, free: 23.99 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: 1274 * Number of variables: 1274 Notification: Performance of Generate backend data structure: time 0.02774/0.8976, allocations: 5.362 MB / 0.7692 GB, free: 22.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.8977, allocations: 13.47 kB / 0.7692 GB, free: 22.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009085/0.9068, allocations: 0.9361 MB / 0.7702 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.9183, allocations: 3.173 MB / 0.7733 GB, free: 21.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005523/0.9189, allocations: 354.2 kB / 0.7736 GB, free: 21.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003667/0.9226, allocations: 466.8 kB / 0.774 GB, free: 21.08 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02832/0.951, allocations: 7.865 MB / 0.7817 GB, free: 20.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002173/0.9512, allocations: 25.2 kB / 0.7817 GB, free: 20.01 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001894/0.9531, allocations: 207.4 kB / 0.7819 GB, free: 20.01 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006651/0.9538, allocations: 364.2 kB / 0.7823 GB, free: 20 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.9712, allocations: 5.911 MB / 0.7881 GB, free: 18.56 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04667/1.018, allocations: 25.42 MB / 0.8129 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003757/1.022, allocations: 2.147 MB / 0.815 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/1.024, allocations: 1.487 MB / 0.8164 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/1.024, allocations: 17.06 kB / 0.8164 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/1.024, allocations: 52.72 kB / 0.8165 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=157): time 4.489e-06/1.024, allocations: 0 / 0.8165 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=160): time 0.01594/1.04, allocations: 7.551 MB / 0.8239 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/1.04, allocations: 67.34 kB / 0.8239 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003358/1.043, allocations: 1.863 MB / 0.8258 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001982/1.044, allocations: 57.42 kB / 0.8258 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/1.045, allocations: 2.103 MB / 0.8279 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005789/1.046, allocations: 0.5566 MB / 0.8284 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008158/1.046, allocations: 398.3 kB / 0.8288 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.047, allocations: 309 kB / 0.8291 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/1.048, allocations: 1.066 MB / 0.8301 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/1.051, allocations: 1.766 MB / 0.8318 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/1.055, allocations: 3.068 MB / 0.8348 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-05/1.055, allocations: 4 kB / 0.8348 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00758/1.063, allocations: 3.924 MB / 0.8387 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/1.063, allocations: 18.28 kB / 0.8387 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-05/1.063, allocations: 24.84 kB / 0.8387 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002629/1.065, allocations: 0.9286 MB / 0.8396 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/1.067, allocations: 431 kB / 0.84 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02362/1.091, allocations: 22.76 MB / 0.8623 GB, free: 404 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/1.094, allocations: 124 kB / 0.8624 GB, free: 280 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007017/1.095, allocations: 99.98 kB / 0.8625 GB, free: 180 kB / 0.6231 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005235/1.1, allocations: 1.643 MB / 0.8641 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/1.101, allocations: 249.1 kB / 0.8643 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006955/1.108, allocations: 3.279 MB / 0.8675 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/1.108, allocations: 19.94 kB / 0.8675 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.391e-05/1.108, allocations: 16 kB / 0.8676 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-05/1.108, allocations: 7.969 kB / 0.8676 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02154/1.13, allocations: 7.593 MB / 0.875 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.827e-05/1.13, allocations: 8 kB / 0.875 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/1.132, allocations: 212.4 kB / 0.8752 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003835/1.136, allocations: 0.897 MB / 0.8761 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003541/1.136, allocations: 35.94 kB / 0.8761 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03439/1.17, allocations: 22.71 MB / 0.8983 GB, free: 9.871 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.588e-05/1.17, allocations: 11.84 kB / 0.8983 GB, free: 9.863 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/1.181, allocations: 3.385 MB / 0.9016 GB, free: 6.402 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002806/1.184, allocations: 0.5292 MB / 0.9021 GB, free: 5.852 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009812/1.185, allocations: 32 kB / 0.9021 GB, free: 5.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/1.188, allocations: 99.88 kB / 0.9022 GB, free: 5.723 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007758/1.188, allocations: 139.5 kB / 0.9024 GB, free: 5.594 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000306/1.189, allocations: 44 kB / 0.9024 GB, free: 5.551 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003773/1.192, allocations: 1.225 MB / 0.9036 GB, free: 4.312 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.01e-07/1.192, allocations: 0 / 0.9036 GB, free: 4.312 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006402/1.199, allocations: 0.8789 MB / 0.9045 GB, free: 3.434 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006209/1.2, allocations: 159 kB / 0.9046 GB, free: 3.281 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.212, allocations: 4.441 MB / 0.909 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.829e-05/1.213, allocations: 5 kB / 0.909 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.007372/1.22, allocations: 2.989 MB / 0.9119 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006378/1.226, allocations: 0.831 MB / 0.9127 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/1.246, allocations: 7.725 MB / 0.9202 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005864/1.252, allocations: 3.216 MB / 0.9234 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002393/1.254, allocations: 0.541 MB / 0.9239 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005905/1.255, allocations: 143.4 kB / 0.924 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of SimCode: time 8.21e-07/1.255, allocations: 0 / 0.924 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of Templates: time 0.08346/1.338, allocations: 42.04 MB / 0.9651 GB, free: 5.918 MB / 0.7325 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)