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.2244/0.2266, allocations: 80.84 MB / 0.6706 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008142/0.2348, allocations: 5.357 MB / 0.6759 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005902/0.2408, allocations: 2.764 MB / 0.6786 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007077/0.2416, allocations: 23.81 kB / 0.6786 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.2438, allocations: 0.6768 MB / 0.6793 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.2456, allocations: 433.8 kB / 0.6797 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.247, allocations: 394.4 kB / 0.68 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001437/0.2484, allocations: 0.9281 MB / 0.681 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000772/0.2492, allocations: 454.5 kB / 0.6814 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/0.2498, allocations: 366.6 kB / 0.6817 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007229/0.2505, allocations: 414.4 kB / 0.6821 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.591e-05/0.2506, allocations: 48 kB / 0.6822 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008455/0.2515, allocations: 359.3 kB / 0.6825 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.2517, allocations: 247.3 kB / 0.6828 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003325/0.2521, allocations: 330.3 kB / 0.6831 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.2534, allocations: 0.9611 MB / 0.684 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.2534, allocations: 0 / 0.684 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2534, allocations: 0 / 0.684 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.2534, allocations: 0 / 0.684 GB, free: 4.371 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.001738/0.2551, allocations: 0.9729 MB / 0.685 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.2552, allocations: 8.031 kB / 0.685 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.2567, allocations: 192.3 kB / 0.6851 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009338/0.2576, allocations: 0.5145 MB / 0.6857 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/0.2577, allocations: 41.36 kB / 0.6857 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.2579, allocations: 44.56 kB / 0.6857 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.2591, allocations: 0.8201 MB / 0.6865 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.2592, allocations: 11.88 kB / 0.6865 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-05/0.2593, allocations: 23.98 kB / 0.6866 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002068/0.2595, allocations: 64.95 kB / 0.6866 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008929/0.2604, allocations: 0.5619 MB / 0.6872 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004379/0.2648, allocations: 3.944 MB / 0.691 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004982/0.2653, allocations: 291.3 kB / 0.6913 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.2656, allocations: 229.2 kB / 0.6915 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.2657, allocations: 8.219 kB / 0.6915 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.2657, allocations: 42.83 kB / 0.6916 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/0.2657, allocations: 0 / 0.6916 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40): time 0.005906/0.2716, allocations: 2.642 MB / 0.6942 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.2717, allocations: 55.41 kB / 0.6942 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/0.2723, allocations: 462 kB / 0.6947 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.2723, allocations: 29.7 kB / 0.6947 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.2726, allocations: 336.6 kB / 0.695 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.2727, allocations: 154.7 kB / 0.6951 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.2729, allocations: 106.2 kB / 0.6952 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.2731, allocations: 366.7 kB / 0.6956 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.2735, allocations: 233 kB / 0.6958 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.274, allocations: 418.3 kB / 0.6962 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000943/0.2749, allocations: 0.6786 MB / 0.6969 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.275, allocations: 0 / 0.6969 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00174/0.2767, allocations: 0.9219 MB / 0.6978 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.2767, allocations: 11.94 kB / 0.6978 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.2768, allocations: 12.03 kB / 0.6978 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008005/0.2776, allocations: 226.3 kB / 0.698 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005356/0.2781, allocations: 119.8 kB / 0.6981 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005519/0.2837, allocations: 5.344 MB / 0.7034 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/0.2843, allocations: 31.97 kB / 0.7034 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.2843, allocations: 20 kB / 0.7034 GB, free: 15.34 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.0003429/0.2847, allocations: 229.6 kB / 0.7036 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.2848, allocations: 59.62 kB / 0.7037 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.2863, allocations: 0.7734 MB / 0.7044 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2863, allocations: 4 kB / 0.7044 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2863, allocations: 7.938 kB / 0.7044 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.2863, allocations: 7.984 kB / 0.7045 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.2887, allocations: 1.482 MB / 0.7059 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2887, allocations: 3.938 kB / 0.7059 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.2891, allocations: 71.94 kB / 0.706 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006707/0.2897, allocations: 206.5 kB / 0.7062 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.2898, allocations: 8 kB / 0.7062 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005037/0.2948, allocations: 5.274 MB / 0.7113 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2949, allocations: 3.938 kB / 0.7113 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.2968, allocations: 1.139 MB / 0.7124 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.2971, allocations: 172.7 kB / 0.7126 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/0.2971, allocations: 20.06 kB / 0.7126 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.2975, allocations: 31.97 kB / 0.7127 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.2976, allocations: 35.95 kB / 0.7127 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.2976, allocations: 19.94 kB / 0.7127 GB, free: 5.195 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004045/0.298, allocations: 306.9 kB / 0.713 GB, free: 4.898 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.298, allocations: 0 / 0.713 GB, free: 4.898 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008065/0.2988, allocations: 168 kB / 0.7132 GB, free: 4.734 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.0002312/0.2991, allocations: 119.1 kB / 0.7133 GB, free: 4.605 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.3007, allocations: 1.005 MB / 0.7143 GB, free: 3.562 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3008, allocations: 0 / 0.7143 GB, free: 3.562 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009623/0.3017, allocations: 0.6929 MB / 0.7149 GB, free: 2.832 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008847/0.3026, allocations: 174.3 kB / 0.7151 GB, free: 2.668 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.3048, allocations: 1.276 MB / 0.7163 GB, free: 1.344 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/0.3054, allocations: 0.9416 MB / 0.7173 GB, free: 384 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003413/0.3057, allocations: 117 kB / 0.7174 GB, free: 268 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.3058, allocations: 35.44 kB / 0.7174 GB, free: 232 kB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.3058, allocations: 0 / 0.7174 GB, free: 232 kB / 0.545 GB Notification: Performance of Templates: time 0.0178/0.3236, allocations: 8.963 MB / 0.7262 GB, free: 7.375 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)