Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7032/0.7032, allocations: 132.3 MB / 144.9 MB, free: 10.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001034/0.001034, allocations: 178 kB / 176.9 MB, free: 2.184 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.202/1.202, allocations: 170.5 MB / 379.3 MB, free: 11.94 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001539/0.001539, allocations: 115.2 kB / 450 MB, free: 5.844 MB / 346.7 MB [/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.3846/0.3847, allocations: 73.39 MB / 0.6736 GB, free: 47.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.5539, allocations: 144.9 MB / 0.8151 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.5542, allocations: 95.41 kB / 0.8152 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.06728/0.6215, allocations: 28.72 MB / 0.8433 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6216, allocations: 0 / 0.8433 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.927e-05/0.6216, allocations: 8 kB / 0.8433 GB, free: 6.699 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009976/0.6226, allocations: 0.691 MB / 0.844 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.6227, allocations: 8.031 kB / 0.844 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.6251, allocations: 0.5677 MB / 0.8445 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007802/0.6259, allocations: 474.7 kB / 0.845 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.6259, allocations: 28.7 kB / 0.845 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-05/0.626, allocations: 32 kB / 0.845 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008551/0.6269, allocations: 0.581 MB / 0.8456 GB, free: 4.219 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.6269, allocations: 0 / 0.8456 GB, free: 4.219 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.621e-05/0.627, allocations: 16 kB / 0.8456 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/0.627, allocations: 20.77 kB / 0.8456 GB, free: 4.184 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007366/0.6278, allocations: 0.5066 MB / 0.8461 GB, free: 3.676 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/0.6315, allocations: 2.463 MB / 0.8485 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008045/0.6323, allocations: 350.3 kB / 0.8489 GB, free: 0.7422 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.6326, allocations: 164.8 kB / 0.849 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.6327, allocations: 93.28 kB / 0.8491 GB, free: 480 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.6327, allocations: 34.56 kB / 0.8491 GB, free: 436 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.6327, allocations: 4 kB / 0.8492 GB, free: 432 kB / 0.5417 GB Notification: Performance of matching and sorting (n=24): time 0.00601/0.6388, allocations: 2.037 MB / 0.8511 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.6388, allocations: 81.11 kB / 0.8512 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.6394, allocations: 371.5 kB / 0.8516 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.6394, allocations: 29.7 kB / 0.8516 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.6396, allocations: 239.8 kB / 0.8518 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.347e-05/0.6397, allocations: 86.83 kB / 0.8519 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.6397, allocations: 4 kB / 0.8519 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.6398, allocations: 346.8 kB / 0.8522 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.6402, allocations: 247.9 kB / 0.8525 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.6406, allocations: 329.5 kB / 0.8528 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.641, allocations: 273.9 kB / 0.8531 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.641, allocations: 0 / 0.8531 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002742/0.6437, allocations: 1.149 MB / 0.8542 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002719/0.644, allocations: 0.7869 MB / 0.8549 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.644, allocations: 4 kB / 0.855 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002359/0.6464, allocations: 0.6336 MB / 0.8556 GB, free: 9.676 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/0.647, allocations: 143.8 kB / 0.8557 GB, free: 9.535 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003657/0.6507, allocations: 3.113 MB / 0.8587 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007819/0.6515, allocations: 115.8 kB / 0.8589 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.6515, allocations: 12 kB / 0.8589 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.6516, allocations: 8.719 kB / 0.8589 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002136/0.6537, allocations: 0.8908 MB / 0.8597 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.6537, allocations: 7.938 kB / 0.8598 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.6552, allocations: 392.4 kB / 0.8601 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.6558, allocations: 151.8 kB / 0.8603 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.6586, allocations: 2.385 MB / 0.8626 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006715/0.6593, allocations: 111.9 kB / 0.8627 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.6593, allocations: 19.94 kB / 0.8627 GB, free: 2.043 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001529/0.6595, allocations: 124.9 kB / 0.8628 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/0.6596, allocations: 31.62 kB / 0.8629 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/0.6625, allocations: 1.122 MB / 0.864 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.6625, allocations: 144 / 0.864 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6625, allocations: 4 kB / 0.864 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6625, allocations: 7.969 kB / 0.864 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003744/0.6663, allocations: 1.803 MB / 0.8657 GB, free: 14.86 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.6663, allocations: 4.094 kB / 0.8658 GB, free: 14.86 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.6667, allocations: 91.83 kB / 0.8658 GB, free: 14.77 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002262/0.669, allocations: 0.6219 MB / 0.8664 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.669, allocations: 7.984 kB / 0.8665 GB, free: 14.13 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005004/0.6741, allocations: 4.381 MB / 0.8707 GB, free: 9.48 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6741, allocations: 4.031 kB / 0.8707 GB, free: 9.477 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.6768, allocations: 1.176 MB / 0.8719 GB, free: 8.25 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/0.6771, allocations: 172.7 kB / 0.872 GB, free: 8.062 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.629e-05/0.6772, allocations: 8 kB / 0.8721 GB, free: 8.055 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/0.6777, allocations: 83.86 kB / 0.8721 GB, free: 7.973 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.6778, allocations: 23.92 kB / 0.8722 GB, free: 7.949 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.6779, allocations: 16 kB / 0.8722 GB, free: 7.934 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004163/0.6783, allocations: 310 kB / 0.8725 GB, free: 7.633 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6783, allocations: 0 / 0.8725 GB, free: 7.633 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008838/0.6792, allocations: 215.9 kB / 0.8727 GB, free: 7.422 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002861/0.6795, allocations: 167 kB / 0.8728 GB, free: 7.25 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001958/0.6815, allocations: 1.202 MB / 0.874 GB, free: 6.02 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6815, allocations: 4 kB / 0.874 GB, free: 6.016 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008262/0.6823, allocations: 0.579 MB / 0.8746 GB, free: 5.414 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.6828, allocations: 118.6 kB / 0.8747 GB, free: 5.297 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.6842, allocations: 0.7868 MB / 0.8755 GB, free: 4.48 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.6847, allocations: 0.9174 MB / 0.8764 GB, free: 3.535 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000665/0.6854, allocations: 235 kB / 0.8766 GB, free: 3.309 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.6855, allocations: 35.41 kB / 0.8766 GB, free: 3.273 MB / 0.573 GB Notification: Performance of SimCode: time 5.31e-07/0.6855, allocations: 4 kB / 0.8766 GB, free: 3.27 MB / 0.573 GB Notification: Performance of Templates: time 0.3155/1.001, allocations: 12.16 MB / 0.8885 GB, free: 145 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)