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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [/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.1811/0.182, allocations: 82.22 MB / 0.5941 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0406/0.2226, allocations: 36.12 MB / 0.6294 GB, free: 1.305 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02054/0.2432, allocations: 11.48 MB / 0.6406 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004987/0.2483, allocations: 135.2 kB / 0.6407 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004307/0.2526, allocations: 0.7714 MB / 0.6415 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.2642, allocations: 2.17 MB / 0.6436 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007029/0.2713, allocations: 1.785 MB / 0.6454 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01701/0.2883, allocations: 13.04 MB / 0.6581 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02672/0.3151, allocations: 14.43 MB / 0.6722 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007001/0.3221, allocations: 2.812 MB / 0.6749 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009959/0.3321, allocations: 3.901 MB / 0.6787 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002902/0.3351, allocations: 347.9 kB / 0.6791 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00637/0.3415, allocations: 1.33 MB / 0.6804 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.006375/0.3479, allocations: 2.451 MB / 0.6828 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.008213/0.3562, allocations: 2.886 MB / 0.6856 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.4669/0.8231, allocations: 11.53 MB / 0.6968 GB, free: 33.63 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.8232, allocations: 1.188 kB / 0.6968 GB, free: 33.63 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.957e-06/0.8232, allocations: 0 / 0.6968 GB, free: 33.63 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005292/0.8237, allocations: 0 / 0.6968 GB, free: 33.63 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.01569/0.8394, allocations: 5.054 MB / 0.7018 GB, free: 31.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.8395, allocations: 9.156 kB / 0.7018 GB, free: 31.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007887/0.8474, allocations: 1.037 MB / 0.7028 GB, free: 31.36 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009764/0.8572, allocations: 3.417 MB / 0.7061 GB, free: 30.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006223/0.8579, allocations: 422 kB / 0.7065 GB, free: 30.64 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004404/0.8623, allocations: 0.5402 MB / 0.7071 GB, free: 30.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03281/0.8951, allocations: 9.338 MB / 0.7162 GB, free: 29.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000298/0.8955, allocations: 28.59 kB / 0.7162 GB, free: 29.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003492/0.899, allocations: 245 kB / 0.7164 GB, free: 29.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008688/0.8999, allocations: 415.9 kB / 0.7168 GB, free: 29.55 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02001/0.9199, allocations: 7.098 MB / 0.7238 GB, free: 29.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04478/0.9647, allocations: 28.6 MB / 0.7517 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004219/0.969, allocations: 3.121 MB / 0.7548 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002542/0.9715, allocations: 2.121 MB / 0.7568 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.331e-05/0.9717, allocations: 25.62 kB / 0.7568 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.389e-05/0.9717, allocations: 60.38 kB / 0.7569 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=209): time 4.218e-06/0.9717, allocations: 0 / 0.7569 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=212): time 0.02277/0.9945, allocations: 10.62 MB / 0.7673 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.9946, allocations: 73.41 kB / 0.7673 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/0.9969, allocations: 2.002 MB / 0.7693 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002868/0.9972, allocations: 65.7 kB / 0.7694 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009847/0.9982, allocations: 2.383 MB / 0.7717 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000545/0.9988, allocations: 0.7283 MB / 0.7724 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/0.9991, allocations: 211.1 kB / 0.7726 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.031e-05/0.9991, allocations: 305.1 kB / 0.7729 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/1.001, allocations: 1.377 MB / 0.7742 GB, free: 15.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002518/1.003, allocations: 2.116 MB / 0.7763 GB, free: 13.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005723/1.009, allocations: 3.776 MB / 0.78 GB, free: 9.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/1.009, allocations: 10.3 kB / 0.78 GB, free: 9.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00958/1.019, allocations: 5.075 MB / 0.785 GB, free: 4.199 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/1.019, allocations: 12 kB / 0.785 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-05/1.019, allocations: 27.94 kB / 0.785 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003818/1.023, allocations: 1.524 MB / 0.7865 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0019/1.025, allocations: 451.6 kB / 0.7869 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/1.048, allocations: 17.11 MB / 0.8036 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/1.05, allocations: 148 kB / 0.8038 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003411/1.051, allocations: 108 kB / 0.8039 GB, free: 400 kB / 0.5606 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,51.0%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003617/1.054, allocations: 1.942 MB / 0.8058 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006772/1.055, allocations: 288.6 kB / 0.806 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007641/1.063, allocations: 4.46 MB / 0.8104 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/1.063, allocations: 24.12 kB / 0.8104 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.92e-05/1.063, allocations: 24 kB / 0.8104 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.748e-05/1.063, allocations: 11.95 kB / 0.8105 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/1.079, allocations: 9.721 MB / 0.82 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.079, allocations: 6.859 kB / 0.82 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/1.081, allocations: 237.1 kB / 0.8202 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003704/1.084, allocations: 1.432 MB / 0.8216 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003118/1.085, allocations: 40 kB / 0.8216 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02358/1.108, allocations: 17.09 MB / 0.8383 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.108, allocations: 6.25 kB / 0.8383 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008025/1.116, allocations: 4.547 MB / 0.8428 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/1.118, allocations: 0.642 MB / 0.8434 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005448/1.119, allocations: 41.78 kB / 0.8434 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/1.12, allocations: 115.9 kB / 0.8435 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005814/1.121, allocations: 181.6 kB / 0.8437 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.121, allocations: 60 kB / 0.8438 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00202/1.123, allocations: 1.315 MB / 0.845 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/1.123, allocations: 0 / 0.845 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00467/1.128, allocations: 1.109 MB / 0.8461 GB, free: 4.613 MB / 0.6075 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004625/1.128, allocations: 170.3 kB / 0.8463 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.008034/1.136, allocations: 4.709 MB / 0.8509 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/1.136, allocations: 4 kB / 0.8509 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005108/1.141, allocations: 2.928 MB / 0.8538 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006074/1.147, allocations: 0.8259 MB / 0.8546 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02377/1.171, allocations: 11.94 MB / 0.8662 GB, free: 12 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006743/1.178, allocations: 3.703 MB / 0.8698 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002454/1.181, allocations: 0.5634 MB / 0.8704 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/1.181, allocations: 151.4 kB / 0.8705 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of SimCode: time 9.42e-07/1.181, allocations: 2.188 kB / 0.8705 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of Templates: time 0.09339/1.274, allocations: 49.87 MB / 0.9192 GB, free: 10.48 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) Environment - environmentSimulation: