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_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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [: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.8214/0.8214, allocations: 132.4 MB / 139.7 MB, free: 15.53 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.001223/0.001223, allocations: 172.4 kB / 171.6 MB, free: 1.984 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.583/1.583, allocations: 170.5 MB / 373.9 MB, free: 15.89 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.001688/0.001688, allocations: 104 kB / 444.4 MB, free: 9.414 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.4468/0.4468, allocations: 73.39 MB / 0.666 GB, free: 62.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.6043, allocations: 126.4 MB / 0.7895 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.6047, allocations: 94.03 kB / 0.7896 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.09141/0.6961, allocations: 37.14 MB / 0.8258 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.151e-05/0.6963, allocations: 23.94 kB / 0.8258 GB, free: 4.305 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.001887/0.6982, allocations: 0.9718 MB / 0.8268 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.6982, allocations: 12.03 kB / 0.8268 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.6999, allocations: 241.3 kB / 0.827 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.7009, allocations: 0.5316 MB / 0.8276 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.7009, allocations: 27.94 kB / 0.8276 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.701, allocations: 47.91 kB / 0.8276 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001112/0.7022, allocations: 0.6084 MB / 0.8282 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.7036, allocations: 1.023 MB / 0.8292 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.7037, allocations: 7.938 kB / 0.8292 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.575e-05/0.7037, allocations: 4 kB / 0.8292 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.391e-05/0.7038, allocations: 57.28 kB / 0.8293 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005383/0.7092, allocations: 4.77 MB / 0.8339 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009722/0.7102, allocations: 0.5204 MB / 0.8345 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004712/0.7107, allocations: 330 kB / 0.8348 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.341e-05/0.7108, allocations: 8.438 kB / 0.8348 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.7108, allocations: 35 kB / 0.8348 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 2.885e-06/0.7108, allocations: 0 / 0.8348 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of matching and sorting (n=48): time 0.002382/0.7132, allocations: 1.2 MB / 0.836 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.7132, allocations: 55.84 kB / 0.836 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/0.7138, allocations: 402.1 kB / 0.8364 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.7138, allocations: 25.7 kB / 0.8364 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.714, allocations: 346.9 kB / 0.8368 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.7142, allocations: 157.7 kB / 0.8369 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.7142, allocations: 0 / 0.8369 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.7144, allocations: 370.7 kB / 0.8373 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.7148, allocations: 265.2 kB / 0.8375 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000549/0.7154, allocations: 449.5 kB / 0.838 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.7159, allocations: 333.2 kB / 0.8383 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.7159, allocations: 0 / 0.8383 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001817/0.7177, allocations: 0.9911 MB / 0.8392 GB, free: 5.992 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.7178, allocations: 9.156 kB / 0.8393 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.7178, allocations: 4 kB / 0.8393 GB, free: 5.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008603/0.7186, allocations: 271.4 kB / 0.8395 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.7192, allocations: 115.8 kB / 0.8396 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006025/0.7252, allocations: 6.208 MB / 0.8457 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006409/0.7259, allocations: 15.98 kB / 0.8457 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/0.7259, allocations: 28 kB / 0.8457 GB, free: 14.88 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 (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.0001783/0.7261, allocations: 132.4 kB / 0.8459 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.7262, allocations: 63.25 kB / 0.8459 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.7278, allocations: 0.8482 MB / 0.8467 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.7278, allocations: 4 kB / 0.8467 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.7278, allocations: 11.91 kB / 0.8468 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.7278, allocations: 0 / 0.8468 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.7303, allocations: 1.603 MB / 0.8483 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.7304, allocations: 7.906 kB / 0.8483 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.7306, allocations: 51.91 kB / 0.8484 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007736/0.7314, allocations: 267.3 kB / 0.8486 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.7315, allocations: 4 kB / 0.8486 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005768/0.7372, allocations: 6.182 MB / 0.8547 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.7373, allocations: 4.125 kB / 0.8547 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00164/0.7389, allocations: 1.02 MB / 0.8557 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003118/0.7392, allocations: 196.1 kB / 0.8559 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-05/0.7393, allocations: 0 / 0.8559 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.7397, allocations: 15.98 kB / 0.8559 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.7398, allocations: 31.89 kB / 0.8559 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.7398, allocations: 16 kB / 0.8559 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0004002/0.7402, allocations: 303 kB / 0.8562 GB, free: 3.469 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008446/0.7411, allocations: 184 kB / 0.8564 GB, free: 3.289 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.000183/0.7413, allocations: 115.7 kB / 0.8565 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.7431, allocations: 1.149 MB / 0.8576 GB, free: 1.977 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.7431, allocations: 4 kB / 0.8576 GB, free: 1.973 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.7443, allocations: 0.8075 MB / 0.8584 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008474/0.7452, allocations: 171.5 kB / 0.8586 GB, free: 0.9609 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.7475, allocations: 1.041 MB / 0.8596 GB, free: 15.87 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007536/0.7482, allocations: 1.047 MB / 0.8606 GB, free: 14.79 MB / 0.573 GB Notification: Performance of SimCode: time 6.51e-07/0.7482, allocations: 0 / 0.8606 GB, free: 14.79 MB / 0.573 GB Notification: Performance of Templates: time 0.01851/0.7667, allocations: 10.07 MB / 0.8705 GB, free: 4.82 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)