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.1491/0.151, allocations: 80.84 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006139/0.1572, allocations: 5.341 MB / 0.6759 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003723/0.1609, allocations: 2.771 MB / 0.6786 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.1612, allocations: 23.81 kB / 0.6786 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.1628, allocations: 0.6807 MB / 0.6793 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007813/0.1636, allocations: 437.8 kB / 0.6797 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007714/0.1644, allocations: 385.8 kB / 0.68 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000774/0.1651, allocations: 0.9242 MB / 0.6809 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005585/0.1657, allocations: 458.5 kB / 0.6814 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.1661, allocations: 362.6 kB / 0.6817 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004933/0.1666, allocations: 422.4 kB / 0.6821 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.1666, allocations: 44 kB / 0.6822 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004934/0.1671, allocations: 363.3 kB / 0.6825 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.1673, allocations: 239.3 kB / 0.6827 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.1676, allocations: 338.3 kB / 0.6831 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008035/0.1684, allocations: 0.9422 MB / 0.684 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1684, allocations: 3.938 kB / 0.684 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1684, allocations: 0 / 0.684 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.1685, allocations: 4 kB / 0.684 GB, free: 4.277 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.001377/0.1698, allocations: 0.9581 MB / 0.6849 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1699, allocations: 8.031 kB / 0.6849 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.1712, allocations: 187.9 kB / 0.6851 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007662/0.1719, allocations: 0.5141 MB / 0.6856 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.172, allocations: 37.36 kB / 0.6857 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.1721, allocations: 56.48 kB / 0.6857 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.1732, allocations: 0.8123 MB / 0.6865 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.1732, allocations: 7.938 kB / 0.6865 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-05/0.1733, allocations: 19.98 kB / 0.6865 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/0.1735, allocations: 68.94 kB / 0.6866 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007933/0.1743, allocations: 0.5619 MB / 0.6871 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003628/0.1779, allocations: 3.939 MB / 0.691 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.1784, allocations: 291.3 kB / 0.6913 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.1787, allocations: 233.3 kB / 0.6915 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.1787, allocations: 8.219 kB / 0.6915 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1787, allocations: 38.78 kB / 0.6915 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.1787, allocations: 0 / 0.6915 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40): time 0.005065/0.1838, allocations: 2.633 MB / 0.6941 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.1839, allocations: 63.34 kB / 0.6942 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.1843, allocations: 454 kB / 0.6946 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.1843, allocations: 33.7 kB / 0.6946 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.1845, allocations: 331.8 kB / 0.6949 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.568e-05/0.1846, allocations: 145.9 kB / 0.6951 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.1848, allocations: 106.2 kB / 0.6952 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1849, allocations: 362.7 kB / 0.6955 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.1852, allocations: 241 kB / 0.6958 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.1857, allocations: 410.3 kB / 0.6962 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007838/0.1864, allocations: 0.6863 MB / 0.6968 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1865, allocations: 4 kB / 0.6968 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001482/0.1879, allocations: 0.9176 MB / 0.6977 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.188, allocations: 12.09 kB / 0.6977 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.188, allocations: 4 kB / 0.6977 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007192/0.1887, allocations: 226.3 kB / 0.698 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/0.1892, allocations: 115.8 kB / 0.6981 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004575/0.1938, allocations: 5.339 MB / 0.7033 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.1942, allocations: 27.97 kB / 0.7033 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.1943, allocations: 24 kB / 0.7033 GB, free: 15.3 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.0002788/0.1945, allocations: 233.5 kB / 0.7036 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.1946, allocations: 59.41 kB / 0.7036 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.196, allocations: 0.7772 MB / 0.7044 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.196, allocations: 4 kB / 0.7044 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.196, allocations: 11.94 kB / 0.7044 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.196, allocations: 0 / 0.7044 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.1982, allocations: 1.482 MB / 0.7058 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1982, allocations: 4.188 kB / 0.7058 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/0.1986, allocations: 67.95 kB / 0.7059 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006187/0.1992, allocations: 210.5 kB / 0.7061 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.1992, allocations: 8 kB / 0.7061 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00436/0.2036, allocations: 5.277 MB / 0.7113 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2036, allocations: 4.094 kB / 0.7113 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.2052, allocations: 1.135 MB / 0.7124 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.2055, allocations: 172.3 kB / 0.7125 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.452e-05/0.2055, allocations: 8 kB / 0.7125 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.2059, allocations: 36.02 kB / 0.7126 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.206, allocations: 31.91 kB / 0.7126 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.206, allocations: 12 kB / 0.7126 GB, free: 5.172 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003347/0.2063, allocations: 310.9 kB / 0.7129 GB, free: 4.871 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2063, allocations: 4 kB / 0.7129 GB, free: 4.867 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000663/0.207, allocations: 164 kB / 0.7131 GB, free: 4.707 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.0001615/0.2072, allocations: 115.1 kB / 0.7132 GB, free: 4.582 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001594/0.2088, allocations: 1.013 MB / 0.7142 GB, free: 3.531 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.2088, allocations: 4.125 kB / 0.7142 GB, free: 3.527 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000886/0.2097, allocations: 0.6811 MB / 0.7148 GB, free: 2.809 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008398/0.2105, allocations: 188 kB / 0.715 GB, free: 2.637 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.2125, allocations: 1.246 MB / 0.7162 GB, free: 1.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.213, allocations: 0.9494 MB / 0.7172 GB, free: 372 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003184/0.2133, allocations: 117 kB / 0.7173 GB, free: 256 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.971e-05/0.2134, allocations: 35.44 kB / 0.7173 GB, free: 220 kB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.2134, allocations: 0 / 0.7173 GB, free: 220 kB / 0.545 GB Notification: Performance of Templates: time 0.01541/0.2289, allocations: 8.936 MB / 0.726 GB, free: 7.387 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)