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.8128/0.8128, allocations: 133.7 MB / 148.6 MB, free: 13.68 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.001184/0.001184, allocations: 178.9 kB / 180.9 MB, free: 15.09 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.721/1.721, allocations: 170.7 MB / 383.7 MB, free: 16.15 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.001651/0.001651, allocations: 114.3 kB / 454.6 MB, free: 9.734 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.1767/0.1772, allocations: 73.4 MB / 0.6812 GB, free: 5.562 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5136/0.6909, allocations: 145 MB / 0.8228 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/0.6912, allocations: 108.2 kB / 0.8229 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07096/0.7622, allocations: 28.83 MB / 0.8511 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7623, allocations: 0 / 0.8511 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.707e-05/0.7623, allocations: 8 kB / 0.8511 GB, free: 5.582 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00138/0.7637, allocations: 0.754 MB / 0.8518 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.7637, allocations: 8.031 kB / 0.8518 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/0.7663, allocations: 0.5761 MB / 0.8524 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.7674, allocations: 470.6 kB / 0.8528 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.7674, allocations: 24.64 kB / 0.8528 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.32e-05/0.7675, allocations: 28 kB / 0.8529 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.7691, allocations: 0.7552 MB / 0.8536 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.7692, allocations: 0 / 0.8536 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-05/0.7692, allocations: 14.92 kB / 0.8536 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/0.7693, allocations: 28.58 kB / 0.8537 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.7713, allocations: 0.8453 MB / 0.8545 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004176/0.7754, allocations: 2.457 MB / 0.8569 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.777, allocations: 0.5142 MB / 0.8574 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.7772, allocations: 89.09 kB / 0.8575 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.7772, allocations: 42.52 kB / 0.8575 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 2.505e-06/0.7772, allocations: 0 / 0.8575 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24): time 0.009733/0.787, allocations: 2.956 MB / 0.8604 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.7871, allocations: 85.11 kB / 0.8605 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000541/0.7876, allocations: 376.7 kB / 0.8608 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.945e-05/0.7877, allocations: 33.7 kB / 0.8609 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.7879, allocations: 231.9 kB / 0.8611 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.638e-05/0.788, allocations: 90.73 kB / 0.8612 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.788, allocations: 4 kB / 0.8612 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7882, allocations: 346.8 kB / 0.8615 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008814/0.7891, allocations: 363.7 kB / 0.8619 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009311/0.79, allocations: 454.2 kB / 0.8623 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009206/0.791, allocations: 395.7 kB / 0.8627 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.791, allocations: 4 kB / 0.8627 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004363/0.7953, allocations: 1.414 MB / 0.864 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003925/0.7958, allocations: 0.794 MB / 0.8648 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.7958, allocations: 8 kB / 0.8648 GB, free: 7.043 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002993/0.7988, allocations: 0.696 MB / 0.8655 GB, free: 6.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006766/0.7995, allocations: 139.8 kB / 0.8656 GB, free: 6.203 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004328/0.8038, allocations: 3.246 MB / 0.8688 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008023/0.8047, allocations: 107.8 kB / 0.8689 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.8047, allocations: 24.05 kB / 0.8689 GB, free: 2.66 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.8047, allocations: 0 / 0.8689 GB, free: 2.66 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00342/0.8082, allocations: 1.156 MB / 0.8701 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.8082, allocations: 0 / 0.8701 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/0.8101, allocations: 460.2 kB / 0.8705 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/0.8107, allocations: 151.8 kB / 0.8707 GB, free: 0.8984 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/0.8141, allocations: 2.53 MB / 0.8731 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000693/0.8148, allocations: 111.9 kB / 0.8732 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.8148, allocations: 12 kB / 0.8732 GB, free: 14.11 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 () * Number of clocked 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.0004452/0.8153, allocations: 320.9 kB / 0.8735 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.263e-05/0.8154, allocations: 35.53 kB / 0.8736 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/0.8193, allocations: 1.321 MB / 0.8749 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.8193, allocations: 4 kB / 0.8749 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.8193, allocations: 0 / 0.8749 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.8193, allocations: 3.984 kB / 0.8749 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004792/0.8241, allocations: 2.011 MB / 0.8768 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.8241, allocations: 4 kB / 0.8768 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.8245, allocations: 79.91 kB / 0.8769 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002883/0.8274, allocations: 0.6999 MB / 0.8776 GB, free: 9.547 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.8275, allocations: 8 kB / 0.8776 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006202/0.8337, allocations: 4.567 MB / 0.8821 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8337, allocations: 3.938 kB / 0.8821 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003894/0.8376, allocations: 1.367 MB / 0.8834 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.838, allocations: 172.6 kB / 0.8836 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.056e-05/0.8381, allocations: 8 kB / 0.8836 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005418/0.8387, allocations: 95.8 kB / 0.8837 GB, free: 2.992 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.8388, allocations: 28.39 kB / 0.8837 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.8388, allocations: 7.984 kB / 0.8837 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004264/0.8393, allocations: 311.1 kB / 0.884 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8393, allocations: 4 kB / 0.884 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008738/0.8402, allocations: 216 kB / 0.8842 GB, free: 2.445 MB / 0.5573 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 () * Number of clocked 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.00028/0.8404, allocations: 155.1 kB / 0.8844 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003359/0.8438, allocations: 1.514 MB / 0.8858 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8438, allocations: 4 kB / 0.8858 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.845, allocations: 0.6652 MB / 0.8865 GB, free: 56 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/0.8456, allocations: 124.5 kB / 0.8866 GB, free: 15.93 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.8478, allocations: 1.227 MB / 0.8878 GB, free: 14.67 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.8484, allocations: 0.9249 MB / 0.8887 GB, free: 13.71 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005621/0.8489, allocations: 163.1 kB / 0.8889 GB, free: 13.55 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.8491, allocations: 31.42 kB / 0.8889 GB, free: 13.52 MB / 0.573 GB Notification: Performance of SimCode: time 6.12e-07/0.8491, allocations: 0 / 0.8889 GB, free: 13.52 MB / 0.573 GB Notification: Performance of Templates: time 0.01776/0.8668, allocations: 11.78 MB / 0.9004 GB, free: 1.773 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)