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.2079/0.2087, allocations: 82.22 MB / 0.5941 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006283/0.215, allocations: 4.984 MB / 0.599 GB, free: 0.543 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004964/0.22, allocations: 2.733 MB / 0.6017 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005998/0.2207, allocations: 15.88 kB / 0.6017 GB, free: 13.78 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.2211, allocations: 103.1 kB / 0.6018 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.2223, allocations: 406.1 kB / 0.6022 GB, free: 13.28 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.2233, allocations: 359 kB / 0.6025 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.2247, allocations: 1.221 MB / 0.6037 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.2262, allocations: 0.7912 MB / 0.6045 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006297/0.2268, allocations: 306.6 kB / 0.6048 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006398/0.2275, allocations: 394.5 kB / 0.6051 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.385e-05/0.2275, allocations: 24 kB / 0.6052 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000832/0.2284, allocations: 439 kB / 0.6056 GB, free: 9.746 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.2286, allocations: 203.4 kB / 0.6058 GB, free: 9.547 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003359/0.229, allocations: 332 kB / 0.6061 GB, free: 9.215 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009645/0.2299, allocations: 0.938 MB / 0.607 GB, free: 8.273 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2299, allocations: 3.938 kB / 0.607 GB, free: 8.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.23, allocations: 0 / 0.607 GB, free: 8.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.23, allocations: 0 / 0.607 GB, free: 8.27 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.001474/0.2315, allocations: 0.826 MB / 0.6078 GB, free: 7.391 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.2315, allocations: 12.02 kB / 0.6078 GB, free: 7.379 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.2329, allocations: 191.8 kB / 0.608 GB, free: 7.191 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007308/0.2337, allocations: 478.5 kB / 0.6085 GB, free: 6.684 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.062e-05/0.2337, allocations: 45.36 kB / 0.6085 GB, free: 6.641 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.2339, allocations: 52.45 kB / 0.6086 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.2351, allocations: 0.8132 MB / 0.6094 GB, free: 5.691 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.2352, allocations: 11.92 kB / 0.6094 GB, free: 5.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.718e-05/0.2352, allocations: 23.98 kB / 0.6094 GB, free: 5.656 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002303/0.2355, allocations: 68.89 kB / 0.6095 GB, free: 5.586 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008707/0.2364, allocations: 0.5618 MB / 0.61 GB, free: 5.027 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004301/0.2407, allocations: 3.947 MB / 0.6139 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.2412, allocations: 307.2 kB / 0.6141 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.2415, allocations: 225.3 kB / 0.6144 GB, free: 356 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.2415, allocations: 12.22 kB / 0.6144 GB, free: 344 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2416, allocations: 30.84 kB / 0.6144 GB, free: 304 kB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 3.486e-06/0.2416, allocations: 0 / 0.6144 GB, free: 304 kB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.005859/0.2475, allocations: 2.65 MB / 0.617 GB, free: 13.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.2475, allocations: 55.41 kB / 0.617 GB, free: 13.45 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/0.2481, allocations: 450 kB / 0.6175 GB, free: 13 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.2482, allocations: 41.7 kB / 0.6175 GB, free: 12.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.2484, allocations: 335.7 kB / 0.6178 GB, free: 12.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.2486, allocations: 141.9 kB / 0.618 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.2486, allocations: 53.69 kB / 0.618 GB, free: 12.42 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.2489, allocations: 362.7 kB / 0.6184 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/0.2492, allocations: 240.9 kB / 0.6186 GB, free: 11.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.2498, allocations: 410.4 kB / 0.619 GB, free: 11.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009838/0.2508, allocations: 0.6864 MB / 0.6197 GB, free: 10.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2508, allocations: 0 / 0.6197 GB, free: 10.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001717/0.2525, allocations: 0.921 MB / 0.6206 GB, free: 9.648 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.2525, allocations: 8 kB / 0.6206 GB, free: 9.641 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.2526, allocations: 4.656 kB / 0.6206 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008423/0.2534, allocations: 226.4 kB / 0.6208 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.254, allocations: 115.8 kB / 0.6209 GB, free: 9.293 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004908/0.2589, allocations: 4.931 MB / 0.6257 GB, free: 3.965 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/0.2594, allocations: 35.91 kB / 0.6257 GB, free: 3.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.2595, allocations: 24.19 kB / 0.6258 GB, free: 3.906 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.0003602/0.2598, allocations: 225.7 kB / 0.626 GB, free: 3.676 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/0.2599, allocations: 59.28 kB / 0.626 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.2615, allocations: 0.7858 MB / 0.6268 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.2615, allocations: 4 kB / 0.6268 GB, free: 2.812 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2615, allocations: 3.984 kB / 0.6268 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2615, allocations: 0 / 0.6268 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.2639, allocations: 1.483 MB / 0.6283 GB, free: 1.238 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.2639, allocations: 12.02 kB / 0.6283 GB, free: 1.227 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/0.2643, allocations: 67.89 kB / 0.6283 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000666/0.265, allocations: 202.4 kB / 0.6285 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.265, allocations: 8 kB / 0.6285 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004613/0.2696, allocations: 4.876 MB / 0.6333 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2697, allocations: 0 / 0.6333 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.2715, allocations: 1.151 MB / 0.6344 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.2718, allocations: 176.4 kB / 0.6346 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.2719, allocations: 8 kB / 0.6346 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.2722, allocations: 23.97 kB / 0.6346 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.2e-05/0.2723, allocations: 43.95 kB / 0.6347 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.2723, allocations: 11.94 kB / 0.6347 GB, free: 10.19 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003639/0.2727, allocations: 314.9 kB / 0.635 GB, free: 9.883 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2727, allocations: 0 / 0.635 GB, free: 9.883 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006866/0.2734, allocations: 164 kB / 0.6351 GB, free: 9.723 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.2736, allocations: 123.4 kB / 0.6353 GB, free: 9.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.2752, allocations: 1 MB / 0.6362 GB, free: 8.551 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2752, allocations: 0 / 0.6362 GB, free: 8.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009492/0.2762, allocations: 0.6838 MB / 0.6369 GB, free: 7.828 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009887/0.2772, allocations: 159.1 kB / 0.6371 GB, free: 7.676 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.2793, allocations: 1.56 MB / 0.6386 GB, free: 6.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.2799, allocations: 0.9377 MB / 0.6395 GB, free: 5.105 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003658/0.2802, allocations: 117 kB / 0.6396 GB, free: 4.988 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.719e-05/0.2803, allocations: 35.44 kB / 0.6396 GB, free: 4.953 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2804, allocations: 7.938 kB / 0.6396 GB, free: 4.945 MB / 494.1 MB Notification: Performance of Templates: time 0.01429/0.2947, allocations: 8.376 MB / 0.6478 GB, free: 12.69 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: