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.2136/0.2156, allocations: 80.83 MB / 0.5897 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007333/0.223, allocations: 5.461 MB / 0.595 GB, free: 1.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.2277, allocations: 2.795 MB / 0.5977 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004086/0.2281, allocations: 19.88 kB / 0.5978 GB, free: 14.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.2299, allocations: 0.6419 MB / 0.5984 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.231, allocations: 410.2 kB / 0.5988 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.2321, allocations: 363.2 kB / 0.5991 GB, free: 13.35 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.2333, allocations: 1.232 MB / 0.6003 GB, free: 12.12 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006918/0.234, allocations: 449.7 kB / 0.6008 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004173/0.2344, allocations: 326.6 kB / 0.6011 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005753/0.235, allocations: 426.3 kB / 0.6015 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.549e-05/0.2351, allocations: 32 kB / 0.6015 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008002/0.2359, allocations: 439.1 kB / 0.6019 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.2362, allocations: 227.4 kB / 0.6021 GB, free: 10.26 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.2365, allocations: 318.2 kB / 0.6025 GB, free: 9.945 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009061/0.2374, allocations: 0.9538 MB / 0.6034 GB, free: 8.988 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2375, allocations: 0 / 0.6034 GB, free: 8.988 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2375, allocations: 4 kB / 0.6034 GB, free: 8.984 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.2375, allocations: 0 / 0.6034 GB, free: 8.984 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.001821/0.2393, allocations: 0.962 MB / 0.6043 GB, free: 7.969 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.2394, allocations: 12.03 kB / 0.6043 GB, free: 7.957 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.2407, allocations: 187.9 kB / 0.6045 GB, free: 7.773 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006653/0.2414, allocations: 490.4 kB / 0.605 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.2414, allocations: 45.3 kB / 0.605 GB, free: 7.211 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.2416, allocations: 52.45 kB / 0.6051 GB, free: 7.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.2427, allocations: 0.8171 MB / 0.6059 GB, free: 6.258 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.2427, allocations: 7.938 kB / 0.6059 GB, free: 6.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/0.2428, allocations: 23.98 kB / 0.6059 GB, free: 6.227 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002497/0.243, allocations: 72.92 kB / 0.606 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008064/0.2438, allocations: 0.5619 MB / 0.6065 GB, free: 5.594 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004002/0.2478, allocations: 3.94 MB / 0.6104 GB, free: 1.453 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.2483, allocations: 307.3 kB / 0.6107 GB, free: 1.145 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.2486, allocations: 229.2 kB / 0.6109 GB, free: 0.918 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.2487, allocations: 8.219 kB / 0.6109 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.2487, allocations: 30.84 kB / 0.6109 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 3.517e-06/0.2487, allocations: 0 / 0.6109 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.005366/0.2541, allocations: 2.658 MB / 0.6135 GB, free: 14.08 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.2542, allocations: 59.41 kB / 0.6136 GB, free: 14.01 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.2547, allocations: 458 kB / 0.614 GB, free: 13.55 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.2547, allocations: 33.7 kB / 0.614 GB, free: 13.51 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.2549, allocations: 335.7 kB / 0.6144 GB, free: 13.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.2551, allocations: 145.9 kB / 0.6145 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.2552, allocations: 102.2 kB / 0.6146 GB, free: 12.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2554, allocations: 366.7 kB / 0.6149 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.2557, allocations: 237 kB / 0.6152 GB, free: 12.33 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.2562, allocations: 414.4 kB / 0.6156 GB, free: 11.85 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008046/0.257, allocations: 0.6786 MB / 0.6162 GB, free: 11.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.257, allocations: 0 / 0.6162 GB, free: 11.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001536/0.2585, allocations: 0.9216 MB / 0.6171 GB, free: 10.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.2586, allocations: 10.34 kB / 0.6171 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2586, allocations: 4 kB / 0.6171 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007884/0.2594, allocations: 226.4 kB / 0.6174 GB, free: 9.922 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.2599, allocations: 119.8 kB / 0.6175 GB, free: 9.805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004893/0.2648, allocations: 4.93 MB / 0.6223 GB, free: 4.473 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005037/0.2653, allocations: 31.97 kB / 0.6223 GB, free: 4.441 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.2654, allocations: 28.06 kB / 0.6223 GB, free: 4.414 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.0003474/0.2657, allocations: 217.6 kB / 0.6226 GB, free: 4.191 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.199e-05/0.2658, allocations: 63.28 kB / 0.6226 GB, free: 4.129 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.2674, allocations: 0.7781 MB / 0.6234 GB, free: 3.336 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.2674, allocations: 4 kB / 0.6234 GB, free: 3.332 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.2674, allocations: 4 kB / 0.6234 GB, free: 3.328 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.2674, allocations: 0 / 0.6234 GB, free: 3.328 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.27, allocations: 1.503 MB / 0.6249 GB, free: 1.738 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.27, allocations: 4.125 kB / 0.6249 GB, free: 1.734 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.2704, allocations: 71.89 kB / 0.6249 GB, free: 1.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007031/0.2711, allocations: 206.6 kB / 0.6251 GB, free: 1.453 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.2711, allocations: 12 kB / 0.6251 GB, free: 1.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004668/0.2758, allocations: 4.868 MB / 0.6299 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.2758, allocations: 8.062 kB / 0.6299 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.2776, allocations: 1.15 MB / 0.631 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.2779, allocations: 164.4 kB / 0.6312 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.914e-05/0.2779, allocations: 15.98 kB / 0.6312 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.2783, allocations: 28.03 kB / 0.6312 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.2784, allocations: 31.95 kB / 0.6312 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.2784, allocations: 19.94 kB / 0.6313 GB, free: 10.69 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003646/0.2788, allocations: 310.9 kB / 0.6316 GB, free: 10.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2788, allocations: 0 / 0.6316 GB, free: 10.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007116/0.2795, allocations: 164 kB / 0.6317 GB, free: 10.23 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.0001687/0.2797, allocations: 119.6 kB / 0.6318 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.2812, allocations: 1 MB / 0.6328 GB, free: 9.062 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.2813, allocations: 4.125 kB / 0.6328 GB, free: 9.059 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009426/0.2822, allocations: 0.6836 MB / 0.6335 GB, free: 8.336 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000877/0.2831, allocations: 160.4 kB / 0.6336 GB, free: 8.184 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.2854, allocations: 1.515 MB / 0.6351 GB, free: 6.621 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/0.286, allocations: 0.9417 MB / 0.636 GB, free: 5.652 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003888/0.2864, allocations: 117 kB / 0.6361 GB, free: 5.535 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.2865, allocations: 39.44 kB / 0.6362 GB, free: 5.496 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2865, allocations: 4 kB / 0.6362 GB, free: 5.492 MB / 494.1 MB Notification: Performance of Templates: time 0.01486/0.3014, allocations: 8.528 MB / 0.6445 GB, free: 13.11 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (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)