Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.111/2.111, allocations: 284.9 MB / 292.2 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001582/0.001581, allocations: 177.3 kB / 360.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00124/0.001239, allocations: 88.5 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.378e-06/9.418e-06, allocations: 0 / 0.8503 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5252/0.5253, allocations: 115.2 MB / 0.9628 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3454/0.8707, allocations: 206.1 MB / 1.164 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/0.8711, allocations: 100.5 kB / 1.164 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 0.3267/1.198, allocations: 83.49 MB / 1.246 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001449/1.198, allocations: 47.92 kB / 1.246 GB, free: 10.43 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004556/1.203, allocations: 1.591 MB / 1.247 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.203, allocations: 8.531 kB / 1.247 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02103/1.224, allocations: 1.523 MB / 1.249 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004458/1.228, allocations: 1.232 MB / 1.25 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.966e-05/1.228, allocations: 41 kB / 1.25 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004153/1.229, allocations: 64 kB / 1.25 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005341/1.234, allocations: 1.762 MB / 1.252 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005447/1.24, allocations: 2.104 MB / 1.254 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.139e-05/1.24, allocations: 11.92 kB / 1.254 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/1.24, allocations: 4 kB / 1.254 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/1.24, allocations: 90.28 kB / 1.254 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3981/1.638, allocations: 10.32 MB / 1.264 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003841/1.642, allocations: 1.654 MB / 1.266 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/1.644, allocations: 0.9079 MB / 1.267 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.058e-05/1.644, allocations: 14.48 kB / 1.267 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/1.644, allocations: 48.75 kB / 1.267 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 3.597e-06/1.644, allocations: 0 / 1.267 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.02352/1.668, allocations: 5.803 MB / 1.272 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/1.668, allocations: 218 kB / 1.272 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/1.669, allocations: 0.7646 MB / 1.273 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003196/1.67, allocations: 25.7 kB / 1.273 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/1.67, allocations: 0.5267 MB / 1.274 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/1.67, allocations: 433.9 kB / 1.274 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/1.671, allocations: 3.906 kB / 1.274 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.671, allocations: 361.5 kB / 1.274 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/1.673, allocations: 0.9616 MB / 1.275 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/1.675, allocations: 1.221 MB / 1.277 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/1.678, allocations: 1.11 MB / 1.278 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-06/1.678, allocations: 6.609 kB / 1.278 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01474/1.693, allocations: 3.684 MB / 1.281 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.693, allocations: 4.594 kB / 1.281 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/1.693, allocations: 7.75 kB / 1.281 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01212/1.705, allocations: 1.57 MB / 1.283 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004201/1.709, allocations: 360.8 kB / 1.283 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03348/1.743, allocations: 23.32 MB / 1.306 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004721/1.748, allocations: 206.4 kB / 1.306 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002837/1.748, allocations: 61.19 kB / 1.306 GB, free: 159.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004804/1.748, allocations: 134.9 kB / 1.306 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003921/1.749, allocations: 146.3 kB / 1.306 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/1.764, allocations: 3.79 MB / 1.31 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/1.764, allocations: 11.41 kB / 1.31 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-05/1.764, allocations: 22.25 kB / 1.31 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.336e-05/1.764, allocations: 7.828 kB / 1.31 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0205/1.785, allocations: 6.03 MB / 1.316 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/1.785, allocations: 3.906 kB / 1.316 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003744/1.789, allocations: 311.6 kB / 1.316 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01104/1.8, allocations: 1.467 MB / 1.318 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000285/1.8, allocations: 24 kB / 1.318 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03314/1.833, allocations: 22.36 MB / 1.34 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/1.833, allocations: 2.594 kB / 1.34 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01361/1.847, allocations: 3.663 MB / 1.343 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/1.848, allocations: 457.1 kB / 1.344 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004634/1.849, allocations: 2.875 kB / 1.344 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004066/1.853, allocations: 204 kB / 1.344 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/1.853, allocations: 78.28 kB / 1.344 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/1.854, allocations: 46.95 kB / 1.344 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001105/1.855, allocations: 0.5821 MB / 1.345 GB, free: 142 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00296/1.858, allocations: 0.508 MB / 1.345 GB, free: 142 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004768/1.858, allocations: 140.3 kB / 1.345 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01028/1.868, allocations: 4.054 MB / 1.349 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.868, allocations: 5.281 kB / 1.349 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.007918/1.876, allocations: 2.849 MB / 1.352 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/1.88, allocations: 413.6 kB / 1.352 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/1.89, allocations: 2.921 MB / 1.355 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002135/1.892, allocations: 1.557 MB / 1.357 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.372e-06/1.892, allocations: 0 / 1.357 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.08526/1.978, allocations: 39.03 MB / 1.395 GB, free: 112.3 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)