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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [: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.8624/0.8624, 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.001366/0.001366, allocations: 174.5 kB / 171.6 MB, free: 2.039 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.687/1.687, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.001939/0.001939, allocations: 120.7 kB / 444.4 MB, free: 9.375 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.4657/0.4657, allocations: 73.39 MB / 0.666 GB, free: 62.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1773/0.6431, allocations: 150.2 MB / 0.8127 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004242/0.6436, allocations: 94 kB / 0.8128 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.08431/0.7279, allocations: 31.82 MB / 0.8439 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.427e-05/0.728, allocations: 20 kB / 0.8439 GB, free: 1.859 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001613/0.7296, allocations: 0.7923 MB / 0.8447 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.7297, allocations: 12.03 kB / 0.8447 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.7314, allocations: 191 kB / 0.8449 GB, free: 0.8203 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.7325, allocations: 0.4935 MB / 0.8453 GB, free: 292 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.7325, allocations: 23.5 kB / 0.8454 GB, free: 272 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.7327, allocations: 39.91 kB / 0.8454 GB, free: 232 kB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008835/0.7336, allocations: 466.2 kB / 0.8458 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.7348, allocations: 0.7789 MB / 0.8466 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.7348, allocations: 7.938 kB / 0.8466 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/0.7349, allocations: 8 kB / 0.8466 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.908e-05/0.735, allocations: 44.97 kB / 0.8467 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004319/0.7393, allocations: 3.871 MB / 0.8504 GB, free: 10.76 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.7397, allocations: 278.5 kB / 0.8507 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.74, allocations: 216.8 kB / 0.8509 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.74, allocations: 7.984 kB / 0.8509 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.7401, allocations: 46.42 kB / 0.851 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=33): time 3.206e-06/0.7401, allocations: 0 / 0.851 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=40): time 0.004421/0.7445, allocations: 2.026 MB / 0.853 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.7446, allocations: 55.41 kB / 0.853 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005355/0.7452, allocations: 329.1 kB / 0.8533 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.7452, allocations: 25.7 kB / 0.8533 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.7455, allocations: 283.7 kB / 0.8536 GB, free: 7.387 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.7456, allocations: 138 kB / 0.8537 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.7456, allocations: 0 / 0.8537 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.7458, allocations: 358.8 kB / 0.8541 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.7462, allocations: 233.2 kB / 0.8543 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004523/0.7467, allocations: 380.1 kB / 0.8547 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.7471, allocations: 285.4 kB / 0.8549 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7471, allocations: 0 / 0.8549 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001775/0.7489, allocations: 0.8476 MB / 0.8558 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.7489, allocations: 4 kB / 0.8558 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.749, allocations: 11.91 kB / 0.8558 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008674/0.7498, allocations: 222.7 kB / 0.856 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.7504, allocations: 103.9 kB / 0.8561 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004947/0.7554, allocations: 4.62 MB / 0.8606 GB, free: 15.76 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005349/0.7559, allocations: 19.89 kB / 0.8606 GB, free: 15.74 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/0.756, allocations: 20.06 kB / 0.8606 GB, free: 15.72 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001885/0.7562, allocations: 129.8 kB / 0.8608 GB, free: 15.59 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.7563, allocations: 51.34 kB / 0.8608 GB, free: 15.54 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.7579, allocations: 0.7373 MB / 0.8615 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.7579, allocations: 4 kB / 0.8615 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.7579, allocations: 7.906 kB / 0.8616 GB, free: 14.78 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.7579, allocations: 0 / 0.8616 GB, free: 14.78 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/0.7606, allocations: 1.397 MB / 0.8629 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.7606, allocations: 4 kB / 0.8629 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/0.761, allocations: 67.89 kB / 0.863 GB, free: 13.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007183/0.7618, allocations: 203.4 kB / 0.8632 GB, free: 13.03 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.7618, allocations: 4 kB / 0.8632 GB, free: 13.02 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004666/0.7665, allocations: 4.54 MB / 0.8676 GB, free: 8.145 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.7665, allocations: 7.938 kB / 0.8676 GB, free: 8.137 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002023/0.7685, allocations: 1.199 MB / 0.8688 GB, free: 6.852 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/0.7689, allocations: 168.4 kB / 0.869 GB, free: 6.668 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.769, allocations: 12 kB / 0.869 GB, free: 6.656 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.7694, allocations: 11.98 kB / 0.869 GB, free: 6.645 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.7695, allocations: 19.97 kB / 0.869 GB, free: 6.625 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.7695, allocations: 16 kB / 0.869 GB, free: 6.609 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.0003595/0.7699, allocations: 255.2 kB / 0.8693 GB, free: 6.363 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008384/0.7707, allocations: 147.9 kB / 0.8694 GB, free: 6.219 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002147/0.7709, allocations: 123 kB / 0.8695 GB, free: 6.09 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001684/0.7726, allocations: 0.9119 MB / 0.8704 GB, free: 5.148 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7727, allocations: 4 kB / 0.8704 GB, free: 5.145 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009156/0.7736, allocations: 0.6148 MB / 0.871 GB, free: 4.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007834/0.7744, allocations: 131.1 kB / 0.8711 GB, free: 4.371 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.7765, allocations: 0.9801 MB / 0.8721 GB, free: 3.332 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000739/0.7773, allocations: 0.9798 MB / 0.873 GB, free: 2.324 MB / 0.573 GB Notification: Performance of SimCode: time 2.655e-06/0.7773, allocations: 0 / 0.873 GB, free: 2.324 MB / 0.573 GB Notification: Performance of Templates: time 0.01502/0.7923, allocations: 8.166 MB / 0.881 GB, free: 10.27 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)