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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [/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.2126/0.2133, allocations: 82.21 MB / 0.5935 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02668/0.2401, allocations: 23.79 MB / 0.6167 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01811/0.2583, allocations: 8.066 MB / 0.6246 GB, free: 6.023 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004547/0.2629, allocations: 99.44 kB / 0.6247 GB, free: 5.926 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002809/0.2658, allocations: 0.5076 MB / 0.6252 GB, free: 5.414 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004859/0.2706, allocations: 1.318 MB / 0.6265 GB, free: 4.09 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003873/0.2745, allocations: 0.9778 MB / 0.6274 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008861/0.2834, allocations: 6.748 MB / 0.634 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0147/0.2982, allocations: 8.161 MB / 0.642 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004466/0.3027, allocations: 1.856 MB / 0.6438 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004968/0.3076, allocations: 2.414 MB / 0.6461 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001367/0.309, allocations: 215.9 kB / 0.6464 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/0.3125, allocations: 0.6008 MB / 0.6469 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003803/0.3164, allocations: 1.609 MB / 0.6485 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00267/0.3191, allocations: 0.7731 MB / 0.6493 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009699/0.3288, allocations: 6.526 MB / 0.6556 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.964e-06/0.3289, allocations: 0 / 0.6556 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.896e-06/0.3289, allocations: 0 / 0.6556 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002909/0.3292, allocations: 0 / 0.6556 GB, free: 6.09 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.009654/0.3388, allocations: 3.424 MB / 0.659 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3389, allocations: 8.031 kB / 0.659 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004863/0.3438, allocations: 0.7836 MB / 0.6598 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005364/0.3492, allocations: 2.354 MB / 0.6621 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/0.3495, allocations: 271.1 kB / 0.6623 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001336/0.3508, allocations: 367.9 kB / 0.6627 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/0.3644, allocations: 5.904 MB / 0.6684 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001918/0.3646, allocations: 23.78 kB / 0.6685 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001087/0.3657, allocations: 152 kB / 0.6686 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006407/0.3664, allocations: 282.8 kB / 0.6689 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.3764, allocations: 4.464 MB / 0.6732 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3943/0.7708, allocations: 20.07 MB / 0.6928 GB, free: 83.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.773, allocations: 1.118 MB / 0.6939 GB, free: 83.45 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.7744, allocations: 1.017 MB / 0.6949 GB, free: 83.44 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.7746, allocations: 14.22 kB / 0.6949 GB, free: 83.44 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.7746, allocations: 45.31 kB / 0.695 GB, free: 83.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=110): time 3.356e-06/0.7746, allocations: 0 / 0.695 GB, free: 83.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.01945/0.7941, allocations: 9.673 MB / 0.7044 GB, free: 81.86 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.7942, allocations: 65.75 kB / 0.7045 GB, free: 81.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/0.7965, allocations: 1.476 MB / 0.7059 GB, free: 81.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.7967, allocations: 49.95 kB / 0.706 GB, free: 81.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.7979, allocations: 1.647 MB / 0.7076 GB, free: 80.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004066/0.7983, allocations: 467.4 kB / 0.708 GB, free: 80.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.365e-05/0.7984, allocations: 36.66 kB / 0.7081 GB, free: 80.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7985, allocations: 374.8 kB / 0.7084 GB, free: 80.15 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.8, allocations: 0.9135 MB / 0.7093 GB, free: 80 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/0.802, allocations: 1.463 MB / 0.7107 GB, free: 78.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.8041, allocations: 1.158 MB / 0.7119 GB, free: 78.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.829e-05/0.8041, allocations: 10.3 kB / 0.7119 GB, free: 78.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007401/0.8115, allocations: 3.279 MB / 0.7151 GB, free: 77.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.8116, allocations: 11.56 kB / 0.7151 GB, free: 77.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/0.8116, allocations: 17.03 kB / 0.7151 GB, free: 77.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002025/0.8137, allocations: 0.7369 MB / 0.7158 GB, free: 76.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.8151, allocations: 386.2 kB / 0.7162 GB, free: 76.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.8265, allocations: 15.76 MB / 0.7316 GB, free: 63.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.8282, allocations: 99.97 kB / 0.7317 GB, free: 63.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.8283, allocations: 71.25 kB / 0.7318 GB, free: 63.11 MB / 0.5294 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002166/0.8305, allocations: 1.307 MB / 0.733 GB, free: 62.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004052/0.8309, allocations: 199.7 kB / 0.7332 GB, free: 62.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/0.8354, allocations: 2.797 MB / 0.736 GB, free: 60.51 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.8354, allocations: 21.77 kB / 0.736 GB, free: 60.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/0.8355, allocations: 4.188 kB / 0.736 GB, free: 60.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.8355, allocations: 11.58 kB / 0.736 GB, free: 60.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009096/0.8446, allocations: 6.238 MB / 0.7421 GB, free: 56.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.8446, allocations: 11.59 kB / 0.7421 GB, free: 56.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.8457, allocations: 227.6 kB / 0.7423 GB, free: 56.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00171/0.8474, allocations: 0.6764 MB / 0.743 GB, free: 56.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.363e-05/0.8475, allocations: 32.25 kB / 0.743 GB, free: 56.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/0.8581, allocations: 15.49 MB / 0.7581 GB, free: 40.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.8581, allocations: 10.97 kB / 0.7581 GB, free: 40.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005235/0.8634, allocations: 4.012 MB / 0.7621 GB, free: 36.81 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008997/0.8643, allocations: 466.5 kB / 0.7625 GB, free: 36.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002509/0.8646, allocations: 31.98 kB / 0.7625 GB, free: 36.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008031/0.8654, allocations: 79.91 kB / 0.7626 GB, free: 36.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002574/0.8656, allocations: 120.7 kB / 0.7627 GB, free: 36.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-05/0.8657, allocations: 36 kB / 0.7628 GB, free: 36.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001106/0.8668, allocations: 0.9747 MB / 0.7637 GB, free: 35.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8668, allocations: 4 kB / 0.7637 GB, free: 35.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002197/0.8691, allocations: 0.6641 MB / 0.7644 GB, free: 34.44 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002423/0.8693, allocations: 151.7 kB / 0.7645 GB, free: 34.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004258/0.8736, allocations: 3.504 MB / 0.7679 GB, free: 30.67 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.8736, allocations: 4 kB / 0.7679 GB, free: 30.67 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002529/0.8761, allocations: 2.292 MB / 0.7702 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.8787, allocations: 0.6209 MB / 0.7708 GB, free: 27.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009054/0.8878, allocations: 7.88 MB / 0.7785 GB, free: 19.69 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/0.8899, allocations: 2.665 MB / 0.7811 GB, free: 17 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00152/0.8914, allocations: 0.4896 MB / 0.7816 GB, free: 16.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.8917, allocations: 115.4 kB / 0.7817 GB, free: 16.39 MB / 0.5294 GB Notification: Performance of SimCode: time 1.041e-06/0.8917, allocations: 0 / 0.7817 GB, free: 16.39 MB / 0.5294 GB Notification: Performance of Templates: time 0.04708/0.9388, allocations: 31 MB / 0.8119 GB, free: 1.883 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: