Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.2316/0.2338, allocations: 80.84 MB / 0.6706 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.6132/0.847, allocations: 30.14 MB / 0.7001 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02728/0.8744, allocations: 13.98 MB / 0.7137 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006852/0.8814, allocations: 148 kB / 0.7139 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01104/0.8924, allocations: 3.189 MB / 0.717 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01494/0.9074, allocations: 2.811 MB / 0.7197 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01065/0.9181, allocations: 2 MB / 0.7217 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01838/0.9365, allocations: 7.419 MB / 0.7289 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02115/0.9577, allocations: 8.211 MB / 0.7369 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0136/0.9714, allocations: 3.415 MB / 0.7403 GB, free: 8.336 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01234/0.9838, allocations: 3.384 MB / 0.7436 GB, free: 6.246 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.005156/0.989, allocations: 0.5879 MB / 0.7442 GB, free: 6.246 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01145/1.001, allocations: 1.491 MB / 0.7456 GB, free: 5.754 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.009303/1.01, allocations: 2.289 MB / 0.7479 GB, free: 4.262 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01316/1.023, allocations: 2.793 MB / 0.7506 GB, free: 2.293 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01965/1.043, allocations: 9.296 MB / 0.7597 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.433e-05/1.043, allocations: 0 / 0.7597 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.627e-06/1.043, allocations: 0 / 0.7597 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000606/1.044, allocations: 0 / 0.7597 GB, free: 9.652 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1109 * Number of variables: 1109 Notification: Performance of Generate backend data structure: time 0.02016/1.064, allocations: 5.069 MB / 0.7646 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/1.064, allocations: 8.031 kB / 0.7646 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007696/1.072, allocations: 0.9825 MB / 0.7656 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/1.082, allocations: 3.052 MB / 0.7686 GB, free: 384 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004701/1.082, allocations: 312.6 kB / 0.7689 GB, free: 68 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00294/1.085, allocations: 416.3 kB / 0.7693 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02073/1.106, allocations: 6.71 MB / 0.7758 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000281/1.106, allocations: 27.78 kB / 0.7758 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001907/1.108, allocations: 184 kB / 0.776 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001061/1.109, allocations: 367.8 kB / 0.7764 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01316/1.123, allocations: 5.063 MB / 0.7813 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04021/1.163, allocations: 21.94 MB / 0.8027 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/1.165, allocations: 1.399 MB / 0.8041 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/1.167, allocations: 1.332 MB / 0.8054 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/1.168, allocations: 13.31 kB / 0.8054 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/1.168, allocations: 47.88 kB / 0.8055 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=130): time 3.838e-06/1.168, allocations: 4 kB / 0.8055 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=199): time 0.08102/1.249, allocations: 23.1 MB / 0.828 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/1.249, allocations: 69.41 kB / 0.8281 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004617/1.253, allocations: 2.062 MB / 0.8301 GB, free: 152 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003216/1.254, allocations: 61.7 kB / 0.8301 GB, free: 84 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001618/1.255, allocations: 1.975 MB / 0.8321 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009809/1.256, allocations: 0.6738 MB / 0.8327 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/1.257, allocations: 408.2 kB / 0.8331 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.258, allocations: 301.1 kB / 0.8334 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/1.26, allocations: 1.441 MB / 0.8348 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00279/1.263, allocations: 2.013 MB / 0.8368 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005029/1.268, allocations: 3.712 MB / 0.8404 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.979e-05/1.268, allocations: 11.94 kB / 0.8404 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01132/1.279, allocations: 5.668 MB / 0.846 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/1.279, allocations: 16 kB / 0.846 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/1.279, allocations: 16.88 kB / 0.846 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006788/1.286, allocations: 2.079 MB / 0.848 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/1.288, allocations: 383.4 kB / 0.8484 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04214/1.33, allocations: 38.45 MB / 0.8859 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003145/1.333, allocations: 123.9 kB / 0.886 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000574/1.334, allocations: 95.98 kB / 0.8861 GB, free: 3.555 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003493/1.337, allocations: 1.501 MB / 0.8876 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009616/1.338, allocations: 280.7 kB / 0.8879 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/1.349, allocations: 5.227 MB / 0.893 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/1.349, allocations: 20 kB / 0.893 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.013e-05/1.349, allocations: 23.94 kB / 0.893 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.323e-05/1.349, allocations: 11.95 kB / 0.893 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02315/1.372, allocations: 9.691 MB / 0.9025 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/1.372, allocations: 8 kB / 0.9025 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009442/1.373, allocations: 215.6 kB / 0.9027 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00601/1.379, allocations: 1.842 MB / 0.9045 GB, free: 400 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002868/1.38, allocations: 40 kB / 0.9045 GB, free: 360 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04108/1.421, allocations: 37.45 MB / 0.9411 GB, free: 8.367 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/1.421, allocations: 16 kB / 0.9411 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/1.431, allocations: 4.92 MB / 0.9459 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002418/1.434, allocations: 0.6186 MB / 0.9465 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009734/1.435, allocations: 47.92 kB / 0.9466 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/1.437, allocations: 127.8 kB / 0.9467 GB, free: 2.461 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008376/1.438, allocations: 197.5 kB / 0.9469 GB, free: 2.266 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/1.438, allocations: 52 kB / 0.9469 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003328/1.442, allocations: 1.382 MB / 0.9483 GB, free: 0.8242 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.442, allocations: 0 / 0.9483 GB, free: 0.8242 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006422/1.448, allocations: 1.02 MB / 0.9493 GB, free: 15.8 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000488/1.449, allocations: 170.9 kB / 0.9495 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01149/1.46, allocations: 6.296 MB / 0.9556 GB, free: 9.102 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.85e-05/1.46, allocations: 4 kB / 0.9556 GB, free: 9.098 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.008205/1.468, allocations: 4.399 MB / 0.9599 GB, free: 4.469 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006718/1.475, allocations: 1.006 MB / 0.9609 GB, free: 3.488 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02162/1.497, allocations: 8.111 MB / 0.9688 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006136/1.503, allocations: 3.12 MB / 0.9719 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002702/1.506, allocations: 0.5354 MB / 0.9724 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006845/1.506, allocations: 151.4 kB / 0.9725 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of SimCode: time 1.303e-06/1.506, allocations: 0 / 0.9725 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of Templates: time 0.591/2.097, allocations: 58.6 MB / 1.03 GB, free: 244.9 MB / 0.795 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)