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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [/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.1941/0.1963, allocations: 80.83 MB / 0.6707 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04007/0.2364, allocations: 34.55 MB / 0.7044 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02056/0.257, allocations: 10.53 MB / 0.7147 GB, free: 4.746 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004918/0.262, allocations: 147.3 kB / 0.7148 GB, free: 4.602 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01129/0.2734, allocations: 3.809 MB / 0.7185 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.284, allocations: 2.247 MB / 0.7207 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00756/0.2916, allocations: 1.943 MB / 0.7226 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01381/0.3055, allocations: 7.858 MB / 0.7303 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01862/0.3241, allocations: 9.506 MB / 0.7396 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008488/0.3327, allocations: 3.392 MB / 0.7429 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007908/0.3407, allocations: 3.777 MB / 0.7466 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002638/0.3433, allocations: 0.6758 MB / 0.7472 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005285/0.3486, allocations: 1.436 MB / 0.7487 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.4905/0.8391, allocations: 2.554 MB / 0.7511 GB, free: 25.2 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01086/0.85, allocations: 3.026 MB / 0.7541 GB, free: 24.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02419/0.8743, allocations: 10.25 MB / 0.7641 GB, free: 24.12 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.8743, allocations: 1.438 kB / 0.7641 GB, free: 24.12 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.574e-06/0.8743, allocations: 0 / 0.7641 GB, free: 24.12 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0006206/0.875, allocations: 0.7812 kB / 0.7641 GB, free: 24.12 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: 1274 * Number of variables: 1274 Notification: Performance of Generate backend data structure: time 0.03197/0.9069, allocations: 5.371 MB / 0.7694 GB, free: 22.17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.907, allocations: 11.53 kB / 0.7694 GB, free: 22.17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008886/0.9159, allocations: 0.9335 MB / 0.7703 GB, free: 21.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.9293, allocations: 3.179 MB / 0.7734 GB, free: 21.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001134/0.9306, allocations: 349.5 kB / 0.7737 GB, free: 21.22 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006092/0.9367, allocations: 466.7 kB / 0.7742 GB, free: 21.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04067/0.9774, allocations: 7.867 MB / 0.7818 GB, free: 20.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000507/0.9779, allocations: 23.28 kB / 0.7819 GB, free: 20.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003797/0.9818, allocations: 207.9 kB / 0.7821 GB, free: 20.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009983/0.9828, allocations: 367.7 kB / 0.7824 GB, free: 20.13 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/1.002, allocations: 5.909 MB / 0.7882 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04899/1.051, allocations: 25.41 MB / 0.813 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00394/1.055, allocations: 2.145 MB / 0.8151 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002422/1.057, allocations: 1.487 MB / 0.8166 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/1.057, allocations: 20.75 kB / 0.8166 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/1.058, allocations: 51.66 kB / 0.8166 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=157): time 4.829e-06/1.058, allocations: 0 / 0.8166 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=160): time 0.01977/1.077, allocations: 7.546 MB / 0.824 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/1.077, allocations: 72.34 kB / 0.8241 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003963/1.081, allocations: 1.865 MB / 0.8259 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005037/1.082, allocations: 53.48 kB / 0.8259 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00203/1.084, allocations: 2.101 MB / 0.828 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.085, allocations: 0.5592 MB / 0.8285 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/1.087, allocations: 397.1 kB / 0.8289 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.087, allocations: 309.1 kB / 0.8292 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/1.089, allocations: 1.071 MB / 0.8303 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/1.091, allocations: 1.766 MB / 0.832 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004937/1.096, allocations: 3.059 MB / 0.835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.292e-05/1.097, allocations: 12.75 kB / 0.835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.008201/1.105, allocations: 3.925 MB / 0.8388 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/1.105, allocations: 16 kB / 0.8388 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-05/1.105, allocations: 24 kB / 0.8388 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002723/1.108, allocations: 0.9321 MB / 0.8398 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/1.109, allocations: 431.3 kB / 0.8402 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02321/1.133, allocations: 22.76 MB / 0.8624 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003426/1.136, allocations: 119.9 kB / 0.8625 GB, free: 308 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009316/1.137, allocations: 99.98 kB / 0.8626 GB, free: 208 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.005365/1.142, allocations: 1.637 MB / 0.8642 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/1.143, allocations: 249.1 kB / 0.8644 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007049/1.151, allocations: 3.285 MB / 0.8676 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/1.151, allocations: 23.92 kB / 0.8677 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.317e-05/1.151, allocations: 12 kB / 0.8677 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/1.151, allocations: 7.969 kB / 0.8677 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.021/1.172, allocations: 7.585 MB / 0.8751 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-05/1.172, allocations: 12.12 kB / 0.8751 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009979/1.173, allocations: 213.6 kB / 0.8753 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002536/1.175, allocations: 0.894 MB / 0.8762 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002195/1.176, allocations: 31.94 kB / 0.8762 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02434/1.2, allocations: 22.72 MB / 0.8984 GB, free: 9.891 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1.2, allocations: 7.281 kB / 0.8984 GB, free: 9.887 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007914/1.208, allocations: 3.387 MB / 0.9017 GB, free: 6.422 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002713/1.211, allocations: 0.5292 MB / 0.9022 GB, free: 5.871 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001373/1.212, allocations: 32 kB / 0.9023 GB, free: 5.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/1.214, allocations: 95.88 kB / 0.9024 GB, free: 5.746 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005705/1.215, allocations: 139.5 kB / 0.9025 GB, free: 5.617 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002278/1.215, allocations: 48 kB / 0.9025 GB, free: 5.57 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003566/1.219, allocations: 1.225 MB / 0.9037 GB, free: 4.332 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.725e-06/1.219, allocations: 0 / 0.9037 GB, free: 4.332 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005568/1.224, allocations: 0.8788 MB / 0.9046 GB, free: 3.453 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005079/1.225, allocations: 156.1 kB / 0.9047 GB, free: 3.305 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008303/1.233, allocations: 4.44 MB / 0.9091 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/1.233, allocations: 0 / 0.9091 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005119/1.238, allocations: 3.002 MB / 0.912 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006351/1.245, allocations: 0.8323 MB / 0.9128 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/1.266, allocations: 7.72 MB / 0.9204 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007753/1.274, allocations: 3.216 MB / 0.9235 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002964/1.277, allocations: 0.541 MB / 0.924 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008323/1.278, allocations: 139.4 kB / 0.9242 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of SimCode: time 1.523e-06/1.278, allocations: 0 / 0.9242 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of Templates: time 0.08307/1.361, allocations: 41.36 MB / 0.9645 GB, free: 6.52 MB / 0.7325 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)