Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [: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.1.4-maint.8.1.x/package.mo): time 1.356/1.356, allocations: 289.8 MB / 297.1 MB, free: 9.059 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.0008883/0.0008885, allocations: 192.4 kB / 366.3 MB, free: 11.32 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.052/1.052, allocations: 205.1 MB / 0.6256 GB, free: 11.43 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007714/0.0007716, allocations: 89.61 kB / 0.7396 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.252e-06/6.272e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1482, allocations: 116.3 MB / 0.9726 GB, free: 31.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4606/0.6088, allocations: 171.1 MB / 1.14 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.6091, allocations: 90 kB / 1.14 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.37/0.9791, allocations: 178.4 MB / 1.314 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001833/0.9793, allocations: 123.9 kB / 1.314 GB, free: 5.93 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.006264/0.9856, allocations: 3.892 MB / 1.318 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.9856, allocations: 16.03 kB / 1.318 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004682/0.9903, allocations: 0.9191 MB / 1.319 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0049/0.9952, allocations: 3.007 MB / 1.322 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.9954, allocations: 152 kB / 1.322 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005479/0.9959, allocations: 275.9 kB / 1.322 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00718/1.003, allocations: 4.697 MB / 1.327 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009299/1.012, allocations: 6.7 MB / 1.333 GB, free: 1.688 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/1.013, allocations: 31.64 kB / 1.333 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003883/1.013, allocations: 12 kB / 1.333 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002392/1.013, allocations: 293 kB / 1.334 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02882/1.042, allocations: 34.22 MB / 1.367 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/1.044, allocations: 1.479 MB / 1.368 GB, free: 10.44 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/1.045, allocations: 1.308 MB / 1.37 GB, free: 9.125 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.961e-05/1.045, allocations: 17.31 kB / 1.37 GB, free: 9.109 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/1.045, allocations: 51.81 kB / 1.37 GB, free: 9.051 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=133): time 3.126e-06/1.045, allocations: 0 / 1.37 GB, free: 9.051 MB / 0.9011 GB Notification: Performance of matching and sorting (n=136): time 0.007248/1.052, allocations: 4.579 MB / 1.374 GB, free: 4.418 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/1.053, allocations: 68.72 kB / 1.374 GB, free: 4.34 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/1.054, allocations: 1.062 MB / 1.375 GB, free: 3.277 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.437e-05/1.054, allocations: 29.69 kB / 1.375 GB, free: 3.242 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008403/1.055, allocations: 1.749 MB / 1.377 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/1.055, allocations: 473.1 kB / 1.378 GB, free: 1 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/1.055, allocations: 0 / 1.378 GB, free: 1 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.055, allocations: 377.8 kB / 1.378 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/1.056, allocations: 0.902 MB / 1.379 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/1.058, allocations: 1.539 MB / 1.38 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/1.059, allocations: 1.177 MB / 1.381 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/1.059, allocations: 8 kB / 1.381 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005244/1.064, allocations: 3.368 MB / 1.385 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.065, allocations: 4 kB / 1.385 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/1.065, allocations: 20 kB / 1.385 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00264/1.067, allocations: 0.9548 MB / 1.386 GB, free: 8.266 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/1.068, allocations: 335.3 kB / 1.386 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01727/1.086, allocations: 19.74 MB / 1.405 GB, free: 2.812 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.087, allocations: 47.89 kB / 1.405 GB, free: 2.766 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/1.087, allocations: 87.98 kB / 1.405 GB, free: 2.68 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,68.8%) 4,(4,68.8%) 4,(4,68.8%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002747/1.087, allocations: 164.3 kB / 1.406 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/1.088, allocations: 189.8 kB / 1.406 GB, free: 2.324 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004874/1.092, allocations: 2.98 MB / 1.409 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/1.093, allocations: 15.91 kB / 1.409 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.093, allocations: 12 kB / 1.409 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.093, allocations: 7.969 kB / 1.409 GB, free: 15.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009605/1.102, allocations: 6.207 MB / 1.415 GB, free: 8.906 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.066e-06/1.102, allocations: 7.984 kB / 1.415 GB, free: 8.898 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006456/1.103, allocations: 151.8 kB / 1.415 GB, free: 8.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/1.105, allocations: 0.9355 MB / 1.416 GB, free: 7.777 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.121e-05/1.106, allocations: 4 kB / 1.416 GB, free: 7.773 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3345/1.44, allocations: 19.75 MB / 1.435 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.44, allocations: 7.781 kB / 1.435 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004358/1.444, allocations: 3.405 MB / 1.438 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007448/1.445, allocations: 449.7 kB / 1.439 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/1.446, allocations: 7.875 kB / 1.439 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007205/1.446, allocations: 33.78 kB / 1.439 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/1.446, allocations: 76.53 kB / 1.439 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.816e-05/1.446, allocations: 36.22 kB / 1.439 GB, free: 165.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008124/1.447, allocations: 0.7856 MB / 1.44 GB, free: 165 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002101/1.449, allocations: 0.7323 MB / 1.441 GB, free: 165 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 73 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001918/1.45, allocations: 120.5 kB / 1.441 GB, free: 164.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004/1.454, allocations: 3.799 MB / 1.444 GB, free: 163.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.454, allocations: 3.625 kB / 1.444 GB, free: 163.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002761/1.456, allocations: 2.59 MB / 1.447 GB, free: 162.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/1.458, allocations: 0.5793 MB / 1.447 GB, free: 162.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008654/1.467, allocations: 5.65 MB / 1.453 GB, free: 161.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00272/1.47, allocations: 3.254 MB / 1.456 GB, free: 160.3 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/1.47, allocations: 0 / 1.456 GB, free: 160.3 MB / 0.948 GB Notification: Performance of Templates: time 0.04377/1.514, allocations: 33.39 MB / 1.489 GB, free: 159.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)