Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.1781/0.1789, allocations: 82.22 MB / 0.5941 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007729/0.1867, allocations: 5.046 MB / 0.5991 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005207/0.1919, allocations: 2.76 MB / 0.6017 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006018/0.1926, allocations: 19.81 kB / 0.6018 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.1931, allocations: 103.1 kB / 0.6019 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.1947, allocations: 410.1 kB / 0.6023 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.196, allocations: 367.3 kB / 0.6026 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.1975, allocations: 1.232 MB / 0.6038 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.199, allocations: 0.7868 MB / 0.6046 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005264/0.1995, allocations: 302.6 kB / 0.6049 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006787/0.2002, allocations: 398.4 kB / 0.6052 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.565e-05/0.2003, allocations: 24 kB / 0.6053 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008366/0.2011, allocations: 427.1 kB / 0.6057 GB, free: 9.672 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.2014, allocations: 215.3 kB / 0.6059 GB, free: 9.461 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000324/0.2017, allocations: 335.9 kB / 0.6062 GB, free: 9.125 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.2027, allocations: 0.9342 MB / 0.6071 GB, free: 8.188 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2028, allocations: 4 kB / 0.6071 GB, free: 8.184 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2028, allocations: 0 / 0.6071 GB, free: 8.184 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.2028, allocations: 4 kB / 0.6071 GB, free: 8.18 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001447/0.2042, allocations: 0.8335 MB / 0.6079 GB, free: 7.293 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.2043, allocations: 12.03 kB / 0.6079 GB, free: 7.281 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.2057, allocations: 195.9 kB / 0.6081 GB, free: 7.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007115/0.2064, allocations: 482.5 kB / 0.6086 GB, free: 6.578 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.2065, allocations: 41.36 kB / 0.6086 GB, free: 6.539 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.2067, allocations: 60.44 kB / 0.6087 GB, free: 6.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.2078, allocations: 0.8209 MB / 0.6095 GB, free: 5.574 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.2079, allocations: 3.938 kB / 0.6095 GB, free: 5.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/0.2079, allocations: 23.98 kB / 0.6095 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001919/0.2081, allocations: 64.95 kB / 0.6096 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000846/0.209, allocations: 0.558 MB / 0.6101 GB, free: 4.926 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00408/0.2131, allocations: 3.963 MB / 0.614 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.2136, allocations: 299.2 kB / 0.6143 GB, free: 472 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.2139, allocations: 229.3 kB / 0.6145 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.2139, allocations: 8.219 kB / 0.6145 GB, free: 232 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.214, allocations: 38.84 kB / 0.6145 GB, free: 184 kB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.324e-06/0.214, allocations: 0 / 0.6145 GB, free: 184 kB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.005551/0.2196, allocations: 2.654 MB / 0.6171 GB, free: 13.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.2196, allocations: 55.41 kB / 0.6172 GB, free: 13.33 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.2202, allocations: 462 kB / 0.6176 GB, free: 12.87 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.2202, allocations: 29.7 kB / 0.6177 GB, free: 12.83 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.2204, allocations: 339.8 kB / 0.618 GB, free: 12.49 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.2206, allocations: 145.9 kB / 0.6181 GB, free: 12.35 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.2206, allocations: 45.7 kB / 0.6182 GB, free: 12.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2208, allocations: 374.6 kB / 0.6185 GB, free: 11.92 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.2212, allocations: 237 kB / 0.6188 GB, free: 11.69 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/0.2216, allocations: 410.5 kB / 0.6191 GB, free: 11.21 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008663/0.2225, allocations: 0.6786 MB / 0.6198 GB, free: 10.46 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.2225, allocations: 4 kB / 0.6198 GB, free: 10.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001676/0.2242, allocations: 0.9216 MB / 0.6207 GB, free: 9.523 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.2242, allocations: 11.94 kB / 0.6207 GB, free: 9.512 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.2243, allocations: 4 kB / 0.6207 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007962/0.2251, allocations: 226.4 kB / 0.6209 GB, free: 9.277 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.2256, allocations: 115.8 kB / 0.621 GB, free: 9.164 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005081/0.2307, allocations: 4.938 MB / 0.6259 GB, free: 3.828 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005634/0.2313, allocations: 35.97 kB / 0.6259 GB, free: 3.793 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.2313, allocations: 24.06 kB / 0.6259 GB, free: 3.77 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,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.0003648/0.2317, allocations: 221.6 kB / 0.6261 GB, free: 3.543 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.968e-05/0.2318, allocations: 59.28 kB / 0.6262 GB, free: 3.484 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.2334, allocations: 0.7743 MB / 0.627 GB, free: 2.695 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2334, allocations: 4 kB / 0.627 GB, free: 2.691 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2334, allocations: 0 / 0.627 GB, free: 2.691 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.2334, allocations: 3.984 kB / 0.627 GB, free: 2.688 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/0.2363, allocations: 1.495 MB / 0.6284 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.2364, allocations: 4 kB / 0.6284 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.2367, allocations: 63.89 kB / 0.6285 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006815/0.2374, allocations: 210.5 kB / 0.6287 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.2375, allocations: 11.98 kB / 0.6287 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006578/0.244, allocations: 4.864 MB / 0.6334 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.2441, allocations: 4.25 kB / 0.6335 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.2465, allocations: 1.15 MB / 0.6346 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003194/0.2469, allocations: 172.3 kB / 0.6347 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.427e-05/0.2469, allocations: 16.14 kB / 0.6348 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.2473, allocations: 28.03 kB / 0.6348 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.2474, allocations: 43.81 kB / 0.6348 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.2474, allocations: 15.94 kB / 0.6348 GB, free: 10.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003537/0.2478, allocations: 318.9 kB / 0.6351 GB, free: 9.742 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2478, allocations: 0 / 0.6351 GB, free: 9.742 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008372/0.2486, allocations: 164 kB / 0.6353 GB, free: 9.582 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002591/0.2489, allocations: 123.4 kB / 0.6354 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00222/0.2511, allocations: 1 MB / 0.6364 GB, free: 8.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2512, allocations: 4.125 kB / 0.6364 GB, free: 8.406 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009786/0.2521, allocations: 0.6836 MB / 0.6371 GB, free: 7.684 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.2532, allocations: 159.8 kB / 0.6372 GB, free: 7.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.2556, allocations: 1.556 MB / 0.6387 GB, free: 5.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/0.2562, allocations: 0.9494 MB / 0.6397 GB, free: 4.953 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004037/0.2566, allocations: 121 kB / 0.6398 GB, free: 4.832 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.2567, allocations: 35.44 kB / 0.6398 GB, free: 4.797 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2567, allocations: 0 / 0.6398 GB, free: 4.797 MB / 494.1 MB Notification: Performance of Templates: time 0.01523/0.272, allocations: 8.39 MB / 0.648 GB, free: 12.55 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: