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.2067/0.209, allocations: 80.84 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0179/0.2269, allocations: 13.72 MB / 0.684 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01651/0.2436, allocations: 9.618 MB / 0.6934 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/0.2459, allocations: 59.62 kB / 0.6935 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005423/0.2514, allocations: 1.652 MB / 0.6951 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006895/0.2583, allocations: 1.614 MB / 0.6967 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003594/0.2619, allocations: 0.7588 MB / 0.6974 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005124/0.2671, allocations: 2.478 MB / 0.6998 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002921/0.27, allocations: 1.403 MB / 0.7012 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/0.2725, allocations: 1.059 MB / 0.7022 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002655/0.2752, allocations: 1.148 MB / 0.7034 GB, free: 352 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007539/0.2759, allocations: 160 kB / 0.7035 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.2785, allocations: 0.7916 MB / 0.7043 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.28, allocations: 0.6076 MB / 0.7049 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002917/0.2829, allocations: 0.9173 MB / 0.7058 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005436/0.2883, allocations: 2.706 MB / 0.7084 GB, free: 11.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2884, allocations: 4 kB / 0.7084 GB, free: 11.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2884, allocations: 0 / 0.7084 GB, free: 11.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001158/0.2885, allocations: 0 / 0.7084 GB, free: 11.14 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.006115/0.2946, allocations: 2.119 MB / 0.7105 GB, free: 8.969 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.2947, allocations: 12.03 kB / 0.7105 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.3066, allocations: 2.077 MB / 0.7125 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004713/0.3114, allocations: 1.283 MB / 0.7138 GB, free: 5.535 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.3115, allocations: 94.22 kB / 0.7139 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007172/0.3122, allocations: 108 kB / 0.714 GB, free: 5.336 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008785/0.321, allocations: 2.65 MB / 0.7166 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.3212, allocations: 15.83 kB / 0.7166 GB, free: 2.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002387/0.3214, allocations: 51.98 kB / 0.7166 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007879/0.3222, allocations: 182 kB / 0.7168 GB, free: 2.289 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008284/0.3305, allocations: 2.779 MB / 0.7195 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01662/0.3472, allocations: 8.807 MB / 0.7281 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007194/0.3544, allocations: 2.525 MB / 0.7306 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003361/0.3578, allocations: 1.284 MB / 0.7318 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.362e-05/0.3579, allocations: 9 kB / 0.7318 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.358, allocations: 51.5 kB / 0.7319 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=89): time 3.737e-06/0.358, allocations: 0 / 0.7319 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131): time 0.04976/0.4078, allocations: 13.41 MB / 0.745 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/0.4079, allocations: 68.72 kB / 0.7451 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.41, allocations: 1.117 MB / 0.7461 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002451/0.4103, allocations: 49.7 kB / 0.7462 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007009/0.411, allocations: 0.7 MB / 0.7469 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007201/0.4117, allocations: 449.4 kB / 0.7473 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006835/0.4124, allocations: 255.5 kB / 0.7476 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.4127, allocations: 361.9 kB / 0.7479 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00346/0.4161, allocations: 1.343 MB / 0.7492 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4838/0.8999, allocations: 1.603 MB / 0.7508 GB, free: 72.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008873/0.9088, allocations: 2.995 MB / 0.7537 GB, free: 72.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.82e-05/0.9089, allocations: 3 kB / 0.7537 GB, free: 72.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01797/0.9269, allocations: 4.449 MB / 0.758 GB, free: 70.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/0.927, allocations: 9.312 kB / 0.7581 GB, free: 70.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.405e-05/0.9271, allocations: 10.47 kB / 0.7581 GB, free: 70.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00663/0.9337, allocations: 1.427 MB / 0.7595 GB, free: 70.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/0.9364, allocations: 438.3 kB / 0.7599 GB, free: 70.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02888/0.9653, allocations: 26.71 MB / 0.786 GB, free: 48.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003912/0.9693, allocations: 305.2 kB / 0.7863 GB, free: 48.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004488/0.9698, allocations: 62.66 kB / 0.7863 GB, free: 48.31 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.001363/0.9712, allocations: 433 kB / 0.7867 GB, free: 48.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005682/0.9717, allocations: 158.8 kB / 0.7869 GB, free: 47.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/0.9845, allocations: 4.461 MB / 0.7912 GB, free: 46.01 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.089e-05/0.9846, allocations: 14.41 kB / 0.7912 GB, free: 46.01 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.763e-05/0.9847, allocations: 13.66 kB / 0.7913 GB, free: 46.01 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-05/0.9848, allocations: 3.984 kB / 0.7913 GB, free: 46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/1.003, allocations: 6.761 MB / 0.7979 GB, free: 41.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/1.003, allocations: 3.969 kB / 0.7979 GB, free: 41.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/1.005, allocations: 380.1 kB / 0.7982 GB, free: 41.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004692/1.01, allocations: 1.313 MB / 0.7995 GB, free: 40.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002787/1.01, allocations: 35.69 kB / 0.7995 GB, free: 40.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02077/1.031, allocations: 25.5 MB / 0.8244 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/1.031, allocations: 8.062 kB / 0.8245 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/1.042, allocations: 4.208 MB / 0.8286 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.043, allocations: 458.9 kB / 0.829 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005338/1.044, allocations: 24 kB / 0.829 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002418/1.046, allocations: 307.5 kB / 0.8293 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005774/1.047, allocations: 128.7 kB / 0.8294 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/1.047, allocations: 47.97 kB / 0.8295 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001306/1.048, allocations: 0.7526 MB / 0.8302 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.01e-07/1.048, allocations: 0 / 0.8302 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002966/1.051, allocations: 0.5624 MB / 0.8308 GB, free: 9.66 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.00043/1.052, allocations: 136 kB / 0.8309 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.063, allocations: 5.15 MB / 0.8359 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/1.063, allocations: 0 / 0.8359 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006771/1.07, allocations: 3.5 MB / 0.8393 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/1.073, allocations: 0.5562 MB / 0.8399 GB, free: 32 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/1.085, allocations: 4.051 MB / 0.8438 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/1.087, allocations: 1.468 MB / 0.8453 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001976/1.089, allocations: 429.5 kB / 0.8457 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005747/1.089, allocations: 119.4 kB / 0.8458 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/1.089, allocations: 0 / 0.8458 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of Templates: time 0.07486/1.164, allocations: 39.29 MB / 0.8842 GB, free: 2.992 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)