Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.203/1.203, allocations: 249.4 MB / 256.7 MB, free: 15.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 194.4 kB / 316 MB, free: 7.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 0.5667 GB, free: 23.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008221/0.0008221, allocations: 79.91 kB / 0.671 GB, free: 0.9922 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2044/0.2052, allocations: 112.5 MB / 0.7808 GB, free: 420 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.6054, allocations: 106.3 MB / 0.8847 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5347/1.14, allocations: 187.9 MB / 1.068 GB, free: 52.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/1.14, allocations: 94.23 kB / 1.068 GB, free: 52.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.3085/1.449, allocations: 148.1 MB / 1.213 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/1.449, allocations: 12 kB / 1.213 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005478/1.454, allocations: 0.8147 MB / 1.214 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006319/1.461, allocations: 2.57 MB / 1.216 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/1.461, allocations: 119.9 kB / 1.216 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/1.462, allocations: 231.9 kB / 1.217 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008721/1.471, allocations: 3.705 MB / 1.22 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/1.481, allocations: 5.224 MB / 1.225 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.666e-05/1.482, allocations: 19.78 kB / 1.225 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003674/1.482, allocations: 8 kB / 1.225 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001917/1.482, allocations: 227 kB / 1.225 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02792/1.51, allocations: 26.94 MB / 1.252 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/1.511, allocations: 1.047 MB / 1.253 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/1.513, allocations: 0.9683 MB / 1.254 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.609e-05/1.513, allocations: 16.81 kB / 1.254 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/1.513, allocations: 47.5 kB / 1.254 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=110): time 3.336e-06/1.513, allocations: 0 / 1.254 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=131): time 0.01285/1.526, allocations: 6.931 MB / 1.261 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/1.526, allocations: 68.7 kB / 1.261 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/1.527, allocations: 1.08 MB / 1.262 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/1.527, allocations: 25.7 kB / 1.262 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007958/1.528, allocations: 1.427 MB / 1.263 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004688/1.529, allocations: 449.3 kB / 1.264 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.164e-05/1.529, allocations: 0 / 1.264 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001941/1.529, allocations: 385.8 kB / 1.264 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/1.53, allocations: 0.8551 MB / 1.265 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/1.532, allocations: 1.432 MB / 1.266 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/1.533, allocations: 1.111 MB / 1.267 GB, free: 1.312 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.533, allocations: 4 kB / 1.267 GB, free: 1.309 MB / 0.7761 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005241/1.539, allocations: 3.053 MB / 1.27 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.539, allocations: 4 kB / 1.27 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/1.539, allocations: 20 kB / 1.27 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002236/1.541, allocations: 0.7143 MB / 1.271 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/1.543, allocations: 379.3 kB / 1.271 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/1.558, allocations: 14.48 MB / 1.285 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/1.559, allocations: 47.95 kB / 1.285 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/1.56, allocations: 76.06 kB / 1.286 GB, free: 13.46 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003888/1.56, allocations: 160.5 kB / 1.286 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/1.56, allocations: 189.7 kB / 1.286 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00469/1.565, allocations: 2.668 MB / 1.289 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/1.565, allocations: 12 kB / 1.289 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/1.565, allocations: 8.188 kB / 1.289 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/1.565, allocations: 7.969 kB / 1.289 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009889/1.575, allocations: 5.458 MB / 1.294 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/1.575, allocations: 4 kB / 1.294 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/1.576, allocations: 223.7 kB / 1.294 GB, free: 4.586 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00199/1.578, allocations: 0.6441 MB / 1.295 GB, free: 3.914 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/1.578, allocations: 8 kB / 1.295 GB, free: 3.906 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/1.591, allocations: 14.2 MB / 1.309 GB, free: 4.68 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/1.591, allocations: 12 kB / 1.309 GB, free: 4.668 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00639/1.597, allocations: 4.234 MB / 1.313 GB, free: 208 kB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007707/1.605, allocations: 5.919 MB / 1.319 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/1.606, allocations: 438.6 kB / 1.319 GB, free: 9.605 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/1.607, allocations: 8 kB / 1.319 GB, free: 9.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008634/1.607, allocations: 43.88 kB / 1.319 GB, free: 9.555 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.608, allocations: 80.75 kB / 1.319 GB, free: 9.477 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.844e-05/1.608, allocations: 36 kB / 1.319 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.00116/1.609, allocations: 0.7996 MB / 1.32 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002967/1.612, allocations: 0.6289 MB / 1.32 GB, free: 8.02 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002962/1.612, allocations: 134.2 kB / 1.321 GB, free: 7.883 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004662/1.617, allocations: 3.205 MB / 1.324 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.617, allocations: 0 / 1.324 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002926/1.62, allocations: 2.071 MB / 1.326 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/1.622, allocations: 0.5083 MB / 1.326 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/1.633, allocations: 5.214 MB / 1.331 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003039/1.636, allocations: 2.823 MB / 1.334 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of SimCode: time 1.282e-06/1.636, allocations: 0 / 1.334 GB, free: 9.719 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)