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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8234/0.8234, allocations: 132.4 MB / 139.9 MB, free: 15.42 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.000966/0.000966, allocations: 169.5 kB / 171.8 MB, free: 2 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.63/1.63, allocations: 170.6 MB / 374.2 MB, free: 15.77 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.001741/0.00174, allocations: 105.4 kB / 444.8 MB, free: 9.293 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.5269/0.5269, allocations: 73.4 MB / 0.6666 GB, free: 46.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/0.7017, allocations: 122.9 MB / 0.7867 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.7021, allocations: 96.53 kB / 0.7868 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09556/0.7977, allocations: 37.14 MB / 0.823 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7977, allocations: 0 / 0.823 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001187/0.7979, allocations: 27.98 kB / 0.8231 GB, free: 8.32 MB / 0.5261 GB 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.002998/0.8009, allocations: 0.953 MB / 0.824 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/0.801, allocations: 8.031 kB / 0.824 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.8032, allocations: 238.6 kB / 0.8242 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.8048, allocations: 0.5326 MB / 0.8248 GB, free: 6.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/0.8049, allocations: 23.94 kB / 0.8248 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.8051, allocations: 36 kB / 0.8248 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00147/0.8066, allocations: 0.5929 MB / 0.8254 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.8088, allocations: 1.007 MB / 0.8264 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.91e-05/0.8089, allocations: 19.44 kB / 0.8264 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.6e-05/0.809, allocations: 4 kB / 0.8264 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-05/0.8091, allocations: 45.3 kB / 0.8264 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006152/0.8153, allocations: 4.735 MB / 0.8311 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.8164, allocations: 0.5234 MB / 0.8316 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004529/0.8168, allocations: 310.1 kB / 0.8319 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.8169, allocations: 8.438 kB / 0.8319 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.8169, allocations: 38.5 kB / 0.8319 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 3.517e-06/0.817, allocations: 0 / 0.8319 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of matching and sorting (n=48): time 0.002559/0.8195, allocations: 1.174 MB / 0.8331 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.8196, allocations: 59.84 kB / 0.8331 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/0.8202, allocations: 394.1 kB / 0.8335 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.8202, allocations: 25.7 kB / 0.8335 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.8205, allocations: 402.9 kB / 0.8339 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.8207, allocations: 161.6 kB / 0.8341 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.8207, allocations: 0 / 0.8341 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.8209, allocations: 366.8 kB / 0.8344 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.8213, allocations: 257.5 kB / 0.8347 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.8218, allocations: 438.5 kB / 0.8351 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.8223, allocations: 318 kB / 0.8354 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.8224, allocations: 4 kB / 0.8354 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001917/0.8243, allocations: 0.9701 MB / 0.8363 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.8243, allocations: 4 kB / 0.8363 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.8244, allocations: 8 kB / 0.8363 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009563/0.8253, allocations: 269 kB / 0.8366 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.8259, allocations: 119.8 kB / 0.8367 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006956/0.8328, allocations: 6.332 MB / 0.8429 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006806/0.8335, allocations: 19.97 kB / 0.8429 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/0.8336, allocations: 28 kB / 0.8429 GB, free: 2.918 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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.0002136/0.8339, allocations: 124.8 kB / 0.8431 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.8341, allocations: 71.17 kB / 0.8431 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.8358, allocations: 0.8291 MB / 0.8439 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.8358, allocations: 7.953 kB / 0.8439 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.8358, allocations: 4 kB / 0.8439 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.8358, allocations: 3.984 kB / 0.8439 GB, free: 1.855 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.8386, allocations: 1.564 MB / 0.8455 GB, free: 224 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.8387, allocations: 3.938 kB / 0.8455 GB, free: 220 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.8389, allocations: 59.95 kB / 0.8455 GB, free: 160 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007938/0.8398, allocations: 264.4 kB / 0.8458 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.8398, allocations: 4 kB / 0.8458 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00628/0.8461, allocations: 6.306 MB / 0.8519 GB, free: 9.121 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.8461, allocations: 3.984 kB / 0.852 GB, free: 9.117 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.8478, allocations: 1.002 MB / 0.8529 GB, free: 8.027 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/0.8481, allocations: 192.2 kB / 0.8531 GB, free: 7.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.8483, allocations: 3.953 kB / 0.8531 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.8487, allocations: 19.97 kB / 0.8531 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.8488, allocations: 43.94 kB / 0.8532 GB, free: 7.754 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.8488, allocations: 16 kB / 0.8532 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004002/0.8493, allocations: 295 kB / 0.8535 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.703e-06/0.8493, allocations: 0 / 0.8535 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009553/0.8502, allocations: 203.9 kB / 0.8537 GB, free: 7.254 MB / 0.5573 GB 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 () * 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%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000233/0.8505, allocations: 108.9 kB / 0.8538 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001954/0.8524, allocations: 1.18 MB / 0.8549 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.8525, allocations: 0 / 0.8549 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.8537, allocations: 0.8271 MB / 0.8557 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009448/0.8546, allocations: 166.4 kB / 0.8559 GB, free: 4.895 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.857, allocations: 0.9917 MB / 0.8569 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009712/0.858, allocations: 1.02 MB / 0.8579 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005176/0.8585, allocations: 122.3 kB / 0.858 GB, free: 2.688 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.8586, allocations: 39.44 kB / 0.858 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of SimCode: time 7.62e-07/0.8586, allocations: 0 / 0.858 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of Templates: time 0.01973/0.8784, allocations: 9.258 MB / 0.8671 GB, free: 9.492 MB / 0.573 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)