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.2278/0.232, allocations: 80.84 MB / 0.6706 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01885/0.2509, allocations: 14.45 MB / 0.6847 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0183/0.2692, allocations: 10.57 MB / 0.6951 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002353/0.2716, allocations: 59.62 kB / 0.6951 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005188/0.2769, allocations: 1.695 MB / 0.6968 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007383/0.2843, allocations: 1.833 MB / 0.6986 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002719/0.287, allocations: 0.7469 MB / 0.6993 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005611/0.2926, allocations: 2.715 MB / 0.702 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003577/0.2963, allocations: 1.403 MB / 0.7033 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/0.3, allocations: 1.519 MB / 0.7048 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003586/0.3036, allocations: 1.171 MB / 0.7059 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009915/0.3047, allocations: 156 kB / 0.7061 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.3079, allocations: 0.7838 MB / 0.7069 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.3091, allocations: 0.5959 MB / 0.7074 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003241/0.3123, allocations: 0.925 MB / 0.7083 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006083/0.3185, allocations: 2.718 MB / 0.711 GB, free: 8.445 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3185, allocations: 0 / 0.711 GB, free: 8.445 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.275e-06/0.3185, allocations: 0 / 0.711 GB, free: 8.445 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001146/0.3186, allocations: 0 / 0.711 GB, free: 8.445 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.009468/0.3281, allocations: 2.15 MB / 0.7131 GB, free: 6.238 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.3282, allocations: 8.031 kB / 0.7131 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/0.3414, allocations: 2.105 MB / 0.7152 GB, free: 4.121 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004438/0.3459, allocations: 1.303 MB / 0.7164 GB, free: 2.762 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.3461, allocations: 90.16 kB / 0.7165 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006493/0.3467, allocations: 108 kB / 0.7166 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007315/0.3541, allocations: 2.646 MB / 0.7192 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.066e-05/0.3542, allocations: 15.98 kB / 0.7192 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.3543, allocations: 47.98 kB / 0.7193 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006856/0.355, allocations: 190 kB / 0.7195 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008111/0.3632, allocations: 2.771 MB / 0.7222 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01904/0.3822, allocations: 8.813 MB / 0.7308 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007587/0.3899, allocations: 2.332 MB / 0.733 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003572/0.3936, allocations: 1.282 MB / 0.7343 GB, free: 100 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.3937, allocations: 12.98 kB / 0.7343 GB, free: 88 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.58e-05/0.3938, allocations: 47.56 kB / 0.7344 GB, free: 32 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=89): time 3.767e-06/0.3938, allocations: 0 / 0.7344 GB, free: 32 kB / 0.5606 GB Notification: Performance of matching and sorting (n=153): time 0.5488/0.9427, allocations: 16.44 MB / 0.7504 GB, free: 71.83 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.539e-05/0.9427, allocations: 68.62 kB / 0.7505 GB, free: 71.76 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.9447, allocations: 1.173 MB / 0.7516 GB, free: 71.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003621/0.9451, allocations: 51.64 kB / 0.7517 GB, free: 71.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006463/0.9457, allocations: 0.73 MB / 0.7524 GB, free: 71.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006196/0.9463, allocations: 0.5139 MB / 0.7529 GB, free: 71.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006721/0.947, allocations: 286.8 kB / 0.7532 GB, free: 71.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.9471, allocations: 302.7 kB / 0.7534 GB, free: 70.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003941/0.951, allocations: 1.513 MB / 0.7549 GB, free: 70.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004373/0.9554, allocations: 1.79 MB / 0.7567 GB, free: 69.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008496/0.9639, allocations: 3.374 MB / 0.76 GB, free: 68.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.964, allocations: 2.188 kB / 0.76 GB, free: 68.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01516/0.9791, allocations: 5.276 MB / 0.7651 GB, free: 66.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.9792, allocations: 13.59 kB / 0.7651 GB, free: 66.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.9792, allocations: 7.188 kB / 0.7651 GB, free: 66.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007119/0.9864, allocations: 1.891 MB / 0.767 GB, free: 66.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/0.9886, allocations: 423.3 kB / 0.7674 GB, free: 66.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02994/1.019, allocations: 24.2 MB / 0.791 GB, free: 48.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004001/1.023, allocations: 305.6 kB / 0.7913 GB, free: 48.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004902/1.023, allocations: 64.25 kB / 0.7914 GB, free: 48.12 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.001505/1.025, allocations: 464.5 kB / 0.7918 GB, free: 47.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007885/1.025, allocations: 184.6 kB / 0.792 GB, free: 47.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/1.043, allocations: 5.322 MB / 0.7972 GB, free: 44.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/1.043, allocations: 18.38 kB / 0.7972 GB, free: 44.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-05/1.043, allocations: 18.66 kB / 0.7972 GB, free: 44.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/1.043, allocations: 8.875 kB / 0.7972 GB, free: 44.58 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/1.064, allocations: 7.426 MB / 0.8045 GB, free: 39.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/1.064, allocations: 0 / 0.8045 GB, free: 39.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/1.066, allocations: 351.7 kB / 0.8048 GB, free: 39.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007361/1.074, allocations: 1.71 MB / 0.8065 GB, free: 37.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/1.074, allocations: 39.97 kB / 0.8065 GB, free: 37.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02751/1.102, allocations: 23.3 MB / 0.8293 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.102, allocations: 0 / 0.8293 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/1.113, allocations: 4.895 MB / 0.8341 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/1.115, allocations: 0.491 MB / 0.8346 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004844/1.115, allocations: 24 kB / 0.8346 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002374/1.117, allocations: 323.5 kB / 0.8349 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005509/1.118, allocations: 150.1 kB / 0.835 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/1.118, allocations: 55.97 kB / 0.8351 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00116/1.119, allocations: 0.7899 MB / 0.8358 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/1.119, allocations: 0 / 0.8358 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002534/1.122, allocations: 0.6406 MB / 0.8365 GB, free: 5.812 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.0003499/1.122, allocations: 148.8 kB / 0.8366 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01055/1.133, allocations: 5.204 MB / 0.8417 GB, free: 368 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/1.133, allocations: 4.375 kB / 0.8417 GB, free: 364 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007371/1.14, allocations: 3.354 MB / 0.845 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/1.144, allocations: 0.5768 MB / 0.8455 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/1.154, allocations: 4.361 MB / 0.8498 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001945/1.156, allocations: 1.561 MB / 0.8513 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001566/1.158, allocations: 391 kB / 0.8517 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/1.158, allocations: 103.4 kB / 0.8518 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of SimCode: time 1.293e-06/1.158, allocations: 0 / 0.8518 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of Templates: time 0.08468/1.243, allocations: 46.35 MB / 0.8971 GB, free: 7.934 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)