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_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.9673/0.9673, allocations: 132.4 MB / 139.9 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001438/0.001438, allocations: 182.9 kB / 171.8 MB, free: 4.949 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.519/1.519, allocations: 170.6 MB / 374.2 MB, free: 172 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001636/0.001636, allocations: 106.1 kB / 444.8 MB, free: 14.16 MB / 314.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.171/0.1711, allocations: 73.4 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5843/0.7554, allocations: 123.9 MB / 0.7876 GB, free: 7.695 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004415/0.7559, allocations: 95.92 kB / 0.7877 GB, free: 7.602 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1051/0.8611, allocations: 37.3 MB / 0.8241 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.374e-06/0.8611, allocations: 4 kB / 0.8241 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.355e-05/0.8612, allocations: 27.94 kB / 0.8242 GB, free: 1.82 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002024/0.8632, allocations: 0.8457 MB / 0.825 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.8633, allocations: 12.03 kB / 0.825 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.8651, allocations: 218.8 kB / 0.8252 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.8663, allocations: 0.5234 MB / 0.8257 GB, free: 136 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.8664, allocations: 16 kB / 0.8257 GB, free: 120 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.8666, allocations: 36 kB / 0.8258 GB, free: 84 kB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001146/0.8677, allocations: 0.5343 MB / 0.8263 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.8694, allocations: 0.9717 MB / 0.8272 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-05/0.8695, allocations: 11.84 kB / 0.8272 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/0.8696, allocations: 8 kB / 0.8272 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.8697, allocations: 53.28 kB / 0.8273 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005174/0.8749, allocations: 4.583 MB / 0.8318 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008438/0.8758, allocations: 0.5785 MB / 0.8323 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/0.8764, allocations: 382.5 kB / 0.8327 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.8765, allocations: 7.984 kB / 0.8327 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.8765, allocations: 38.56 kB / 0.8327 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 2.715e-06/0.8765, allocations: 0 / 0.8327 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42): time 0.002295/0.8788, allocations: 1.159 MB / 0.8339 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.8789, allocations: 55.41 kB / 0.8339 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.8793, allocations: 329.1 kB / 0.8342 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.8793, allocations: 25.7 kB / 0.8343 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.8796, allocations: 367.1 kB / 0.8346 GB, free: 6.582 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.8797, allocations: 142 kB / 0.8348 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.8797, allocations: 0 / 0.8348 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.8799, allocations: 367 kB / 0.8351 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.8802, allocations: 221 kB / 0.8353 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.8807, allocations: 416.2 kB / 0.8357 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.8811, allocations: 291.7 kB / 0.836 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.8811, allocations: 7.953 kB / 0.836 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001776/0.8829, allocations: 0.9296 MB / 0.8369 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.8829, allocations: 15.98 kB / 0.8369 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.8829, allocations: 12 kB / 0.8369 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.884, allocations: 303.2 kB / 0.8372 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.8844, allocations: 91.81 kB / 0.8373 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00698/0.8914, allocations: 6.724 MB / 0.8439 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/0.8918, allocations: 19.97 kB / 0.8439 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.8919, allocations: 24 kB / 0.8439 GB, free: 12.47 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.8921, allocations: 124.9 kB / 0.844 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.8922, allocations: 55.34 kB / 0.8441 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.8939, allocations: 0.845 MB / 0.8449 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.8939, allocations: 8 kB / 0.8449 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.8939, allocations: 4 kB / 0.8449 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.8939, allocations: 0 / 0.8449 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.8968, allocations: 1.615 MB / 0.8465 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.8968, allocations: 4.125 kB / 0.8465 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.897, allocations: 51.89 kB / 0.8466 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008238/0.8979, allocations: 267.4 kB / 0.8468 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.8979, allocations: 4.188 kB / 0.8468 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00622/0.9041, allocations: 6.455 MB / 0.8531 GB, free: 2.473 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.9042, allocations: 4.031 kB / 0.8531 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.9058, allocations: 0.963 MB / 0.8541 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.9061, allocations: 168.4 kB / 0.8542 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.9061, allocations: 7.984 kB / 0.8542 GB, free: 1.227 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.9064, allocations: 15.98 kB / 0.8542 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.9065, allocations: 47.83 kB / 0.8543 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.9065, allocations: 8 kB / 0.8543 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002799/0.9068, allocations: 247 kB / 0.8545 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9068, allocations: 0 / 0.8545 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008359/0.9077, allocations: 164 kB / 0.8547 GB, free: 0.7578 MB / 0.5417 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 (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001976/0.9079, allocations: 119.1 kB / 0.8548 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.9095, allocations: 1.078 MB / 0.8559 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9096, allocations: 0 / 0.8559 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.9107, allocations: 0.78 MB / 0.8566 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008915/0.9116, allocations: 171.5 kB / 0.8568 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.9134, allocations: 0.8868 MB / 0.8577 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/0.9141, allocations: 0.9961 MB / 0.8586 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003524/0.9145, allocations: 100.8 kB / 0.8587 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.562e-05/0.9145, allocations: 31.44 kB / 0.8588 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of SimCode: time 7.11e-07/0.9146, allocations: 4 kB / 0.8588 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of Templates: time 0.01472/0.9293, allocations: 8.065 MB / 0.8666 GB, free: 4.441 MB / 0.5573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)