Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.2343/0.237, allocations: 80.84 MB / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.009289/0.2463, allocations: 5.353 MB / 0.6759 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005514/0.2519, allocations: 2.768 MB / 0.6786 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007158/0.2526, allocations: 23.81 kB / 0.6786 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002213/0.2549, allocations: 0.6845 MB / 0.6793 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.2563, allocations: 429.8 kB / 0.6797 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.2575, allocations: 385.2 kB / 0.68 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001119/0.2586, allocations: 0.9281 MB / 0.6809 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006501/0.2593, allocations: 454.5 kB / 0.6814 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004795/0.2597, allocations: 374.6 kB / 0.6817 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006229/0.2604, allocations: 410.4 kB / 0.6821 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.586e-05/0.2605, allocations: 48 kB / 0.6822 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007871/0.2613, allocations: 363.3 kB / 0.6825 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.2616, allocations: 243.3 kB / 0.6827 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.2619, allocations: 334.3 kB / 0.6831 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.2631, allocations: 0.95 MB / 0.684 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2631, allocations: 0 / 0.684 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2631, allocations: 0 / 0.684 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.2631, allocations: 0 / 0.684 GB, free: 4.289 MB / 0.5137 GB 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.001646/0.2648, allocations: 0.9582 MB / 0.6849 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.2648, allocations: 8.031 kB / 0.6849 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.2662, allocations: 187.9 kB / 0.6851 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008434/0.267, allocations: 0.5102 MB / 0.6856 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.2671, allocations: 41.34 kB / 0.6857 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.2672, allocations: 56.48 kB / 0.6857 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.2684, allocations: 0.8162 MB / 0.6865 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.2684, allocations: 7.938 kB / 0.6865 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/0.2685, allocations: 23.98 kB / 0.6865 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001914/0.2687, allocations: 60.95 kB / 0.6866 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008457/0.2695, allocations: 0.5657 MB / 0.6871 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004369/0.2739, allocations: 3.939 MB / 0.691 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/0.2744, allocations: 291.3 kB / 0.6913 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.2748, allocations: 225.3 kB / 0.6915 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.2748, allocations: 16.2 kB / 0.6915 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.2749, allocations: 38.84 kB / 0.6915 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.575e-06/0.2749, allocations: 3.938 kB / 0.6915 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40): time 0.005756/0.2806, allocations: 2.63 MB / 0.6941 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.2807, allocations: 55.41 kB / 0.6942 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/0.2813, allocations: 461.9 kB / 0.6946 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.2813, allocations: 33.7 kB / 0.6946 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.2816, allocations: 327.8 kB / 0.6949 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.2817, allocations: 149.9 kB / 0.6951 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.2819, allocations: 106.2 kB / 0.6952 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002197/0.2821, allocations: 362.7 kB / 0.6955 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.2825, allocations: 237 kB / 0.6958 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.2831, allocations: 410.3 kB / 0.6962 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009172/0.284, allocations: 0.6824 MB / 0.6968 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.284, allocations: 4 kB / 0.6968 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001734/0.2858, allocations: 0.9171 MB / 0.6977 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.2858, allocations: 8 kB / 0.6977 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.2858, allocations: 12.59 kB / 0.6977 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008505/0.2867, allocations: 218.4 kB / 0.6979 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.2872, allocations: 119.8 kB / 0.6981 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005603/0.2928, allocations: 5.343 MB / 0.7033 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.2934, allocations: 35.97 kB / 0.7033 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/0.2935, allocations: 20 kB / 0.7033 GB, free: 15.31 MB / 0.545 GB 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.0003984/0.2939, allocations: 233.6 kB / 0.7036 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.294, allocations: 55.34 kB / 0.7036 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.2955, allocations: 0.7773 MB / 0.7044 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.2955, allocations: 4 kB / 0.7044 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2956, allocations: 11.92 kB / 0.7044 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2956, allocations: 0 / 0.7044 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/0.2981, allocations: 1.486 MB / 0.7058 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.2981, allocations: 3.984 kB / 0.7058 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.2985, allocations: 67.95 kB / 0.7059 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006786/0.2992, allocations: 210.6 kB / 0.7061 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.2993, allocations: 11.98 kB / 0.7061 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005256/0.3045, allocations: 5.265 MB / 0.7113 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3045, allocations: 0 / 0.7113 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.3063, allocations: 1.146 MB / 0.7124 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.3066, allocations: 172.4 kB / 0.7125 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.3067, allocations: 8 kB / 0.7126 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.307, allocations: 27.97 kB / 0.7126 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.3071, allocations: 39.95 kB / 0.7126 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.3072, allocations: 12 kB / 0.7126 GB, free: 5.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003527/0.3075, allocations: 310.9 kB / 0.7129 GB, free: 4.879 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3075, allocations: 0 / 0.7129 GB, free: 4.879 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007231/0.3082, allocations: 168 kB / 0.7131 GB, free: 4.715 MB / 0.545 GB 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.0001724/0.3084, allocations: 115.1 kB / 0.7132 GB, free: 4.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001632/0.3101, allocations: 1.005 MB / 0.7142 GB, free: 3.547 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3101, allocations: 0 / 0.7142 GB, free: 3.547 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009482/0.311, allocations: 0.6851 MB / 0.7148 GB, free: 2.824 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008705/0.3119, allocations: 188.1 kB / 0.715 GB, free: 2.652 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.314, allocations: 1.247 MB / 0.7162 GB, free: 1.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006143/0.3146, allocations: 0.9455 MB / 0.7172 GB, free: 392 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003204/0.315, allocations: 120.9 kB / 0.7173 GB, free: 272 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.3151, allocations: 43.42 kB / 0.7173 GB, free: 228 kB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.3151, allocations: 4 kB / 0.7173 GB, free: 224 kB / 0.545 GB Notification: Performance of Templates: time 0.01637/0.3315, allocations: 9.123 MB / 0.7262 GB, free: 7.207 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)