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.1972/0.1979, allocations: 82.22 MB / 0.5935 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03219/0.2302, allocations: 31.47 MB / 0.6242 GB, free: 6.406 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0181/0.2483, allocations: 10.02 MB / 0.634 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003625/0.252, allocations: 127.3 kB / 0.6341 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.2542, allocations: 0.6821 MB / 0.6348 GB, free: 11.54 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005372/0.2596, allocations: 1.695 MB / 0.6365 GB, free: 9.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00444/0.2641, allocations: 1.151 MB / 0.6376 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01131/0.2754, allocations: 8.702 MB / 0.6461 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0181/0.2935, allocations: 10.39 MB / 0.6562 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005783/0.2994, allocations: 2.412 MB / 0.6586 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007917/0.3073, allocations: 3.158 MB / 0.6617 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001355/0.3087, allocations: 284 kB / 0.6619 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002735/0.3114, allocations: 0.6517 MB / 0.6626 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002505/0.314, allocations: 2.026 MB / 0.6645 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001925/0.3159, allocations: 0.9953 MB / 0.6655 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.326, allocations: 8.47 MB / 0.6738 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.326, allocations: 0 / 0.6738 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3261, allocations: 0 / 0.6738 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003761/0.3264, allocations: 0 / 0.6738 GB, free: 3.465 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: 1274 * Number of variables: 1274 Notification: Performance of Generate backend data structure: time 0.01093/0.3374, allocations: 4.379 MB / 0.6781 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3374, allocations: 8.031 kB / 0.6781 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005781/0.3432, allocations: 0.9344 MB / 0.679 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006692/0.35, allocations: 2.921 MB / 0.6818 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003445/0.3503, allocations: 349.5 kB / 0.6822 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001773/0.3521, allocations: 475.9 kB / 0.6826 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0184/0.3705, allocations: 7.826 MB / 0.6903 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001297/0.3707, allocations: 23.88 kB / 0.6903 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005549/0.3713, allocations: 204 kB / 0.6905 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005188/0.3718, allocations: 365 kB / 0.6908 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4236/0.7954, allocations: 5.877 MB / 0.6966 GB, free: 49.3 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03292/0.8284, allocations: 25.7 MB / 0.7217 GB, free: 38.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00375/0.8322, allocations: 2.137 MB / 0.7238 GB, free: 38.58 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/0.8344, allocations: 1.477 MB / 0.7252 GB, free: 38.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.8346, allocations: 16.53 kB / 0.7252 GB, free: 38.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.471e-05/0.8346, allocations: 61.02 kB / 0.7253 GB, free: 38.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=157): time 5.64e-06/0.8346, allocations: 0 / 0.7253 GB, free: 38.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=160): time 0.01438/0.849, allocations: 7.552 MB / 0.7327 GB, free: 36.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.8491, allocations: 78.34 kB / 0.7327 GB, free: 36.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/0.8516, allocations: 1.841 MB / 0.7345 GB, free: 36.03 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.8517, allocations: 56.3 kB / 0.7346 GB, free: 36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.8528, allocations: 2.106 MB / 0.7366 GB, free: 34.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003547/0.8531, allocations: 0.5512 MB / 0.7372 GB, free: 34.36 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.8532, allocations: 40.88 kB / 0.7372 GB, free: 34.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.8533, allocations: 400.2 kB / 0.7376 GB, free: 34.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.8547, allocations: 1.056 MB / 0.7386 GB, free: 33.86 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.8563, allocations: 1.762 MB / 0.7403 GB, free: 32.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.8578, allocations: 1.353 MB / 0.7417 GB, free: 31.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.8579, allocations: 7.062 kB / 0.7417 GB, free: 31.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00536/0.8632, allocations: 3.91 MB / 0.7455 GB, free: 30.01 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.8633, allocations: 11.91 kB / 0.7455 GB, free: 30.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/0.8633, allocations: 23.81 kB / 0.7455 GB, free: 30.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/0.8654, allocations: 0.9269 MB / 0.7464 GB, free: 29.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.8667, allocations: 429.8 kB / 0.7468 GB, free: 29.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0145/0.8812, allocations: 21.06 MB / 0.7674 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.8834, allocations: 123.9 kB / 0.7675 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004127/0.8839, allocations: 92 kB / 0.7676 GB, free: 9.23 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003339/0.8872, allocations: 1.642 MB / 0.7692 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007329/0.888, allocations: 249.1 kB / 0.7695 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005218/0.8932, allocations: 3.271 MB / 0.7727 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.8932, allocations: 16 kB / 0.7727 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-05/0.8933, allocations: 8 kB / 0.7727 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.8933, allocations: 7.969 kB / 0.7727 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.9078, allocations: 7.587 MB / 0.7801 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.9079, allocations: 7.984 kB / 0.7801 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009577/0.9088, allocations: 218.8 kB / 0.7803 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002356/0.9112, allocations: 0.89 MB / 0.7812 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.9114, allocations: 28 kB / 0.7812 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02243/0.9338, allocations: 21.02 MB / 0.8017 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.9338, allocations: 4 kB / 0.8017 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006286/0.9401, allocations: 3.373 MB / 0.805 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/0.9415, allocations: 0.5293 MB / 0.8055 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006261/0.9421, allocations: 35.98 kB / 0.8056 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.9435, allocations: 93.94 kB / 0.8057 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003738/0.9439, allocations: 140.7 kB / 0.8058 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.944, allocations: 44 kB / 0.8058 GB, free: 448 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002137/0.9462, allocations: 1.205 MB / 0.807 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9462, allocations: 3.656 kB / 0.807 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003495/0.9497, allocations: 0.8784 MB / 0.8079 GB, free: 14.34 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003119/0.95, allocations: 153.4 kB / 0.808 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006779/0.9568, allocations: 4.42 MB / 0.8123 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.9568, allocations: 5 kB / 0.8123 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004189/0.961, allocations: 3.005 MB / 0.8153 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004211/0.9652, allocations: 0.7709 MB / 0.816 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/0.9833, allocations: 9.378 MB / 0.8252 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005091/0.9884, allocations: 3.208 MB / 0.8283 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002766/0.9912, allocations: 0.5449 MB / 0.8289 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006509/0.9919, allocations: 143.4 kB / 0.829 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of SimCode: time 1.453e-06/0.9919, allocations: 0 / 0.829 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of Templates: time 0.07536/1.067, allocations: 39.47 MB / 0.8675 GB, free: 1.734 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: