Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [/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.2054/0.2064, allocations: 82.21 MB / 0.5941 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01542/0.2218, allocations: 13.11 MB / 0.6069 GB, free: 8.375 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01667/0.2386, allocations: 9.491 MB / 0.6162 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.2415, allocations: 51.62 kB / 0.6162 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001868/0.2434, allocations: 269.9 kB / 0.6165 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006941/0.2504, allocations: 1.462 MB / 0.6179 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.2531, allocations: 0.682 MB / 0.6186 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005268/0.2584, allocations: 3.125 MB / 0.6216 GB, free: 9.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004127/0.2625, allocations: 1.965 MB / 0.6236 GB, free: 7.254 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002042/0.2646, allocations: 0.8596 MB / 0.6244 GB, free: 6.391 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002508/0.2671, allocations: 1.07 MB / 0.6254 GB, free: 5.316 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005233/0.2677, allocations: 72 kB / 0.6255 GB, free: 5.246 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.27, allocations: 0.8578 MB / 0.6264 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009557/0.271, allocations: 0.5021 MB / 0.6268 GB, free: 3.883 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00189/0.2729, allocations: 0.8214 MB / 0.6276 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004564/0.2775, allocations: 2.616 MB / 0.6302 GB, free: 436 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2775, allocations: 0 / 0.6302 GB, free: 436 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.2775, allocations: 0 / 0.6302 GB, free: 436 kB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001151/0.2776, allocations: 0 / 0.6302 GB, free: 436 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.005071/0.2827, allocations: 1.8 MB / 0.632 GB, free: 14.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.2828, allocations: 8.031 kB / 0.632 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.2947, allocations: 2.144 MB / 0.6341 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003388/0.2982, allocations: 1.197 MB / 0.6352 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.2983, allocations: 86.22 kB / 0.6353 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000701/0.299, allocations: 112 kB / 0.6354 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007707/0.3068, allocations: 2.673 MB / 0.638 GB, free: 8.141 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.208e-05/0.3069, allocations: 11.92 kB / 0.638 GB, free: 8.129 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003217/0.3072, allocations: 55.98 kB / 0.6381 GB, free: 8.074 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006591/0.3079, allocations: 178.1 kB / 0.6383 GB, free: 7.898 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008411/0.3163, allocations: 2.822 MB / 0.641 GB, free: 5.066 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01725/0.3336, allocations: 8.921 MB / 0.6497 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007227/0.3408, allocations: 2.579 MB / 0.6522 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003329/0.3442, allocations: 1.303 MB / 0.6535 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.977e-05/0.3443, allocations: 9 kB / 0.6535 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.3444, allocations: 47.5 kB / 0.6536 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=89): time 6.412e-06/0.3444, allocations: 0 / 0.6536 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=131): time 0.04713/0.3915, allocations: 13.51 MB / 0.6668 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.3916, allocations: 68.66 kB / 0.6668 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.3937, allocations: 1.117 MB / 0.6679 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.394, allocations: 49.64 kB / 0.668 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006335/0.3946, allocations: 0.7077 MB / 0.6687 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005283/0.3951, allocations: 445.5 kB / 0.6691 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.3954, allocations: 109.7 kB / 0.6692 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3955, allocations: 353.9 kB / 0.6695 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003396/0.399, allocations: 1.362 MB / 0.6709 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003524/0.4025, allocations: 1.628 MB / 0.6725 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007038/0.4095, allocations: 3.037 MB / 0.6754 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.587e-06/0.4096, allocations: 0 / 0.6754 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01165/0.4212, allocations: 4.485 MB / 0.6798 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.4213, allocations: 11.94 kB / 0.6798 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.4213, allocations: 8 kB / 0.6798 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005248/0.4265, allocations: 1.434 MB / 0.6812 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/0.4286, allocations: 443.2 kB / 0.6816 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3939/0.8225, allocations: 24.58 MB / 0.7056 GB, free: 80.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/0.8253, allocations: 317.9 kB / 0.7059 GB, free: 80.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.8254, allocations: 60.89 kB / 0.706 GB, free: 80.76 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008889/0.8263, allocations: 436.8 kB / 0.7064 GB, free: 80.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.8266, allocations: 163.1 kB / 0.7066 GB, free: 80.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/0.8387, allocations: 4.503 MB / 0.711 GB, free: 80.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.8388, allocations: 11.91 kB / 0.711 GB, free: 80.35 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-05/0.8389, allocations: 18.69 kB / 0.711 GB, free: 80.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/0.8389, allocations: 6.234 kB / 0.711 GB, free: 80.35 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/0.8542, allocations: 6.818 MB / 0.7177 GB, free: 77.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.8543, allocations: 2.656 kB / 0.7177 GB, free: 77.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/0.8562, allocations: 386.8 kB / 0.718 GB, free: 77.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005142/0.8613, allocations: 1.304 MB / 0.7193 GB, free: 77.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001624/0.8615, allocations: 40.27 kB / 0.7193 GB, free: 77.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02232/0.8839, allocations: 23.54 MB / 0.7423 GB, free: 56.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.8839, allocations: 11.83 kB / 0.7423 GB, free: 56.69 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.8944, allocations: 4.242 MB / 0.7465 GB, free: 54.26 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.8954, allocations: 458.6 kB / 0.7469 GB, free: 53.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004233/0.8958, allocations: 27.92 kB / 0.747 GB, free: 53.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/0.8982, allocations: 313.7 kB / 0.7473 GB, free: 53.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005535/0.8988, allocations: 127.6 kB / 0.7474 GB, free: 53.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.8989, allocations: 48.38 kB / 0.7474 GB, free: 53.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001082/0.9, allocations: 0.7585 MB / 0.7482 GB, free: 53.24 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9, allocations: 0 / 0.7482 GB, free: 53.24 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002398/0.9024, allocations: 0.5619 MB / 0.7487 GB, free: 53.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003301/0.9028, allocations: 135.2 kB / 0.7488 GB, free: 53.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009917/0.9127, allocations: 5.167 MB / 0.7539 GB, free: 48.92 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.9127, allocations: 8.125 kB / 0.7539 GB, free: 48.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006085/0.9188, allocations: 3.511 MB / 0.7573 GB, free: 45.24 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/0.9222, allocations: 0.5043 MB / 0.7578 GB, free: 44.76 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008446/0.9307, allocations: 4.737 MB / 0.7624 GB, free: 39.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009673/0.9317, allocations: 1.472 MB / 0.7639 GB, free: 38.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001857/0.9335, allocations: 429.6 kB / 0.7643 GB, free: 38.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000388/0.9339, allocations: 119.4 kB / 0.7644 GB, free: 37.94 MB / 0.5294 GB Notification: Performance of SimCode: time 1.683e-06/0.934, allocations: 0 / 0.7644 GB, free: 37.94 MB / 0.5294 GB Notification: Performance of Templates: time 0.05708/0.991, allocations: 36.97 MB / 0.8005 GB, free: 1.391 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: