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.8251/0.8251, 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.001322/0.001322, allocations: 168.1 kB / 171.8 MB, free: 2.02 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.441/1.441, allocations: 170.6 MB / 374.2 MB, free: 15.78 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.00197/0.001969, allocations: 111.5 kB / 444.8 MB, free: 9.309 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.5718/0.5719, allocations: 73.39 MB / 0.6666 GB, free: 46.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/0.7953, allocations: 144.3 MB / 0.8075 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/0.7957, allocations: 91.94 kB / 0.8076 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.08673/0.8824, allocations: 28.54 MB / 0.8355 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8825, allocations: 7.938 kB / 0.8355 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.39e-05/0.8826, allocations: 8 kB / 0.8355 GB, free: 11.71 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.001618/0.8842, allocations: 0.6763 MB / 0.8361 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.794e-05/0.8843, allocations: 12.03 kB / 0.8361 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004371/0.8886, allocations: 0.5715 MB / 0.8367 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.8901, allocations: 474.7 kB / 0.8372 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/0.8902, allocations: 13.31 kB / 0.8372 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.8904, allocations: 20 kB / 0.8372 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001356/0.8917, allocations: 460.9 kB / 0.8376 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.8932, allocations: 0.533 MB / 0.8381 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.445e-05/0.8932, allocations: 0 / 0.8381 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.895e-05/0.8933, allocations: 4 kB / 0.8382 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.719e-05/0.8934, allocations: 24.77 kB / 0.8382 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005887/0.8993, allocations: 2.374 MB / 0.8405 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.9004, allocations: 352.2 kB / 0.8408 GB, free: 6 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.9007, allocations: 160.8 kB / 0.841 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.9009, allocations: 89.11 kB / 0.8411 GB, free: 5.734 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/0.901, allocations: 34.52 kB / 0.8411 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 2.966e-06/0.901, allocations: 0 / 0.8411 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24): time 0.005484/0.9065, allocations: 1.544 MB / 0.8426 GB, free: 4.137 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.9066, allocations: 85.05 kB / 0.8427 GB, free: 4.035 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004361/0.907, allocations: 329.1 kB / 0.843 GB, free: 3.703 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.9071, allocations: 25.7 kB / 0.843 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.9073, allocations: 247.9 kB / 0.8433 GB, free: 3.426 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.696e-05/0.9074, allocations: 74.91 kB / 0.8433 GB, free: 3.352 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.9074, allocations: 0 / 0.8433 GB, free: 3.352 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.9076, allocations: 342.8 kB / 0.8437 GB, free: 3.008 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.908, allocations: 239.9 kB / 0.8439 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.9084, allocations: 325.9 kB / 0.8442 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/0.909, allocations: 304.9 kB / 0.8445 GB, free: 2.125 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.909, allocations: 0 / 0.8445 GB, free: 2.125 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002838/0.9119, allocations: 1.061 MB / 0.8455 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004123/0.9123, allocations: 0.794 MB / 0.8463 GB, free: 204 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.9123, allocations: 3.953 kB / 0.8463 GB, free: 200 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002161/0.9145, allocations: 481 kB / 0.8468 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006227/0.9151, allocations: 131.8 kB / 0.8469 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003937/0.9191, allocations: 3.011 MB / 0.8498 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/0.9198, allocations: 107.8 kB / 0.8499 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/0.9199, allocations: 23.97 kB / 0.85 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.9199, allocations: 0 / 0.85 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009777/0.9209, allocations: 475.8 kB / 0.8504 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.9209, allocations: 0 / 0.8504 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.9209, allocations: 4 kB / 0.8504 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006932/0.9216, allocations: 159.9 kB / 0.8506 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.9217, allocations: 11.95 kB / 0.8506 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006352/0.9223, allocations: 87.86 kB / 0.8507 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.9224, allocations: 19.98 kB / 0.8507 GB, free: 11.57 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.0001811/0.9225, allocations: 108.9 kB / 0.8508 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.9227, allocations: 35.62 kB / 0.8508 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/0.9258, allocations: 1.103 MB / 0.8519 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.9258, allocations: 7.188 kB / 0.8519 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.9258, allocations: 3.953 kB / 0.8519 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.9258, allocations: 7.984 kB / 0.8519 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004177/0.93, allocations: 1.721 MB / 0.8536 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.93, allocations: 11.98 kB / 0.8536 GB, free: 8.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.9304, allocations: 79.89 kB / 0.8537 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002407/0.9329, allocations: 0.6219 MB / 0.8543 GB, free: 7.793 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.9329, allocations: 3.984 kB / 0.8543 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005928/0.9388, allocations: 4.204 MB / 0.8584 GB, free: 3.359 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.505e-06/0.9389, allocations: 4.031 kB / 0.8584 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.9417, allocations: 1.166 MB / 0.8595 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/0.942, allocations: 168.7 kB / 0.8597 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.9422, allocations: 3.938 kB / 0.8597 GB, free: 1.953 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000697/0.9429, allocations: 111.8 kB / 0.8598 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.943, allocations: 27.92 kB / 0.8598 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.943, allocations: 4 kB / 0.8598 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003719/0.9434, allocations: 268.5 kB / 0.8601 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9434, allocations: 0 / 0.8601 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001009/0.9444, allocations: 195.9 kB / 0.8603 GB, free: 1.359 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 () * 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.0004081/0.9449, allocations: 161.7 kB / 0.8604 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001804/0.9467, allocations: 0.9686 MB / 0.8614 GB, free: 216 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.9467, allocations: 0 / 0.8614 GB, free: 216 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008916/0.9476, allocations: 0.574 MB / 0.8619 GB, free: 15.62 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006283/0.9482, allocations: 101 kB / 0.862 GB, free: 15.52 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.95, allocations: 0.7602 MB / 0.8628 GB, free: 14.73 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.9507, allocations: 0.9211 MB / 0.8637 GB, free: 13.77 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007843/0.9515, allocations: 243 kB / 0.8639 GB, free: 13.54 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.9516, allocations: 27.42 kB / 0.8639 GB, free: 13.51 MB / 0.573 GB Notification: Performance of SimCode: time 5.41e-07/0.9516, allocations: 3.938 kB / 0.8639 GB, free: 13.51 MB / 0.573 GB Notification: Performance of Templates: time 0.01873/0.9703, allocations: 10.15 MB / 0.8739 GB, free: 3.379 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)