Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [: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.1-maint.8.0.x/package.mo): time 1.306/1.306, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.0008846/0.0008846, allocations: 183.7 kB / 361.1 MB, free: 7.121 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.01/1.01, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007413/0.0007413, allocations: 84.84 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.783e-06/6.803e-06, allocations: 0 / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4031, allocations: 115.3 MB / 0.9637 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.5553, allocations: 165.6 MB / 1.125 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.5556, allocations: 93.02 kB / 1.126 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.6012/1.157, allocations: 137.9 MB / 1.26 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001744/1.157, allocations: 97.91 kB / 1.26 GB, free: 153.2 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.005687/1.163, allocations: 3.364 MB / 1.264 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/1.163, allocations: 10.94 kB / 1.264 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005105/1.168, allocations: 1.037 MB / 1.265 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003604/1.171, allocations: 2.629 MB / 1.267 GB, free: 151 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.428e-05/1.172, allocations: 117.7 kB / 1.267 GB, free: 151 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004569/1.172, allocations: 209.3 kB / 1.267 GB, free: 151 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005409/1.177, allocations: 4.595 MB / 1.272 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00688/1.184, allocations: 6.259 MB / 1.278 GB, free: 150 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.146e-05/1.184, allocations: 10.66 kB / 1.278 GB, free: 150 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003404/1.185, allocations: 10.78 kB / 1.278 GB, free: 150 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005154/1.185, allocations: 406.5 kB / 1.278 GB, free: 150 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02301/1.208, allocations: 31.64 MB / 1.309 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/1.21, allocations: 2.103 MB / 1.311 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/1.212, allocations: 2.253 MB / 1.314 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.535e-05/1.212, allocations: 22.98 kB / 1.314 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/1.212, allocations: 49.47 kB / 1.314 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 2.755e-06/1.212, allocations: 3.719 kB / 1.314 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.04949/1.262, allocations: 21.59 MB / 1.335 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/1.262, allocations: 78.28 kB / 1.335 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/1.263, allocations: 1.267 MB / 1.336 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002225/1.264, allocations: 29.7 kB / 1.336 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004017/1.264, allocations: 1.455 MB / 1.338 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005088/1.264, allocations: 0.816 MB / 1.338 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/1.265, allocations: 0 / 1.338 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.494e-05/1.265, allocations: 409.9 kB / 1.339 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002772/1.268, allocations: 2.869 MB / 1.342 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003357/1.271, allocations: 3.393 MB / 1.345 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00527/1.276, allocations: 3.607 MB / 1.348 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/1.276, allocations: 7.281 kB / 1.348 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.0209/1.297, allocations: 12.41 MB / 1.36 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.297, allocations: 8.906 kB / 1.361 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/1.297, allocations: 21.06 kB / 1.361 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02156/1.319, allocations: 7.968 MB / 1.368 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/1.32, allocations: 278.6 kB / 1.369 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04205/1.362, allocations: 30.91 MB / 1.399 GB, free: 107.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/1.364, allocations: 86.27 kB / 1.399 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003864/1.365, allocations: 266.8 kB / 1.399 GB, free: 107.4 MB / 0.8542 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.0005048/1.365, allocations: 149.6 kB / 1.399 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003971/1.365, allocations: 237.2 kB / 1.399 GB, free: 107 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02185/1.387, allocations: 12.64 MB / 1.412 GB, free: 97.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.818e-05/1.387, allocations: 27.09 kB / 1.412 GB, free: 97.58 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.844e-05/1.387, allocations: 24 kB / 1.412 GB, free: 97.55 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.435e-05/1.387, allocations: 12.47 kB / 1.412 GB, free: 97.55 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03023/1.418, allocations: 18.13 MB / 1.43 GB, free: 79.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.418, allocations: 4 kB / 1.43 GB, free: 79.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007109/1.418, allocations: 161.2 kB / 1.43 GB, free: 79.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02182/1.44, allocations: 7.888 MB / 1.437 GB, free: 71.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004338/1.441, allocations: 79.86 kB / 1.438 GB, free: 71.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04142/1.482, allocations: 30.42 MB / 1.467 GB, free: 40.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/1.482, allocations: 6.531 kB / 1.467 GB, free: 40.85 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02097/1.503, allocations: 12.69 MB / 1.48 GB, free: 27.93 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/1.505, allocations: 0.9938 MB / 1.481 GB, free: 26.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008109/1.506, allocations: 12 kB / 1.481 GB, free: 26.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/1.508, allocations: 83.75 kB / 1.481 GB, free: 26.82 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000474/1.508, allocations: 209.4 kB / 1.481 GB, free: 26.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003929/1.509, allocations: 235.8 kB / 1.481 GB, free: 26.38 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.00121/1.51, allocations: 0.9465 MB / 1.482 GB, free: 25.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003338/1.513, allocations: 1.101 MB / 1.483 GB, free: 24.34 MB / 0.8542 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.000444/1.514, allocations: 151.3 kB / 1.483 GB, free: 24.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01511/1.529, allocations: 9.363 MB / 1.492 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.529, allocations: 256 / 1.492 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01167/1.541, allocations: 5.964 MB / 1.498 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/1.543, allocations: 416.6 kB / 1.499 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/1.556, allocations: 7.472 MB / 1.506 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00393/1.56, allocations: 3.213 MB / 1.509 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of SimCode: time 9.21e-07/1.56, allocations: 1.781 kB / 1.509 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of Templates: time 0.08892/1.649, allocations: 65.58 MB / 1.573 GB, free: 13.51 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)