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.1914/0.1937, allocations: 80.83 MB / 0.6706 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03366/0.2274, allocations: 30.14 MB / 0.7001 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02302/0.2505, allocations: 14 MB / 0.7138 GB, free: 5.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003755/0.2543, allocations: 143.2 kB / 0.7139 GB, free: 5.699 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.009256/0.2636, allocations: 3.188 MB / 0.717 GB, free: 2.504 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009566/0.2732, allocations: 2.708 MB / 0.7196 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005966/0.2792, allocations: 1.989 MB / 0.7216 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01076/0.29, allocations: 7.423 MB / 0.7288 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01258/0.3026, allocations: 8.198 MB / 0.7368 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00691/0.3095, allocations: 3.408 MB / 0.7402 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00857/0.3181, allocations: 3.391 MB / 0.7435 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002595/0.3207, allocations: 0.5859 MB / 0.7441 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004948/0.3257, allocations: 1.486 MB / 0.7455 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004453/0.3302, allocations: 2.296 MB / 0.7477 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005108/0.3353, allocations: 2.789 MB / 0.7505 GB, free: 32 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.4957/0.831, allocations: 9.288 MB / 0.7595 GB, free: 24.61 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.8311, allocations: 0.75 kB / 0.7595 GB, free: 24.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8311, allocations: 0 / 0.7595 GB, free: 24.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004234/0.8316, allocations: 1.594 kB / 0.7595 GB, free: 24.61 MB / 0.5762 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.02666/0.8582, allocations: 5.069 MB / 0.7645 GB, free: 22.67 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 8.806e-05/0.8583, allocations: 9.594 kB / 0.7645 GB, free: 22.67 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008772/0.8671, allocations: 0.9779 MB / 0.7655 GB, free: 22.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/0.8782, allocations: 3.057 MB / 0.7684 GB, free: 21.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000607/0.8788, allocations: 306.7 kB / 0.7687 GB, free: 21.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002703/0.8815, allocations: 418.5 kB / 0.7691 GB, free: 21.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02539/0.907, allocations: 6.719 MB / 0.7757 GB, free: 20.86 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003748/0.9074, allocations: 19.81 kB / 0.7757 GB, free: 20.85 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002213/0.9096, allocations: 185.7 kB / 0.7759 GB, free: 20.85 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001096/0.9107, allocations: 368.9 kB / 0.7762 GB, free: 20.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/0.9253, allocations: 5.065 MB / 0.7812 GB, free: 20.79 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04374/0.9691, allocations: 21.94 MB / 0.8026 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.9714, allocations: 1.394 MB / 0.804 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/0.9733, allocations: 1.332 MB / 0.8053 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.9734, allocations: 12.97 kB / 0.8053 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.739e-05/0.9735, allocations: 51.94 kB / 0.8053 GB, free: 4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=130): time 4.658e-06/0.9735, allocations: 4 kB / 0.8053 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=199): time 0.08635/1.06, allocations: 23.08 MB / 0.8279 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/1.06, allocations: 77.41 kB / 0.828 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004678/1.065, allocations: 2.062 MB / 0.83 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003052/1.065, allocations: 57.7 kB / 0.83 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001621/1.067, allocations: 1.974 MB / 0.832 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008728/1.067, allocations: 0.6802 MB / 0.8326 GB, free: 44 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/1.069, allocations: 411.4 kB / 0.833 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.069, allocations: 301.1 kB / 0.8333 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/1.071, allocations: 1.437 MB / 0.8347 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002911/1.074, allocations: 2.017 MB / 0.8367 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005252/1.079, allocations: 3.713 MB / 0.8403 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.001e-05/1.079, allocations: 4 kB / 0.8403 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01208/1.091, allocations: 5.668 MB / 0.8458 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/1.091, allocations: 12.62 kB / 0.8458 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-05/1.091, allocations: 19.62 kB / 0.8459 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006739/1.098, allocations: 2.088 MB / 0.8479 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/1.1, allocations: 376.1 kB / 0.8483 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04183/1.142, allocations: 38.44 MB / 0.8858 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004735/1.146, allocations: 129.7 kB / 0.8859 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/1.147, allocations: 92 kB / 0.886 GB, free: 6.707 MB / 0.6544 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.006421/1.154, allocations: 1.502 MB / 0.8875 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001505/1.155, allocations: 276.7 kB / 0.8877 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01854/1.174, allocations: 5.23 MB / 0.8928 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.302e-05/1.174, allocations: 20 kB / 0.8929 GB, free: 15.69 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001039/1.174, allocations: 23.47 kB / 0.8929 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-05/1.174, allocations: 15.91 kB / 0.8929 GB, free: 15.65 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02631/1.201, allocations: 9.706 MB / 0.9024 GB, free: 5.887 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.418e-05/1.201, allocations: 12 kB / 0.9024 GB, free: 5.875 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009502/1.202, allocations: 210.3 kB / 0.9026 GB, free: 5.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006298/1.208, allocations: 1.843 MB / 0.9044 GB, free: 3.793 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002636/1.208, allocations: 36.19 kB / 0.9044 GB, free: 3.758 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04162/1.25, allocations: 37.45 MB / 0.941 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/1.25, allocations: 10.34 kB / 0.941 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/1.26, allocations: 4.918 MB / 0.9458 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0025/1.263, allocations: 0.6225 MB / 0.9464 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/1.264, allocations: 40.14 kB / 0.9465 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002185/1.266, allocations: 127.8 kB / 0.9466 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008072/1.267, allocations: 205.1 kB / 0.9468 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/1.267, allocations: 61.12 kB / 0.9468 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003405/1.271, allocations: 1.374 MB / 0.9482 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.271, allocations: 1.031 kB / 0.9482 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006044/1.277, allocations: 1.02 MB / 0.9492 GB, free: 3.488 MB / 0.7169 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.0005621/1.277, allocations: 170.5 kB / 0.9493 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01281/1.29, allocations: 6.299 MB / 0.9555 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.191e-05/1.29, allocations: 0 / 0.9555 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008785/1.299, allocations: 4.405 MB / 0.9598 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006765/1.306, allocations: 0.996 MB / 0.9608 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/1.325, allocations: 8.124 MB / 0.9687 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005439/1.331, allocations: 3.12 MB / 0.9717 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002438/1.333, allocations: 0.5315 MB / 0.9723 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006015/1.334, allocations: 148.5 kB / 0.9724 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of SimCode: time 1.243e-06/1.334, allocations: 0 / 0.9724 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of Templates: time 0.1094/1.443, allocations: 59.88 MB / 1.031 GB, free: 404 kB / 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)