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.1953/0.1961, allocations: 82.22 MB / 0.5934 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03548/0.2316, allocations: 32.07 MB / 0.6247 GB, free: 5.84 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02021/0.2519, allocations: 12.89 MB / 0.6373 GB, free: 8.914 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0041/0.256, allocations: 135.1 kB / 0.6374 GB, free: 8.781 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00262/0.2587, allocations: 0.7375 MB / 0.6381 GB, free: 8.039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009094/0.2678, allocations: 1.908 MB / 0.64 GB, free: 6.125 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006816/0.2747, allocations: 1.634 MB / 0.6416 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01104/0.2857, allocations: 4.657 MB / 0.6461 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01831/0.3041, allocations: 11.4 MB / 0.6573 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005411/0.3095, allocations: 2.573 MB / 0.6598 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005477/0.315, allocations: 2.678 MB / 0.6624 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001308/0.3164, allocations: 312 kB / 0.6627 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.3189, allocations: 0.6517 MB / 0.6633 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002918/0.3219, allocations: 2.175 MB / 0.6655 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002133/0.324, allocations: 1.132 MB / 0.6666 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.3355, allocations: 9.444 MB / 0.6758 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3355, allocations: 0 / 0.6758 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3355, allocations: 3.938 kB / 0.6758 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003379/0.3359, allocations: 0 / 0.6758 GB, free: 1.332 MB / 0.5137 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.01365/0.3495, allocations: 5.095 MB / 0.6808 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3496, allocations: 8.031 kB / 0.6808 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008397/0.358, allocations: 1.254 MB / 0.682 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008163/0.3662, allocations: 3.46 MB / 0.6854 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003361/0.3666, allocations: 373.9 kB / 0.6857 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001582/0.3681, allocations: 491.9 kB / 0.6862 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3529/0.7211, allocations: 8.708 MB / 0.6947 GB, free: 82.74 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002054/0.7213, allocations: 28.38 kB / 0.6947 GB, free: 82.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006634/0.722, allocations: 215.5 kB / 0.6949 GB, free: 82.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00232/0.7243, allocations: 0.6328 MB / 0.6956 GB, free: 82.72 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0162/0.7405, allocations: 6.91 MB / 0.7023 GB, free: 82.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05376/0.7943, allocations: 29.72 MB / 0.7313 GB, free: 61.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/0.798, allocations: 2.881 MB / 0.7341 GB, free: 59.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.7982, allocations: 25.75 kB / 0.7342 GB, free: 59.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/0.7982, allocations: 68.45 kB / 0.7342 GB, free: 59.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=265): time 5.069e-06/0.7982, allocations: 0 / 0.7342 GB, free: 59.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=424): time 0.2721/1.07, allocations: 77.43 MB / 0.8099 GB, free: 4.176 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.299e-05/1.07, allocations: 94.73 kB / 0.8099 GB, free: 4.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003385/1.074, allocations: 2.328 MB / 0.8122 GB, free: 1.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000724/1.075, allocations: 97.7 kB / 0.8123 GB, free: 1.629 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001557/1.076, allocations: 2.295 MB / 0.8145 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001733/1.078, allocations: 1.435 MB / 0.816 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005109/1.078, allocations: 88.5 kB / 0.816 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002835/1.079, allocations: 483.3 kB / 0.8165 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004485/1.083, allocations: 2.987 MB / 0.8194 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005127/1.088, allocations: 3.824 MB / 0.8231 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005164/1.094, allocations: 3.568 MB / 0.8266 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-05/1.094, allocations: 4 kB / 0.8266 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02898/1.123, allocations: 12.51 MB / 0.8389 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/1.123, allocations: 16 kB / 0.8389 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/1.123, allocations: 24.12 kB / 0.8389 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02243/1.145, allocations: 6.044 MB / 0.8448 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/1.147, allocations: 491.2 kB / 0.8453 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07992/1.227, allocations: 69.49 MB / 0.9131 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003689/1.231, allocations: 219.2 kB / 0.9133 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004184/1.231, allocations: 156 kB / 0.9135 GB, free: 6.359 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(6,86.1%) 14,(4,100.0%) 16,(6,83.3%) 14,(4,100.0%) 16,(6,83.3%) 14,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003382/1.235, allocations: 1.988 MB / 0.9154 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009329/1.236, allocations: 391.3 kB / 0.9158 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02669/1.262, allocations: 12.21 MB / 0.9277 GB, free: 7.652 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.36e-05/1.262, allocations: 44 kB / 0.9278 GB, free: 7.609 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001258/1.263, allocations: 48 kB / 0.9278 GB, free: 7.562 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.457e-05/1.263, allocations: 19.92 kB / 0.9278 GB, free: 7.543 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03932/1.302, allocations: 19.15 MB / 0.9465 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/1.302, allocations: 4.938 kB / 0.9465 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/1.304, allocations: 287.6 kB / 0.9468 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3299/1.633, allocations: 5.566 MB / 0.9523 GB, free: 218.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009092/1.634, allocations: 85.78 kB / 0.9523 GB, free: 218.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07125/1.706, allocations: 66.89 MB / 1.018 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.706, allocations: 14.22 kB / 1.018 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02753/1.733, allocations: 16.25 MB / 1.034 GB, free: 170.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002691/1.736, allocations: 1.047 MB / 1.035 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006776/1.737, allocations: 83.75 kB / 1.035 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/1.739, allocations: 222.1 kB / 1.035 GB, free: 169.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001349/1.74, allocations: 397.5 kB / 1.035 GB, free: 169.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/1.741, allocations: 112 kB / 1.035 GB, free: 169.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001766/1.742, allocations: 1.534 MB / 1.037 GB, free: 168 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.2e-07/1.743, allocations: 3.938 kB / 1.037 GB, free: 168 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00519/1.748, allocations: 1.797 MB / 1.039 GB, free: 166.2 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004964/1.748, allocations: 222.4 kB / 1.039 GB, free: 165.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01759/1.766, allocations: 12.33 MB / 1.051 GB, free: 154.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/1.766, allocations: 4 kB / 1.051 GB, free: 154.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01292/1.779, allocations: 8.385 MB / 1.059 GB, free: 145.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004887/1.784, allocations: 1.034 MB / 1.06 GB, free: 144.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/1.805, allocations: 14.54 MB / 1.074 GB, free: 130.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004859/1.81, allocations: 4.185 MB / 1.078 GB, free: 126 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002613/1.812, allocations: 0.6864 MB / 1.079 GB, free: 125.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004503/1.813, allocations: 179.4 kB / 1.079 GB, free: 125.1 MB / 0.6856 GB Notification: Performance of SimCode: time 8.12e-07/1.813, allocations: 4 kB / 1.079 GB, free: 125.1 MB / 0.6856 GB Notification: Performance of Templates: time 0.1362/1.949, allocations: 102.2 MB / 1.179 GB, free: 23.54 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: