Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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 8.0.0/package.mo): time 2.121/2.121, allocations: 284.8 MB / 292.1 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001601/0.0016, allocations: 189.3 kB / 360.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.1 MB / 0.6187 GB, free: 13.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 84.48 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2477/0.249, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5532/0.8022, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2714/1.074, allocations: 184 MB / 1.142 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003655/1.074, allocations: 96.5 kB / 1.143 GB, free: 4.695 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 1.367/2.441, allocations: 270.5 MB / 1.407 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/2.441, allocations: 8 kB / 1.407 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01818/2.459, allocations: 1.417 MB / 1.408 GB, free: 133 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01682/2.476, allocations: 4.196 MB / 1.412 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/2.476, allocations: 164 kB / 1.412 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002421/2.479, allocations: 299.8 kB / 1.413 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01932/2.498, allocations: 5.769 MB / 1.418 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02665/2.525, allocations: 7.718 MB / 1.426 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003313/2.525, allocations: 23.72 kB / 1.426 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0024/2.527, allocations: 16 kB / 1.426 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004692/2.528, allocations: 345.9 kB / 1.426 GB, free: 114 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07469/2.603, allocations: 39.09 MB / 1.464 GB, free: 71.69 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006284/2.609, allocations: 2.561 MB / 1.467 GB, free: 69.12 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006101/2.615, allocations: 2.517 MB / 1.469 GB, free: 66.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003683/2.616, allocations: 26.09 kB / 1.469 GB, free: 66.57 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/2.616, allocations: 56.66 kB / 1.469 GB, free: 66.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 5.721e-06/2.616, allocations: 0 / 1.469 GB, free: 66.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.1357/2.751, allocations: 27.94 MB / 1.497 GB, free: 38.35 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/2.751, allocations: 94.73 kB / 1.497 GB, free: 38.24 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/2.755, allocations: 1.637 MB / 1.498 GB, free: 36.59 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001138/2.756, allocations: 25.7 kB / 1.498 GB, free: 36.56 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001184/2.757, allocations: 1.898 MB / 1.5 GB, free: 34.64 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002224/2.76, allocations: 1.389 MB / 1.502 GB, free: 33.23 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005614/2.76, allocations: 0 / 1.502 GB, free: 33.23 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003096/2.761, allocations: 483.3 kB / 1.502 GB, free: 32.75 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006996/2.768, allocations: 2.742 MB / 1.505 GB, free: 30 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007769/2.775, allocations: 3.676 MB / 1.508 GB, free: 25.92 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008072/2.783, allocations: 3.359 MB / 1.512 GB, free: 22.55 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.683e-05/2.784, allocations: 8 kB / 1.512 GB, free: 22.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04756/2.831, allocations: 11.38 MB / 1.523 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/2.831, allocations: 4 kB / 1.523 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.273e-05/2.831, allocations: 32.12 kB / 1.523 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03389/2.865, allocations: 4.963 MB / 1.528 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004193/2.869, allocations: 495.2 kB / 1.528 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1339/3.003, allocations: 59.69 MB / 1.586 GB, free: 7.078 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006254/3.01, allocations: 67.94 kB / 1.586 GB, free: 7.012 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/3.011, allocations: 156 kB / 1.587 GB, free: 6.859 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001416/3.012, allocations: 203.9 kB / 1.587 GB, free: 6.652 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/3.014, allocations: 367.6 kB / 1.587 GB, free: 6.289 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05298/3.067, allocations: 11.24 MB / 1.598 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.993e-05/3.067, allocations: 40 kB / 1.598 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001265/3.067, allocations: 52 kB / 1.598 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.744e-05/3.067, allocations: 23.92 kB / 1.598 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3838/3.451, allocations: 16.74 MB / 1.615 GB, free: 300 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-05/3.451, allocations: 9.5 kB / 1.615 GB, free: 300 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00313/3.454, allocations: 274.4 kB / 1.615 GB, free: 300 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03004/3.484, allocations: 4.443 MB / 1.619 GB, free: 299.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001011/3.485, allocations: 15.53 kB / 1.619 GB, free: 299.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1131/3.598, allocations: 57.23 MB / 1.675 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/3.598, allocations: 14.75 kB / 1.675 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04961/3.648, allocations: 15.08 MB / 1.69 GB, free: 269.8 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05868/3.707, allocations: 19.81 MB / 1.709 GB, free: 267.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003685/3.711, allocations: 0.9532 MB / 1.71 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001473/3.712, allocations: 14.47 kB / 1.71 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004454/3.717, allocations: 65.94 kB / 1.71 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007256/3.717, allocations: 215.6 kB / 1.71 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004436/3.718, allocations: 105.4 kB / 1.71 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.002468/3.72, allocations: 1.208 MB / 1.712 GB, free: 266.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008975/3.729, allocations: 1.427 MB / 1.713 GB, free: 266.8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001222/3.73, allocations: 148.1 kB / 1.713 GB, free: 266.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.03166/3.762, allocations: 10.52 MB / 1.723 GB, free: 261.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/3.762, allocations: 3.344 kB / 1.723 GB, free: 261.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.02421/3.786, allocations: 7.03 MB / 1.73 GB, free: 257.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008395/3.795, allocations: 0.8428 MB / 1.731 GB, free: 257.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03598/3.831, allocations: 10.11 MB / 1.741 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009754/3.841, allocations: 4.102 MB / 1.745 GB, free: 251.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.743e-06/3.841, allocations: 0 / 1.745 GB, free: 251.9 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)