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.2281/0.2303, allocations: 80.84 MB / 0.6706 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01717/0.2476, allocations: 13.72 MB / 0.684 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01635/0.264, allocations: 9.622 MB / 0.6934 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.2662, allocations: 51.69 kB / 0.6935 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004791/0.2711, allocations: 1.664 MB / 0.6951 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006615/0.2777, allocations: 1.576 MB / 0.6966 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.2806, allocations: 0.7478 MB / 0.6974 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004939/0.2856, allocations: 2.478 MB / 0.6998 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002364/0.288, allocations: 1.399 MB / 0.7012 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002232/0.2903, allocations: 1.063 MB / 0.7022 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002576/0.2929, allocations: 1.148 MB / 0.7033 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006965/0.2936, allocations: 160 kB / 0.7035 GB, free: 272 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.296, allocations: 0.7877 MB / 0.7042 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.2971, allocations: 0.6037 MB / 0.7048 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002158/0.2993, allocations: 0.9212 MB / 0.7057 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004192/0.3035, allocations: 2.71 MB / 0.7084 GB, free: 11.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.3036, allocations: 0 / 0.7084 GB, free: 11.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3036, allocations: 0 / 0.7084 GB, free: 11.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.723e-05/0.3036, allocations: 0 / 0.7084 GB, free: 11.23 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.004839/0.3085, allocations: 2.115 MB / 0.7104 GB, free: 9.055 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.3085, allocations: 12.03 kB / 0.7105 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/0.3203, allocations: 2.081 MB / 0.7125 GB, free: 6.957 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/0.3241, allocations: 1.29 MB / 0.7137 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.268e-05/0.3242, allocations: 90.22 kB / 0.7138 GB, free: 5.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002946/0.3245, allocations: 112 kB / 0.7139 GB, free: 5.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006472/0.331, allocations: 2.645 MB / 0.7165 GB, free: 2.617 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.282e-05/0.3311, allocations: 11.91 kB / 0.7165 GB, free: 2.605 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/0.3312, allocations: 51.98 kB / 0.7166 GB, free: 2.555 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006967/0.3319, allocations: 186 kB / 0.7168 GB, free: 2.371 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007814/0.3398, allocations: 2.775 MB / 0.7195 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/0.3555, allocations: 8.811 MB / 0.7281 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007271/0.3628, allocations: 2.521 MB / 0.7305 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003462/0.3663, allocations: 1.288 MB / 0.7318 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.541e-05/0.3664, allocations: 13 kB / 0.7318 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.3664, allocations: 39.56 kB / 0.7318 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=89): time 3.717e-06/0.3665, allocations: 0 / 0.7318 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131): time 0.04906/0.4155, allocations: 13.42 MB / 0.7449 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.4156, allocations: 72.72 kB / 0.745 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.4176, allocations: 1.117 MB / 0.7461 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002998/0.4179, allocations: 45.7 kB / 0.7461 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006525/0.4185, allocations: 0.7 MB / 0.7468 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005924/0.4191, allocations: 453.4 kB / 0.7473 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000566/0.4197, allocations: 255.5 kB / 0.7475 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4199, allocations: 361.9 kB / 0.7479 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003466/0.4234, allocations: 1.343 MB / 0.7492 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4326/0.856, allocations: 1.6 MB / 0.7507 GB, free: 72.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008878/0.865, allocations: 3.001 MB / 0.7537 GB, free: 72.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-05/0.8651, allocations: 5.375 kB / 0.7537 GB, free: 72.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01479/0.8799, allocations: 4.444 MB / 0.758 GB, free: 70.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.88, allocations: 7.812 kB / 0.758 GB, free: 70.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/0.88, allocations: 7.656 kB / 0.758 GB, free: 70.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006308/0.8863, allocations: 1.433 MB / 0.7594 GB, free: 70.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/0.8891, allocations: 438.2 kB / 0.7598 GB, free: 70.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02799/0.9171, allocations: 26.7 MB / 0.7859 GB, free: 48.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/0.9207, allocations: 305.5 kB / 0.7862 GB, free: 48.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003273/0.9211, allocations: 61.75 kB / 0.7863 GB, free: 48.36 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 (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.001362/0.9224, allocations: 437.9 kB / 0.7867 GB, free: 48.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006129/0.9231, allocations: 158.2 kB / 0.7868 GB, free: 48.01 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/0.9371, allocations: 4.464 MB / 0.7912 GB, free: 46.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.27e-05/0.9372, allocations: 13.16 kB / 0.7912 GB, free: 46.04 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001087/0.9373, allocations: 13.38 kB / 0.7912 GB, free: 46.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.252e-05/0.9373, allocations: 5.422 kB / 0.7912 GB, free: 46.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/0.9554, allocations: 6.755 MB / 0.7978 GB, free: 41.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.9554, allocations: 3.938 kB / 0.7978 GB, free: 41.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/0.9572, allocations: 384.4 kB / 0.7982 GB, free: 41.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00433/0.9616, allocations: 1.304 MB / 0.7995 GB, free: 41.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/0.9617, allocations: 43.83 kB / 0.7995 GB, free: 40.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01848/0.9802, allocations: 25.5 MB / 0.8244 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.9803, allocations: 7.938 kB / 0.8244 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.9904, allocations: 4.202 MB / 0.8285 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/0.9918, allocations: 462.9 kB / 0.829 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/0.9921, allocations: 24 kB / 0.829 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/0.9941, allocations: 306.9 kB / 0.8293 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004869/0.9946, allocations: 132.7 kB / 0.8294 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.9947, allocations: 51.91 kB / 0.8294 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009098/0.9956, allocations: 0.7526 MB / 0.8302 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9956, allocations: 0 / 0.8302 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002155/0.9978, allocations: 0.5586 MB / 0.8307 GB, free: 9.957 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 (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.000259/0.9981, allocations: 143.1 kB / 0.8309 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01023/1.008, allocations: 5.14 MB / 0.8359 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.008, allocations: 0 / 0.8359 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006313/1.015, allocations: 3.505 MB / 0.8393 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/1.017, allocations: 0.5517 MB / 0.8398 GB, free: 332 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009086/1.026, allocations: 4.043 MB / 0.8438 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/1.028, allocations: 1.468 MB / 0.8452 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00162/1.029, allocations: 429.6 kB / 0.8456 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004234/1.03, allocations: 115.4 kB / 0.8457 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of SimCode: time 8.22e-07/1.03, allocations: 0 / 0.8457 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of Templates: time 0.06492/1.095, allocations: 40.12 MB / 0.8849 GB, free: 2.469 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (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)