Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [/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.1657/0.1676, allocations: 80.83 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01548/0.1832, allocations: 14.46 MB / 0.6847 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.1977, allocations: 10.57 MB / 0.6951 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.1995, allocations: 55.69 kB / 0.6951 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00417/0.2037, allocations: 1.68 MB / 0.6968 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007106/0.2108, allocations: 1.846 MB / 0.6986 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.2141, allocations: 0.7429 MB / 0.6993 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005421/0.2195, allocations: 2.715 MB / 0.7019 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/0.2217, allocations: 1.407 MB / 0.7033 GB, free: 416 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.2242, allocations: 1.496 MB / 0.7048 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.2261, allocations: 1.167 MB / 0.7059 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.2264, allocations: 160 kB / 0.7061 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.2281, allocations: 0.7799 MB / 0.7068 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006051/0.2287, allocations: 0.592 MB / 0.7074 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.2298, allocations: 0.9249 MB / 0.7083 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003376/0.2331, allocations: 2.726 MB / 0.711 GB, free: 8.539 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2332, allocations: 0 / 0.711 GB, free: 8.539 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.586e-06/0.2332, allocations: 4 kB / 0.711 GB, free: 8.535 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.227e-05/0.2332, allocations: 0 / 0.711 GB, free: 8.535 MB / 0.545 GB 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.004012/0.2372, allocations: 2.143 MB / 0.7131 GB, free: 6.336 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2373, allocations: 8.031 kB / 0.7131 GB, free: 6.328 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/0.2489, allocations: 2.101 MB / 0.7151 GB, free: 4.223 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003632/0.2526, allocations: 1.303 MB / 0.7164 GB, free: 2.863 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.024e-05/0.2527, allocations: 86.17 kB / 0.7165 GB, free: 2.777 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.253, allocations: 115.9 kB / 0.7166 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005862/0.2589, allocations: 2.642 MB / 0.7192 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.62e-05/0.259, allocations: 11.94 kB / 0.7192 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/0.2592, allocations: 47.98 kB / 0.7192 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006828/0.2599, allocations: 190 kB / 0.7194 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007536/0.2674, allocations: 2.775 MB / 0.7221 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.2818, allocations: 8.813 MB / 0.7307 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006576/0.2885, allocations: 2.332 MB / 0.733 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003085/0.2916, allocations: 1.276 MB / 0.7343 GB, free: 208 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.731e-05/0.2917, allocations: 9 kB / 0.7343 GB, free: 200 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.2917, allocations: 51.5 kB / 0.7343 GB, free: 140 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=89): time 3.006e-06/0.2917, allocations: 0 / 0.7343 GB, free: 140 kB / 0.5606 GB Notification: Performance of matching and sorting (n=153): time 0.5315/0.8232, allocations: 16.43 MB / 0.7504 GB, free: 72 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.8233, allocations: 68.17 kB / 0.7504 GB, free: 71.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.8255, allocations: 1.176 MB / 0.7516 GB, free: 71.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003547/0.8258, allocations: 54.11 kB / 0.7516 GB, free: 71.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005975/0.8264, allocations: 0.7293 MB / 0.7523 GB, free: 71.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005747/0.827, allocations: 0.5128 MB / 0.7528 GB, free: 71.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006656/0.8277, allocations: 287.1 kB / 0.7531 GB, free: 71.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.8278, allocations: 306.6 kB / 0.7534 GB, free: 71.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003853/0.8316, allocations: 1.516 MB / 0.7549 GB, free: 70.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004521/0.8362, allocations: 1.784 MB / 0.7566 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009081/0.8453, allocations: 3.376 MB / 0.7599 GB, free: 68.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.065e-05/0.8453, allocations: 5.969 kB / 0.7599 GB, free: 68.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01642/0.8617, allocations: 5.272 MB / 0.7651 GB, free: 66.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.8618, allocations: 13.09 kB / 0.7651 GB, free: 66.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.8619, allocations: 7.125 kB / 0.7651 GB, free: 66.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007305/0.8692, allocations: 1.895 MB / 0.767 GB, free: 66.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/0.8714, allocations: 422.9 kB / 0.7674 GB, free: 66.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02942/0.9008, allocations: 24.19 MB / 0.791 GB, free: 48.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003134/0.904, allocations: 313.1 kB / 0.7913 GB, free: 48.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000301/0.9043, allocations: 67.38 kB / 0.7913 GB, free: 48.37 MB / 0.5762 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (6,14,80.6%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001052/0.9054, allocations: 472.8 kB / 0.7918 GB, free: 48.03 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.9057, allocations: 172.6 kB / 0.792 GB, free: 47.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.9181, allocations: 5.329 MB / 0.7972 GB, free: 44.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.9182, allocations: 11.62 kB / 0.7972 GB, free: 44.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.908e-05/0.9183, allocations: 28.05 kB / 0.7972 GB, free: 44.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.9183, allocations: 3.984 kB / 0.7972 GB, free: 44.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.9337, allocations: 7.429 MB / 0.8045 GB, free: 39.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.9338, allocations: 0 / 0.8045 GB, free: 39.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/0.9354, allocations: 351.4 kB / 0.8048 GB, free: 39.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005323/0.9407, allocations: 1.706 MB / 0.8065 GB, free: 37.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/0.9408, allocations: 39.97 kB / 0.8065 GB, free: 37.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02153/0.9624, allocations: 23.32 MB / 0.8293 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.9624, allocations: 0 / 0.8293 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/0.9736, allocations: 4.895 MB / 0.834 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/0.9748, allocations: 0.4909 MB / 0.8345 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.975, allocations: 24 kB / 0.8346 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/0.9771, allocations: 319.5 kB / 0.8349 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005995/0.9777, allocations: 145 kB / 0.835 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.9778, allocations: 63.91 kB / 0.8351 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008846/0.9787, allocations: 0.7899 MB / 0.8358 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9787, allocations: 7.938 kB / 0.8358 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002233/0.981, allocations: 0.6406 MB / 0.8365 GB, free: 5.902 MB / 0.5762 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002919/0.9813, allocations: 140.8 kB / 0.8366 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01103/0.9923, allocations: 5.194 MB / 0.8417 GB, free: 476 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/0.9924, allocations: 4 kB / 0.8417 GB, free: 472 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00768/1, allocations: 3.361 MB / 0.845 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/1.003, allocations: 0.5712 MB / 0.8455 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009402/1.012, allocations: 4.364 MB / 0.8498 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/1.014, allocations: 1.567 MB / 0.8513 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001441/1.015, allocations: 385.6 kB / 0.8517 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/1.016, allocations: 107.4 kB / 0.8518 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of SimCode: time 9.51e-07/1.016, allocations: 0 / 0.8518 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of Templates: time 0.07865/1.094, allocations: 45.34 MB / 0.8961 GB, free: 9.035 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)