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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [/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.178/0.1787, allocations: 82.22 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01068/0.1895, allocations: 9.114 MB / 0.6023 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.2014, allocations: 8.156 MB / 0.6102 GB, free: 4.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.2027, allocations: 43.69 kB / 0.6103 GB, free: 4.637 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006993/0.2034, allocations: 262.3 kB / 0.6105 GB, free: 4.379 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003767/0.2072, allocations: 1.267 MB / 0.6118 GB, free: 3.113 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.2085, allocations: 470.1 kB / 0.6122 GB, free: 2.656 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002145/0.2107, allocations: 1.339 MB / 0.6135 GB, free: 1.316 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002852/0.2136, allocations: 1.75 MB / 0.6152 GB, free: 15.53 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.2149, allocations: 0.7122 MB / 0.6159 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.216, allocations: 0.7315 MB / 0.6167 GB, free: 14.08 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.2161, allocations: 60 kB / 0.6167 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000943/0.217, allocations: 411.3 kB / 0.6171 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003776/0.2174, allocations: 430.7 kB / 0.6175 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.2177, allocations: 328.8 kB / 0.6178 GB, free: 12.87 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.2195, allocations: 1.882 MB / 0.6197 GB, free: 10.98 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2195, allocations: 4 kB / 0.6197 GB, free: 10.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.2196, allocations: 0 / 0.6197 GB, free: 10.98 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.2196, allocations: 0 / 0.6197 GB, free: 10.98 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002781/0.2224, allocations: 1.697 MB / 0.6213 GB, free: 9.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.2224, allocations: 8.031 kB / 0.6213 GB, free: 9.223 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.233, allocations: 2.112 MB / 0.6234 GB, free: 7.105 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/0.2354, allocations: 1.071 MB / 0.6244 GB, free: 5.977 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.301e-05/0.2355, allocations: 86.23 kB / 0.6245 GB, free: 5.891 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.2357, allocations: 115.9 kB / 0.6246 GB, free: 5.777 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005229/0.241, allocations: 2.454 MB / 0.627 GB, free: 3.176 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/0.241, allocations: 7.938 kB / 0.627 GB, free: 3.168 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.2412, allocations: 63.92 kB / 0.6271 GB, free: 3.105 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003374/0.2415, allocations: 126 kB / 0.6272 GB, free: 2.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006838/0.2484, allocations: 2.56 MB / 0.6297 GB, free: 420 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/0.2617, allocations: 8.513 MB / 0.638 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005967/0.2677, allocations: 1.991 MB / 0.64 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.164e-05/0.2678, allocations: 12.44 kB / 0.64 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.2679, allocations: 39 kB / 0.64 GB, free: 5.535 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 2.605e-06/0.2679, allocations: 7.938 kB / 0.64 GB, free: 5.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=81): time 0.03006/0.2979, allocations: 8.735 MB / 0.6486 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.298, allocations: 64 kB / 0.6486 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.2994, allocations: 1.089 MB / 0.6497 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.2996, allocations: 37.7 kB / 0.6497 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007443/0.3003, allocations: 0.7301 MB / 0.6504 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.3006, allocations: 272 kB / 0.6507 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.3006, allocations: 16 kB / 0.6507 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3008, allocations: 345.9 kB / 0.651 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/0.3036, allocations: 1.095 MB / 0.6521 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002947/0.3065, allocations: 1.317 MB / 0.6534 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002865/0.3094, allocations: 1.154 MB / 0.6545 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3094, allocations: 4 kB / 0.6545 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008585/0.318, allocations: 3.308 MB / 0.6578 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.3181, allocations: 8 kB / 0.6578 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.3181, allocations: 8 kB / 0.6578 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002641/0.3207, allocations: 0.799 MB / 0.6586 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.3226, allocations: 423.3 kB / 0.659 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/0.337, allocations: 14.98 MB / 0.6736 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/0.3393, allocations: 303.6 kB / 0.6739 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.3394, allocations: 51.95 kB / 0.6739 GB, free: 1.488 MB / 0.5137 GB 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007024/0.3401, allocations: 397.5 kB / 0.6743 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.3403, allocations: 142.3 kB / 0.6744 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008366/0.3487, allocations: 3.238 MB / 0.6776 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.3487, allocations: 8 kB / 0.6776 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.3488, allocations: 8 kB / 0.6776 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.3488, allocations: 7.938 kB / 0.6776 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.3601, allocations: 4.956 MB / 0.6825 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.3601, allocations: 0 / 0.6825 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/0.3617, allocations: 359.7 kB / 0.6828 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002192/0.3639, allocations: 0.7016 MB / 0.6835 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.338e-05/0.364, allocations: 31.97 kB / 0.6835 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2852/0.6492, allocations: 14.6 MB / 0.6978 GB, free: 84.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6492, allocations: 5.812 kB / 0.6978 GB, free: 84.51 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007547/0.6568, allocations: 3.234 MB / 0.7009 GB, free: 84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009745/0.6578, allocations: 386.6 kB / 0.7013 GB, free: 83.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/0.6581, allocations: 14.11 kB / 0.7013 GB, free: 83.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002005/0.6601, allocations: 306.4 kB / 0.7016 GB, free: 83.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000406/0.6605, allocations: 84.89 kB / 0.7017 GB, free: 83.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.6606, allocations: 40.06 kB / 0.7017 GB, free: 83.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001243/0.6619, allocations: 0.7288 MB / 0.7024 GB, free: 83.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6619, allocations: 3.828 kB / 0.7024 GB, free: 83.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001633/0.6635, allocations: 423.9 kB / 0.7029 GB, free: 83.79 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002291/0.6638, allocations: 129 kB / 0.703 GB, free: 83.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00884/0.6726, allocations: 3.653 MB / 0.7065 GB, free: 82.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.6727, allocations: 3.438 kB / 0.7065 GB, free: 82.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00498/0.6777, allocations: 2.392 MB / 0.7089 GB, free: 81.83 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.6799, allocations: 476.6 kB / 0.7093 GB, free: 81.83 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007612/0.6876, allocations: 3.951 MB / 0.7132 GB, free: 80.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.6886, allocations: 1.412 MB / 0.7146 GB, free: 79.64 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001758/0.6904, allocations: 387.4 kB / 0.7149 GB, free: 79.51 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/0.6908, allocations: 106.7 kB / 0.715 GB, free: 79.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.363e-06/0.6908, allocations: 1.875 kB / 0.715 GB, free: 79.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.03754/0.7283, allocations: 28.15 MB / 0.7425 GB, free: 60.96 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: