Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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 9.1.1-maint.9.1.x/package.mo): time 1.779/1.779, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009718/0.000972, allocations: 177.3 kB / 487 MB, free: 5.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.128/1.128, allocations: 221.3 MB / 0.7819 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008422/0.0008421, allocations: 91.31 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4034/0.4043, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.581, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5073/1.088, allocations: 177.3 MB / 1.378 GB, free: 15.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/1.089, allocations: 95.61 kB / 1.379 GB, free: 14.98 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.388/1.477, allocations: 177.3 MB / 1.552 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/1.477, allocations: 8 kB / 1.552 GB, free: 11.88 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005443/1.482, allocations: 1.04 MB / 1.553 GB, free: 10.83 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004325/1.486, allocations: 2.649 MB / 1.555 GB, free: 8.129 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.466e-05/1.487, allocations: 116 kB / 1.555 GB, free: 8.016 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000492/1.487, allocations: 211.9 kB / 1.556 GB, free: 7.809 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006793/1.494, allocations: 4.592 MB / 1.56 GB, free: 3.211 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008594/1.502, allocations: 6.256 MB / 1.566 GB, free: 12.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.503e-05/1.503, allocations: 15.81 kB / 1.566 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003498/1.503, allocations: 12 kB / 1.566 GB, free: 12.57 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000645/1.504, allocations: 407.2 kB / 1.567 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03001/1.534, allocations: 31.64 MB / 1.597 GB, free: 9.781 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/1.536, allocations: 2.103 MB / 1.6 GB, free: 7.668 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002647/1.539, allocations: 2.251 MB / 1.602 GB, free: 5.414 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 7.238e-05/1.539, allocations: 25.28 kB / 1.602 GB, free: 5.391 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/1.539, allocations: 51.88 kB / 1.602 GB, free: 5.328 MB / 1.026 GB Notification: Performance of pre-optimization done (n=146): time 2.725e-06/1.539, allocations: 0 / 1.602 GB, free: 5.328 MB / 1.026 GB Notification: Performance of matching and sorting (n=251): time 0.05447/1.593, allocations: 21.57 MB / 1.623 GB, free: 15.7 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/1.593, allocations: 81.41 kB / 1.623 GB, free: 15.61 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/1.595, allocations: 1.264 MB / 1.624 GB, free: 14.34 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.000353/1.596, allocations: 25.7 kB / 1.624 GB, free: 14.31 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007536/1.596, allocations: 1.458 MB / 1.626 GB, free: 12.83 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007562/1.597, allocations: 0.8158 MB / 1.626 GB, free: 12 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/1.597, allocations: 0 / 1.626 GB, free: 12 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.597, allocations: 411.1 kB / 1.627 GB, free: 11.6 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003445/1.601, allocations: 2.867 MB / 1.63 GB, free: 8.727 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003713/1.605, allocations: 3.397 MB / 1.633 GB, free: 5.113 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005456/1.61, allocations: 3.609 MB / 1.636 GB, free: 1.504 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/1.61, allocations: 4 kB / 1.636 GB, free: 1.5 MB / 1.057 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02323/1.633, allocations: 12.41 MB / 1.649 GB, free: 5.055 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.633, allocations: 7.906 kB / 1.649 GB, free: 5.047 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/1.633, allocations: 16 kB / 1.649 GB, free: 5.031 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02327/1.657, allocations: 7.969 MB / 1.656 GB, free: 13.04 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.658, allocations: 275.5 kB / 1.657 GB, free: 12.77 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04774/1.706, allocations: 30.91 MB / 1.687 GB, free: 13.41 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/1.708, allocations: 87.67 kB / 1.687 GB, free: 13.32 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004745/1.709, allocations: 267.8 kB / 1.687 GB, free: 13.06 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.000574/1.709, allocations: 152.3 kB / 1.687 GB, free: 12.91 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004726/1.71, allocations: 237.2 kB / 1.688 GB, free: 12.67 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02353/1.733, allocations: 12.65 MB / 1.7 GB, free: 15.97 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/1.733, allocations: 24 kB / 1.7 GB, free: 15.95 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.208e-05/1.733, allocations: 24 kB / 1.7 GB, free: 15.93 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.526e-05/1.733, allocations: 11.95 kB / 1.7 GB, free: 15.91 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03202/1.765, allocations: 18.13 MB / 1.718 GB, free: 13.61 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/1.765, allocations: 7.984 kB / 1.718 GB, free: 13.61 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007256/1.766, allocations: 151.8 kB / 1.718 GB, free: 13.46 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02311/1.789, allocations: 7.88 MB / 1.726 GB, free: 5.555 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004216/1.79, allocations: 83.86 kB / 1.726 GB, free: 5.473 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.332/2.122, allocations: 30.43 MB / 1.755 GB, free: 453.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/2.122, allocations: 12.41 kB / 1.755 GB, free: 453.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02017/2.142, allocations: 12.68 MB / 1.768 GB, free: 452.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01982/2.162, allocations: 13.11 MB / 1.781 GB, free: 451.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/2.163, allocations: 0.9875 MB / 1.781 GB, free: 451.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005452/2.164, allocations: 11.28 kB / 1.781 GB, free: 451.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/2.165, allocations: 77.22 kB / 1.782 GB, free: 451.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004492/2.166, allocations: 206.5 kB / 1.782 GB, free: 451.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003475/2.166, allocations: 239.6 kB / 1.782 GB, free: 451.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001002/2.167, allocations: 0.949 MB / 1.783 GB, free: 451.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003376/2.171, allocations: 1.116 MB / 1.784 GB, free: 451.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003792/2.171, allocations: 151.5 kB / 1.784 GB, free: 451 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01445/2.186, allocations: 9.376 MB / 1.793 GB, free: 450.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/2.186, allocations: 0 / 1.793 GB, free: 450.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01118/2.197, allocations: 5.964 MB / 1.799 GB, free: 450.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/2.199, allocations: 405.9 kB / 1.8 GB, free: 450.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/2.21, allocations: 7.48 MB / 1.807 GB, free: 448.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002648/2.213, allocations: 3.212 MB / 1.81 GB, free: 447.9 MB / 1.151 GB Notification: Performance of SimCode: time 8.02e-07/2.213, allocations: 0 / 1.81 GB, free: 447.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)