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_N.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_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.1/2.1, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001633/0.001632, allocations: 185.3 kB / 360.3 MB, free: 7.578 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.637/1.637, allocations: 205.2 MB / 0.6187 GB, free: 13.24 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.001253/0.001252, allocations: 76.17 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2465/0.2478, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6273/0.8751, allocations: 115.3 MB / 0.9628 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3048/1.18, allocations: 185 MB / 1.143 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/1.18, allocations: 99.91 kB / 1.144 GB, free: 14.21 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 1.677/2.857, allocations: 322.8 MB / 1.459 GB, free: 219.5 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/2.857, allocations: 9 kB / 1.459 GB, free: 219.5 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02286/2.88, allocations: 1.686 MB / 1.46 GB, free: 218.7 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02324/2.903, allocations: 5.006 MB / 1.465 GB, free: 214.9 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003238/2.904, allocations: 196 kB / 1.466 GB, free: 214.7 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002958/2.907, allocations: 355.9 kB / 1.466 GB, free: 214.3 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02257/2.929, allocations: 7.065 MB / 1.473 GB, free: 207.2 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03144/2.961, allocations: 9.193 MB / 1.482 GB, free: 197.6 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003852/2.961, allocations: 35.62 kB / 1.482 GB, free: 197.5 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00272/2.964, allocations: 16 kB / 1.482 GB, free: 197.5 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004952/2.965, allocations: 396 kB / 1.482 GB, free: 197.1 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08204/3.047, allocations: 45.35 MB / 1.526 GB, free: 148.4 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00806/3.055, allocations: 3.716 MB / 1.53 GB, free: 144.7 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00772/3.063, allocations: 3.494 MB / 1.533 GB, free: 141.2 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003566/3.063, allocations: 42.45 kB / 1.534 GB, free: 141.2 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/3.063, allocations: 73.28 kB / 1.534 GB, free: 141.1 MB / 1.026 GB Notification: Performance of pre-optimization done (n=353): time 6.362e-06/3.063, allocations: 0 / 1.534 GB, free: 141.1 MB / 1.026 GB Notification: Performance of matching and sorting (n=578): time 0.1761/3.239, allocations: 38.1 MB / 1.571 GB, free: 102.8 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/3.239, allocations: 111.9 kB / 1.571 GB, free: 102.7 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00388/3.243, allocations: 1.844 MB / 1.573 GB, free: 100.8 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001391/3.245, allocations: 25.7 kB / 1.573 GB, free: 100.8 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/3.246, allocations: 2.177 MB / 1.575 GB, free: 98.6 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.002843/3.249, allocations: 1.878 MB / 1.577 GB, free: 96.69 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007378/3.25, allocations: 0 / 1.577 GB, free: 96.69 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003794/3.25, allocations: 0.5298 MB / 1.577 GB, free: 96.16 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008813/3.259, allocations: 3.752 MB / 1.581 GB, free: 92.4 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01011/3.269, allocations: 4.837 MB / 1.586 GB, free: 87.13 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01067/3.28, allocations: 4.586 MB / 1.59 GB, free: 82.5 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.461e-05/3.28, allocations: 15.94 kB / 1.59 GB, free: 82.49 MB / 1.026 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06355/3.343, allocations: 15.5 MB / 1.605 GB, free: 67 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/3.343, allocations: 7.984 kB / 1.605 GB, free: 66.99 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.102e-05/3.343, allocations: 28 kB / 1.605 GB, free: 66.96 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04655/3.39, allocations: 7.411 MB / 1.612 GB, free: 59.52 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00466/3.395, allocations: 0.5421 MB / 1.613 GB, free: 58.97 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1493/3.544, allocations: 61.18 MB / 1.673 GB, free: 12.55 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008059/3.552, allocations: 83.91 kB / 1.673 GB, free: 12.47 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001758/3.554, allocations: 203.7 kB / 1.673 GB, free: 12.27 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00174/3.556, allocations: 195.8 kB / 1.673 GB, free: 12.07 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001864/3.558, allocations: 450.7 kB / 1.674 GB, free: 11.63 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07096/3.629, allocations: 15.49 MB / 1.689 GB, free: 12.12 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001113/3.629, allocations: 59.98 kB / 1.689 GB, free: 12.06 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001643/3.629, allocations: 76.12 kB / 1.689 GB, free: 11.99 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00012/3.629, allocations: 23.91 kB / 1.689 GB, free: 11.96 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0919/3.721, allocations: 22.61 MB / 1.711 GB, free: 5.066 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.293e-05/3.721, allocations: 8.188 kB / 1.711 GB, free: 5.059 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003673/3.725, allocations: 303.5 kB / 1.711 GB, free: 4.762 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04432/3.769, allocations: 6.767 MB / 1.718 GB, free: 13.95 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001365/3.771, allocations: 15.98 kB / 1.718 GB, free: 13.94 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4785/4.249, allocations: 58.1 MB / 1.775 GB, free: 442.8 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/4.249, allocations: 14.22 kB / 1.775 GB, free: 442.8 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07685/4.326, allocations: 20.71 MB / 1.795 GB, free: 441 MB / 1.104 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08844/4.415, allocations: 27.17 MB / 1.821 GB, free: 438.6 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005455/4.42, allocations: 1.236 MB / 1.823 GB, free: 438.3 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002822/4.423, allocations: 21.25 kB / 1.823 GB, free: 438.3 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007034/4.43, allocations: 87.47 kB / 1.823 GB, free: 438.3 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001717/4.432, allocations: 282.8 kB / 1.823 GB, free: 438.3 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006155/4.432, allocations: 143.7 kB / 1.823 GB, free: 438.3 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.002913/4.435, allocations: 1.34 MB / 1.824 GB, free: 438.2 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.01813/4.453, allocations: 1.838 MB / 1.826 GB, free: 438.2 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002075/4.456, allocations: 144 kB / 1.826 GB, free: 438.1 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.05226/4.508, allocations: 12.4 MB / 1.839 GB, free: 436.7 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/4.508, allocations: 6.281 kB / 1.839 GB, free: 436.7 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0289/4.537, allocations: 7.727 MB / 1.846 GB, free: 433.6 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009238/4.546, allocations: 0.942 MB / 1.847 GB, free: 433.4 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0442/4.59, allocations: 13.27 MB / 1.86 GB, free: 428.5 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01179/4.602, allocations: 4.856 MB / 1.865 GB, free: 427 MB / 1.104 GB Notification: Performance of SimCode: time 1.302e-06/4.602, allocations: 0 / 1.865 GB, free: 427 MB / 1.104 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)