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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [/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.1824/0.1859, allocations: 80.83 MB / 0.5897 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01049/0.1965, allocations: 6.639 MB / 0.5962 GB, free: 436 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005925/0.2025, allocations: 3.255 MB / 0.5993 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007549/0.2033, allocations: 27.81 kB / 0.5994 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.2058, allocations: 0.8755 MB / 0.6002 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001866/0.2077, allocations: 0.5055 MB / 0.6007 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.209, allocations: 387.3 kB / 0.6011 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.2108, allocations: 1.571 MB / 0.6026 GB, free: 9.793 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.212, allocations: 0.6415 MB / 0.6033 GB, free: 9.148 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008417/0.2129, allocations: 418.3 kB / 0.6037 GB, free: 8.738 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000999/0.2139, allocations: 0.5487 MB / 0.6042 GB, free: 8.188 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.214, allocations: 48 kB / 0.6042 GB, free: 8.141 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.2151, allocations: 451.1 kB / 0.6047 GB, free: 7.699 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003344/0.2154, allocations: 279.2 kB / 0.6049 GB, free: 7.426 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005311/0.2159, allocations: 417.8 kB / 0.6053 GB, free: 7.016 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.2175, allocations: 1.187 MB / 0.6065 GB, free: 5.824 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.2175, allocations: 0 / 0.6065 GB, free: 5.824 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2176, allocations: 0 / 0.6065 GB, free: 5.824 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.2176, allocations: 0 / 0.6065 GB, free: 5.824 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002302/0.2199, allocations: 1.152 MB / 0.6076 GB, free: 4.625 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2199, allocations: 8.031 kB / 0.6076 GB, free: 4.617 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.2216, allocations: 243.5 kB / 0.6079 GB, free: 4.379 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008719/0.2225, allocations: 0.5375 MB / 0.6084 GB, free: 3.801 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.2225, allocations: 41.69 kB / 0.6084 GB, free: 3.758 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.2226, allocations: 72.25 kB / 0.6085 GB, free: 3.688 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.2242, allocations: 1.081 MB / 0.6095 GB, free: 2.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.2243, allocations: 7.938 kB / 0.6096 GB, free: 2.492 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.48e-05/0.2243, allocations: 24 kB / 0.6096 GB, free: 2.469 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/0.2245, allocations: 85.25 kB / 0.6097 GB, free: 2.387 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.2257, allocations: 0.7426 MB / 0.6104 GB, free: 1.645 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005992/0.2317, allocations: 4.87 MB / 0.6151 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.2328, allocations: 0.5516 MB / 0.6157 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004771/0.2333, allocations: 333.4 kB / 0.616 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.2334, allocations: 4.438 kB / 0.616 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.2334, allocations: 43 kB / 0.616 GB, free: 11.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 2.475e-06/0.2334, allocations: 0 / 0.616 GB, free: 11.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=48): time 0.003934/0.2374, allocations: 1.978 MB / 0.618 GB, free: 9.574 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.2374, allocations: 59.84 kB / 0.618 GB, free: 9.504 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006399/0.2381, allocations: 0.5509 MB / 0.6186 GB, free: 8.941 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.2381, allocations: 37.7 kB / 0.6186 GB, free: 8.898 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.2384, allocations: 414.9 kB / 0.619 GB, free: 8.484 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.2386, allocations: 181.5 kB / 0.6192 GB, free: 8.305 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.2387, allocations: 122.5 kB / 0.6193 GB, free: 8.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.2389, allocations: 374.8 kB / 0.6196 GB, free: 7.805 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003966/0.2393, allocations: 273.8 kB / 0.6199 GB, free: 7.535 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.2399, allocations: 0.5009 MB / 0.6204 GB, free: 6.938 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.2409, allocations: 0.8093 MB / 0.6212 GB, free: 6.035 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.2409, allocations: 7.938 kB / 0.6212 GB, free: 6.027 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001851/0.2428, allocations: 1.079 MB / 0.6222 GB, free: 4.926 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.2428, allocations: 8 kB / 0.6223 GB, free: 4.918 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.2428, allocations: 7.938 kB / 0.6223 GB, free: 4.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008566/0.2437, allocations: 279.5 kB / 0.6225 GB, free: 4.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.2442, allocations: 123.8 kB / 0.6226 GB, free: 4.504 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006124/0.2503, allocations: 6.602 MB / 0.6291 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/0.2511, allocations: 39.95 kB / 0.6291 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.507e-05/0.2512, allocations: 28 kB / 0.6292 GB, free: 13.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0004399/0.2516, allocations: 250.5 kB / 0.6294 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.2518, allocations: 75.09 kB / 0.6295 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.2534, allocations: 0.8925 MB / 0.6303 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.2534, allocations: 4 kB / 0.6303 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.2534, allocations: 7.938 kB / 0.6304 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2534, allocations: 3.984 kB / 0.6304 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.2561, allocations: 1.724 MB / 0.632 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2561, allocations: 3.938 kB / 0.632 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.2564, allocations: 67.88 kB / 0.6321 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007428/0.2572, allocations: 263.4 kB / 0.6324 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.2572, allocations: 19.94 kB / 0.6324 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006186/0.2634, allocations: 6.579 MB / 0.6388 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.2635, allocations: 8 kB / 0.6388 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.2652, allocations: 0.9796 MB / 0.6398 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/0.2655, allocations: 192.2 kB / 0.64 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/0.2656, allocations: 11.98 kB / 0.64 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.266, allocations: 31.97 kB / 0.64 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.2661, allocations: 47.81 kB / 0.64 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.2662, allocations: 16 kB / 0.6401 GB, free: 1.414 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004823/0.2667, allocations: 387.1 kB / 0.6404 GB, free: 1.039 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2667, allocations: 0 / 0.6404 GB, free: 1.039 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008624/0.2675, allocations: 223.9 kB / 0.6406 GB, free: 0.8203 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001754/0.2677, allocations: 115.7 kB / 0.6407 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.2698, allocations: 1.264 MB / 0.642 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.2698, allocations: 0 / 0.642 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.271, allocations: 0.8893 MB / 0.6429 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.2721, allocations: 206.4 kB / 0.643 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.2744, allocations: 1.677 MB / 0.6447 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005745/0.275, allocations: 1.005 MB / 0.6457 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004306/0.2755, allocations: 126 kB / 0.6458 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.2756, allocations: 39.44 kB / 0.6458 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.2756, allocations: 0 / 0.6458 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.01772/0.2933, allocations: 10.75 MB / 0.6563 GB, free: 0.7305 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)