Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8054/0.8054, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.00133/0.00133, allocations: 169 kB / 171.6 MB, free: 1.98 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.661/1.661, allocations: 170.5 MB / 373.9 MB, free: 15.9 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.001886/0.001886, allocations: 104 kB / 444.4 MB, free: 9.441 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.4506/0.4507, allocations: 73.4 MB / 0.666 GB, free: 62.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.6062, allocations: 126.9 MB / 0.79 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.6065, allocations: 93.16 kB / 0.79 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.097/0.7036, allocations: 37.35 MB / 0.8265 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.038e-05/0.7037, allocations: 20 kB / 0.8265 GB, free: 3.586 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.00187/0.7056, allocations: 0.8644 MB / 0.8274 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.7056, allocations: 12.03 kB / 0.8274 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.7075, allocations: 218.7 kB / 0.8276 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.7087, allocations: 0.5405 MB / 0.8281 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.7087, allocations: 16 kB / 0.8282 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.7089, allocations: 43.92 kB / 0.8282 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001465/0.7104, allocations: 0.5537 MB / 0.8287 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/0.7124, allocations: 0.9906 MB / 0.8297 GB, free: 112 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.429e-05/0.7124, allocations: 4 kB / 0.8297 GB, free: 108 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.7125, allocations: 4 kB / 0.8297 GB, free: 104 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.491e-05/0.7126, allocations: 69.19 kB / 0.8298 GB, free: 36 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006696/0.7194, allocations: 4.61 MB / 0.8343 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/0.7201, allocations: 394.4 kB / 0.8347 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/0.7207, allocations: 305.3 kB / 0.8349 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.7208, allocations: 4 kB / 0.8349 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.7208, allocations: 38.56 kB / 0.835 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=41): time 2.605e-06/0.7208, allocations: 0 / 0.835 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=42): time 0.003255/0.7241, allocations: 1.134 MB / 0.8361 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.7242, allocations: 59.41 kB / 0.8362 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.7247, allocations: 333.2 kB / 0.8365 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.7247, allocations: 25.7 kB / 0.8365 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.725, allocations: 323.1 kB / 0.8368 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.7251, allocations: 138 kB / 0.8369 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.7252, allocations: 0 / 0.8369 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.7254, allocations: 363 kB / 0.8373 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/0.7258, allocations: 229.2 kB / 0.8375 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006634/0.7266, allocations: 417.9 kB / 0.8379 GB, free: 7.387 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005782/0.7272, allocations: 298.5 kB / 0.8382 GB, free: 7.098 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.7272, allocations: 4 kB / 0.8382 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002502/0.7297, allocations: 0.9137 MB / 0.8391 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.7297, allocations: 4 kB / 0.8391 GB, free: 6.156 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.7298, allocations: 8 kB / 0.8391 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.7312, allocations: 274.6 kB / 0.8394 GB, free: 5.871 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/0.7317, allocations: 95.81 kB / 0.8394 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007598/0.7393, allocations: 6.214 MB / 0.8455 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000796/0.7402, allocations: 11.98 kB / 0.8455 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.7403, allocations: 24 kB / 0.8455 GB, free: 15.08 MB / 0.5573 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 (51): * Single equations (assignments): 47 * 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 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002761/0.7406, allocations: 124.8 kB / 0.8457 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.7407, allocations: 55.34 kB / 0.8457 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/0.7434, allocations: 0.8219 MB / 0.8465 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.7435, allocations: 4 kB / 0.8465 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.7435, allocations: 4 kB / 0.8465 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.7435, allocations: 0 / 0.8465 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/0.7475, allocations: 1.53 MB / 0.848 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.7475, allocations: 4 kB / 0.848 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.7479, allocations: 39.92 kB / 0.8481 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/0.7491, allocations: 280 kB / 0.8483 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/0.7492, allocations: 4 kB / 0.8483 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008123/0.7573, allocations: 6.195 MB / 0.8544 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.7574, allocations: 4 kB / 0.8544 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002521/0.7599, allocations: 0.9863 MB / 0.8553 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/0.7603, allocations: 172.5 kB / 0.8555 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.7604, allocations: 0 / 0.8555 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.7608, allocations: 11.98 kB / 0.8555 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.7609, allocations: 23.95 kB / 0.8555 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.761, allocations: 16 kB / 0.8556 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0003735/0.7613, allocations: 254.9 kB / 0.8558 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001072/0.7624, allocations: 164 kB / 0.856 GB, free: 3.734 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 (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 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002201/0.7627, allocations: 113.7 kB / 0.8561 GB, free: 3.617 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001983/0.7646, allocations: 1.063 MB / 0.8571 GB, free: 2.516 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7647, allocations: 4 kB / 0.8571 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.7657, allocations: 0.7607 MB / 0.8579 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007745/0.7665, allocations: 162.2 kB / 0.858 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.7684, allocations: 0.9308 MB / 0.8589 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006543/0.769, allocations: 1.024 MB / 0.8599 GB, free: 15.52 MB / 0.573 GB Notification: Performance of SimCode: time 3.31e-07/0.769, allocations: 0 / 0.8599 GB, free: 15.52 MB / 0.573 GB Notification: Performance of Templates: time 0.01463/0.7837, allocations: 8.679 MB / 0.8684 GB, free: 6.91 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)