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.1655/0.1662, allocations: 82.21 MB / 0.5934 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005988/0.1722, allocations: 5.655 MB / 0.5989 GB, free: 324 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004554/0.1768, allocations: 3.031 MB / 0.6019 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005171/0.1774, allocations: 23.81 kB / 0.6019 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.1778, allocations: 119.1 kB / 0.602 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.1789, allocations: 442.6 kB / 0.6024 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008553/0.1798, allocations: 318.2 kB / 0.6027 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008085/0.1806, allocations: 0.7271 MB / 0.6034 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.1822, allocations: 0.921 MB / 0.6043 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000515/0.1827, allocations: 346.7 kB / 0.6047 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005928/0.1834, allocations: 414.5 kB / 0.6051 GB, free: 9.973 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.428e-05/0.1834, allocations: 39.94 kB / 0.6051 GB, free: 9.934 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.1838, allocations: 139.9 kB / 0.6052 GB, free: 9.797 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.184, allocations: 243.3 kB / 0.6055 GB, free: 9.559 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1841, allocations: 169.3 kB / 0.6056 GB, free: 9.387 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000775/0.1849, allocations: 0.8611 MB / 0.6065 GB, free: 8.523 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1849, allocations: 0 / 0.6065 GB, free: 8.523 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1849, allocations: 0 / 0.6065 GB, free: 8.523 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.1849, allocations: 0 / 0.6065 GB, free: 8.523 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.001554/0.1865, allocations: 0.9884 MB / 0.6074 GB, free: 7.488 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1865, allocations: 12.03 kB / 0.6074 GB, free: 7.477 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.1877, allocations: 218.7 kB / 0.6077 GB, free: 7.262 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/0.1886, allocations: 0.5326 MB / 0.6082 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.1886, allocations: 49.3 kB / 0.6082 GB, free: 6.637 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/0.1887, allocations: 59.98 kB / 0.6083 GB, free: 6.578 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.19, allocations: 1.065 MB / 0.6093 GB, free: 5.406 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.1901, allocations: 3.938 kB / 0.6093 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.544e-05/0.1901, allocations: 35.92 kB / 0.6094 GB, free: 5.367 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/0.1903, allocations: 89.25 kB / 0.6094 GB, free: 5.281 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.1913, allocations: 0.7387 MB / 0.6102 GB, free: 4.543 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004413/0.1957, allocations: 4.858 MB / 0.6149 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008804/0.1966, allocations: 0.5622 MB / 0.6155 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.1967, allocations: 4.438 kB / 0.6155 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.1967, allocations: 42.94 kB / 0.6155 GB, free: 14.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 1.483e-06/0.1967, allocations: 0 / 0.6155 GB, free: 14.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=48): time 0.003527/0.2002, allocations: 1.984 MB / 0.6174 GB, free: 12.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.2003, allocations: 55.84 kB / 0.6175 GB, free: 12.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006808/0.201, allocations: 0.547 MB / 0.618 GB, free: 12.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/0.2011, allocations: 37.7 kB / 0.6181 GB, free: 12.13 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.2014, allocations: 414.9 kB / 0.6185 GB, free: 11.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.2015, allocations: 169.6 kB / 0.6186 GB, free: 11.55 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.2016, allocations: 12 kB / 0.6186 GB, free: 11.54 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.2018, allocations: 378.7 kB / 0.619 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.2022, allocations: 277.8 kB / 0.6193 GB, free: 10.89 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/0.2028, allocations: 489 kB / 0.6197 GB, free: 10.31 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005135/0.2033, allocations: 350 kB / 0.6201 GB, free: 9.973 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2033, allocations: 7.938 kB / 0.6201 GB, free: 9.965 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001723/0.2051, allocations: 1.072 MB / 0.6211 GB, free: 8.875 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.2051, allocations: 15.94 kB / 0.6211 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.2051, allocations: 8 kB / 0.6211 GB, free: 8.852 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007771/0.2059, allocations: 279.2 kB / 0.6214 GB, free: 8.566 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.2064, allocations: 131.7 kB / 0.6215 GB, free: 8.438 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005876/0.2123, allocations: 6.689 MB / 0.6281 GB, free: 1.215 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/0.2129, allocations: 43.95 kB / 0.6281 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/0.2129, allocations: 31.94 kB / 0.6281 GB, free: 1.141 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003829/0.2133, allocations: 261.5 kB / 0.6284 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.2134, allocations: 71.16 kB / 0.6284 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.215, allocations: 0.8847 MB / 0.6293 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.215, allocations: 4 kB / 0.6293 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.215, allocations: 4 kB / 0.6293 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.215, allocations: 7.938 kB / 0.6293 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.2175, allocations: 1.724 MB / 0.631 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2175, allocations: 0 / 0.631 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.2178, allocations: 67.88 kB / 0.6311 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006937/0.2185, allocations: 263.3 kB / 0.6313 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.2185, allocations: 12 kB / 0.6313 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005711/0.2242, allocations: 6.693 MB / 0.6379 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.2243, allocations: 4.031 kB / 0.6379 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.2258, allocations: 1.048 MB / 0.6389 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.2261, allocations: 196.2 kB / 0.6391 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.543e-05/0.2261, allocations: 12 kB / 0.6391 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/0.2265, allocations: 27.97 kB / 0.6391 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.421e-05/0.2266, allocations: 43.88 kB / 0.6392 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.2267, allocations: 20 kB / 0.6392 GB, free: 5.047 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004099/0.2271, allocations: 375.1 kB / 0.6395 GB, free: 4.684 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2271, allocations: 0 / 0.6395 GB, free: 4.684 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007543/0.2278, allocations: 220 kB / 0.6398 GB, free: 4.469 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001599/0.228, allocations: 115.1 kB / 0.6399 GB, free: 4.348 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.2298, allocations: 1.268 MB / 0.6411 GB, free: 3.035 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2298, allocations: 0 / 0.6411 GB, free: 3.035 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.231, allocations: 0.8894 MB / 0.642 GB, free: 2.094 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008833/0.2319, allocations: 190.7 kB / 0.6422 GB, free: 1.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.2341, allocations: 1.621 MB / 0.6437 GB, free: 244 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.2348, allocations: 1.024 MB / 0.6447 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004129/0.2352, allocations: 130.5 kB / 0.6449 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.2353, allocations: 39.44 kB / 0.6449 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2353, allocations: 0 / 0.6449 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.01818/0.2535, allocations: 10.24 MB / 0.6549 GB, free: 4.93 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: