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.1774/0.1781, allocations: 82.22 MB / 0.5934 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02563/0.2038, allocations: 22.86 MB / 0.6157 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01507/0.2189, allocations: 8.052 MB / 0.6236 GB, free: 6.98 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.2221, allocations: 95.38 kB / 0.6237 GB, free: 6.887 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.2245, allocations: 0.5085 MB / 0.6242 GB, free: 6.375 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005884/0.2304, allocations: 1.195 MB / 0.6253 GB, free: 5.176 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004718/0.2352, allocations: 1.004 MB / 0.6263 GB, free: 4.176 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006245/0.2414, allocations: 2.89 MB / 0.6291 GB, free: 1.281 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01497/0.2564, allocations: 8.165 MB / 0.6371 GB, free: 9.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/0.2603, allocations: 1.615 MB / 0.6387 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003752/0.2641, allocations: 1.682 MB / 0.6403 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001261/0.2654, allocations: 208 kB / 0.6405 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.268, allocations: 0.4917 MB / 0.641 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002826/0.2708, allocations: 1.481 MB / 0.6424 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.2727, allocations: 0.7731 MB / 0.6432 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008387/0.2811, allocations: 6.436 MB / 0.6495 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.2811, allocations: 4 kB / 0.6495 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2811, allocations: 0 / 0.6495 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002423/0.2814, allocations: 0 / 0.6495 GB, free: 12.33 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.008391/0.2898, allocations: 3.385 MB / 0.6528 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.2899, allocations: 12.03 kB / 0.6528 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004484/0.2943, allocations: 0.7485 MB / 0.6535 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006101/0.3005, allocations: 2.362 MB / 0.6558 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/0.3007, allocations: 263.1 kB / 0.6561 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000972/0.3017, allocations: 363.9 kB / 0.6564 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009768/0.3115, allocations: 5.888 MB / 0.6622 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.315e-05/0.3116, allocations: 23.77 kB / 0.6622 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003498/0.312, allocations: 152 kB / 0.6624 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005835/0.3125, allocations: 282.8 kB / 0.6626 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007885/0.3204, allocations: 4.457 MB / 0.667 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02766/0.3481, allocations: 20.09 MB / 0.6866 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.3498, allocations: 1.118 MB / 0.6877 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.334e-05/0.3499, allocations: 16.98 kB / 0.6877 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.3499, allocations: 47.5 kB / 0.6878 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=110): time 3.988e-06/0.3499, allocations: 0 / 0.6878 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.3545/0.7045, allocations: 9.662 MB / 0.6972 GB, free: 87.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.7045, allocations: 67.34 kB / 0.6973 GB, free: 87.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.7063, allocations: 1.478 MB / 0.6987 GB, free: 87.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.7064, allocations: 48.08 kB / 0.6987 GB, free: 87.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009359/0.7074, allocations: 1.637 MB / 0.7003 GB, free: 86.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000375/0.7078, allocations: 474.1 kB / 0.7008 GB, free: 86.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-05/0.7079, allocations: 34 kB / 0.7008 GB, free: 86.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.708, allocations: 378.1 kB / 0.7012 GB, free: 85.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.7094, allocations: 0.9131 MB / 0.7021 GB, free: 85.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.7108, allocations: 1.452 MB / 0.7035 GB, free: 84.92 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.7122, allocations: 1.159 MB / 0.7046 GB, free: 84.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.7122, allocations: 10.19 kB / 0.7046 GB, free: 84.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005594/0.7178, allocations: 3.273 MB / 0.7078 GB, free: 83.08 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.7179, allocations: 17.23 kB / 0.7079 GB, free: 83.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/0.7179, allocations: 19.78 kB / 0.7079 GB, free: 83.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002314/0.7202, allocations: 0.739 MB / 0.7086 GB, free: 82.83 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.7219, allocations: 383.9 kB / 0.709 GB, free: 82.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/0.7358, allocations: 16.04 MB / 0.7246 GB, free: 69.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.7378, allocations: 100.2 kB / 0.7247 GB, free: 69.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/0.738, allocations: 84.52 kB / 0.7248 GB, free: 69.08 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.002468/0.7405, allocations: 1.308 MB / 0.7261 GB, free: 68.47 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004094/0.7409, allocations: 202 kB / 0.7263 GB, free: 68.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004442/0.7453, allocations: 2.787 MB / 0.729 GB, free: 67.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.7454, allocations: 12.81 kB / 0.729 GB, free: 67.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.7454, allocations: 6.406 kB / 0.729 GB, free: 67.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.7454, allocations: 9.766 kB / 0.729 GB, free: 67.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009175/0.7546, allocations: 6.242 MB / 0.7351 GB, free: 63.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.7546, allocations: 8.062 kB / 0.7351 GB, free: 63.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.7557, allocations: 236.6 kB / 0.7353 GB, free: 63.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001811/0.7575, allocations: 0.6603 MB / 0.736 GB, free: 63.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-05/0.7576, allocations: 38.92 kB / 0.736 GB, free: 63.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/0.7681, allocations: 15.78 MB / 0.7514 GB, free: 48.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.7681, allocations: 10.53 kB / 0.7514 GB, free: 48.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005041/0.7732, allocations: 4.355 MB / 0.7557 GB, free: 44.76 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008537/0.774, allocations: 458.6 kB / 0.7561 GB, free: 44.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.7743, allocations: 28.12 kB / 0.7562 GB, free: 44.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008314/0.7751, allocations: 87.89 kB / 0.7562 GB, free: 44.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/0.7754, allocations: 116.7 kB / 0.7564 GB, free: 44.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/0.7754, allocations: 43.95 kB / 0.7564 GB, free: 44.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00112/0.7766, allocations: 0.9747 MB / 0.7573 GB, free: 43.06 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7766, allocations: 0 / 0.7573 GB, free: 43.06 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002276/0.7788, allocations: 0.6641 MB / 0.758 GB, free: 42.39 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.0002409/0.7791, allocations: 154 kB / 0.7581 GB, free: 42.24 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004228/0.7833, allocations: 3.513 MB / 0.7616 GB, free: 38.62 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.7834, allocations: 0 / 0.7616 GB, free: 38.62 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00254/0.7859, allocations: 2.288 MB / 0.7638 GB, free: 36.22 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/0.7888, allocations: 0.5912 MB / 0.7644 GB, free: 35.65 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.7998, allocations: 7.87 MB / 0.7721 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002823/0.8026, allocations: 2.736 MB / 0.7747 GB, free: 24.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001647/0.8043, allocations: 0.4896 MB / 0.7752 GB, free: 24.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003685/0.8047, allocations: 115.4 kB / 0.7753 GB, free: 24.32 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.8047, allocations: 0 / 0.7753 GB, free: 24.32 MB / 0.5294 GB Notification: Performance of Templates: time 0.04963/0.8543, allocations: 30.98 MB / 0.8056 GB, free: 9.832 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: