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.1706/0.1726, allocations: 80.84 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03964/0.2123, allocations: 34.56 MB / 0.7044 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0182/0.2306, allocations: 10.53 MB / 0.7147 GB, free: 4.785 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003693/0.2343, allocations: 143.3 kB / 0.7148 GB, free: 4.645 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.009976/0.2443, allocations: 3.8 MB / 0.7185 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00697/0.2513, allocations: 2.146 MB / 0.7206 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00587/0.2572, allocations: 1.94 MB / 0.7225 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01129/0.2685, allocations: 7.839 MB / 0.7302 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.017/0.2856, allocations: 9.514 MB / 0.7395 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006273/0.2919, allocations: 3.342 MB / 0.7427 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006614/0.2986, allocations: 3.773 MB / 0.7464 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002391/0.301, allocations: 0.6719 MB / 0.7471 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00463/0.3056, allocations: 1.436 MB / 0.7485 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.506/0.8117, allocations: 2.55 MB / 0.751 GB, free: 25.47 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01104/0.8228, allocations: 3.036 MB / 0.7539 GB, free: 25.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02195/0.8448, allocations: 10.26 MB / 0.7639 GB, free: 24.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.8449, allocations: 1.531 kB / 0.7639 GB, free: 24.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8449, allocations: 0 / 0.7639 GB, free: 24.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000578/0.8455, allocations: 0 / 0.7639 GB, free: 24.39 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.03013/0.8756, allocations: 5.36 MB / 0.7692 GB, free: 22.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.8757, allocations: 10.62 kB / 0.7692 GB, free: 22.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009434/0.8851, allocations: 0.9425 MB / 0.7701 GB, free: 22.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.8973, allocations: 3.166 MB / 0.7732 GB, free: 21.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005894/0.8979, allocations: 353.3 kB / 0.7735 GB, free: 21.49 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003955/0.9019, allocations: 472.2 kB / 0.774 GB, free: 21.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02894/0.9308, allocations: 7.862 MB / 0.7817 GB, free: 20.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003341/0.9312, allocations: 28.52 kB / 0.7817 GB, free: 20.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003439/0.9347, allocations: 206.3 kB / 0.7819 GB, free: 20.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007291/0.9354, allocations: 364.7 kB / 0.7822 GB, free: 20.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01792/0.9533, allocations: 5.911 MB / 0.788 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04384/0.9972, allocations: 25.43 MB / 0.8128 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/1.001, allocations: 2.144 MB / 0.8149 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/1.003, allocations: 1.482 MB / 0.8164 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.72e-05/1.003, allocations: 16.38 kB / 0.8164 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.514e-05/1.003, allocations: 51.56 kB / 0.8164 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=157): time 3.947e-06/1.003, allocations: 0 / 0.8164 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=160): time 0.0163/1.019, allocations: 7.552 MB / 0.8238 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/1.02, allocations: 67.62 kB / 0.8239 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/1.022, allocations: 1.864 MB / 0.8257 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003966/1.023, allocations: 55.33 kB / 0.8258 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001421/1.024, allocations: 2.105 MB / 0.8278 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006432/1.025, allocations: 0.5579 MB / 0.8284 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006175/1.025, allocations: 399.7 kB / 0.8287 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.818e-05/1.026, allocations: 309 kB / 0.829 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/1.027, allocations: 1.068 MB / 0.8301 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/1.029, allocations: 1.762 MB / 0.8318 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003795/1.033, allocations: 3.068 MB / 0.8348 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/1.033, allocations: 5.781 kB / 0.8348 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006899/1.04, allocations: 3.928 MB / 0.8386 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/1.04, allocations: 12 kB / 0.8386 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/1.04, allocations: 28.81 kB / 0.8387 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002491/1.043, allocations: 0.931 MB / 0.8396 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/1.044, allocations: 431.7 kB / 0.84 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02094/1.065, allocations: 22.76 MB / 0.8622 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003456/1.069, allocations: 131.5 kB / 0.8623 GB, free: 436 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004162/1.069, allocations: 96 kB / 0.8624 GB, free: 340 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.004655/1.074, allocations: 1.644 MB / 0.864 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007537/1.074, allocations: 249.1 kB / 0.8643 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005894/1.08, allocations: 3.276 MB / 0.8675 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/1.08, allocations: 15.94 kB / 0.8675 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/1.08, allocations: 16 kB / 0.8675 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/1.08, allocations: 11.97 kB / 0.8675 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/1.096, allocations: 7.591 MB / 0.8749 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/1.096, allocations: 7.984 kB / 0.8749 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009873/1.097, allocations: 215.1 kB / 0.8751 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002432/1.099, allocations: 0.8895 MB / 0.876 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/1.099, allocations: 39.94 kB / 0.8761 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02056/1.12, allocations: 22.71 MB / 0.8982 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/1.12, allocations: 11.38 kB / 0.8982 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00623/1.126, allocations: 3.39 MB / 0.9015 GB, free: 6.551 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/1.128, allocations: 0.5253 MB / 0.9021 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006896/1.129, allocations: 35.98 kB / 0.9021 GB, free: 5.969 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.13, allocations: 91.89 kB / 0.9022 GB, free: 5.879 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004387/1.131, allocations: 143.5 kB / 0.9023 GB, free: 5.746 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/1.131, allocations: 40 kB / 0.9024 GB, free: 5.707 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002169/1.133, allocations: 1.225 MB / 0.9036 GB, free: 4.469 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.41e-07/1.133, allocations: 0 / 0.9036 GB, free: 4.469 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005861/1.139, allocations: 0.8828 MB / 0.9044 GB, free: 3.586 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.0005347/1.14, allocations: 157.1 kB / 0.9046 GB, free: 3.434 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007777/1.147, allocations: 4.437 MB / 0.9089 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/1.147, allocations: 7.844 kB / 0.9089 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004643/1.152, allocations: 3 MB / 0.9118 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004874/1.157, allocations: 0.8291 MB / 0.9126 GB, free: 11 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/1.175, allocations: 7.713 MB / 0.9202 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005152/1.18, allocations: 3.216 MB / 0.9233 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002508/1.182, allocations: 0.5371 MB / 0.9238 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/1.183, allocations: 151.4 kB / 0.924 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of SimCode: time 1.713e-06/1.183, allocations: 0 / 0.924 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of Templates: time 0.08036/1.263, allocations: 41.36 MB / 0.9644 GB, free: 6.652 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)