Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.317/2.317, allocations: 253.1 MB / 260.4 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002176/0.002175, allocations: 181.3 kB / 319.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 0.5704 GB, free: 15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001334/0.001333, allocations: 90.09 kB / 0.6746 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.598e-06/9.618e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2347, allocations: 106.3 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7585/0.9933, allocations: 200.8 MB / 1.084 GB, free: 4.824 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/0.9937, allocations: 94.81 kB / 1.084 GB, free: 4.773 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.3551/1.349, allocations: 83.49 MB / 1.166 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001616/1.349, allocations: 43.92 kB / 1.166 GB, free: 9.727 MB / 0.7761 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.00565/1.355, allocations: 1.598 MB / 1.167 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.355, allocations: 11.97 kB / 1.167 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0221/1.377, allocations: 1.519 MB / 1.169 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004848/1.382, allocations: 1.228 MB / 1.17 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.528e-05/1.382, allocations: 36 kB / 1.17 GB, free: 5.223 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000576/1.382, allocations: 75.84 kB / 1.17 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006053/1.389, allocations: 1.758 MB / 1.172 GB, free: 3.387 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006702/1.395, allocations: 2.104 MB / 1.174 GB, free: 1.098 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.481e-05/1.395, allocations: 15.83 kB / 1.174 GB, free: 1.082 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002991/1.396, allocations: 4 kB / 1.174 GB, free: 1.078 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001487/1.396, allocations: 90.28 kB / 1.174 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02922/1.425, allocations: 10.33 MB / 1.184 GB, free: 6.086 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004935/1.43, allocations: 1.645 MB / 1.186 GB, free: 4.379 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002451/1.433, allocations: 0.909 MB / 1.187 GB, free: 3.469 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 9.72e-05/1.433, allocations: 16.77 kB / 1.187 GB, free: 3.453 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/1.433, allocations: 43.34 kB / 1.187 GB, free: 3.398 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=89): time 4.088e-06/1.433, allocations: 0 / 1.187 GB, free: 3.398 MB / 0.7917 GB Notification: Performance of matching and sorting (n=131): time 0.02736/1.46, allocations: 5.807 MB / 1.192 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/1.46, allocations: 222.9 kB / 1.193 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/1.462, allocations: 0.7662 MB / 1.193 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003721/1.463, allocations: 29.7 kB / 1.193 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005101/1.463, allocations: 0.5191 MB / 1.194 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000706/1.464, allocations: 433.4 kB / 1.194 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/1.464, allocations: 0 / 1.194 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001909/1.464, allocations: 361.9 kB / 1.195 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002618/1.467, allocations: 0.9632 MB / 1.196 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00293/1.47, allocations: 1.223 MB / 1.197 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003524/1.473, allocations: 1.107 MB / 1.198 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/1.474, allocations: 4 kB / 1.198 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01701/1.491, allocations: 3.684 MB / 1.201 GB, free: 4.016 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/1.491, allocations: 8 kB / 1.201 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/1.491, allocations: 4 kB / 1.201 GB, free: 4.004 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01307/1.504, allocations: 1.572 MB / 1.203 GB, free: 2.391 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004556/1.508, allocations: 363.5 kB / 1.203 GB, free: 2.035 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04452/1.553, allocations: 23.32 MB / 1.226 GB, free: 9.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007762/1.561, allocations: 203.7 kB / 1.226 GB, free: 9.012 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004892/1.561, allocations: 59.97 kB / 1.226 GB, free: 8.953 MB / 0.8386 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.0005295/1.562, allocations: 134.2 kB / 1.226 GB, free: 8.816 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005819/1.562, allocations: 146.3 kB / 1.227 GB, free: 8.672 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01766/1.58, allocations: 3.79 MB / 1.23 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-05/1.58, allocations: 19.98 kB / 1.23 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.857e-05/1.58, allocations: 15.91 kB / 1.23 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-05/1.58, allocations: 7.984 kB / 1.23 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02414/1.604, allocations: 6.031 MB / 1.236 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/1.604, allocations: 4.344 kB / 1.236 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004087/1.609, allocations: 315.5 kB / 1.237 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01236/1.621, allocations: 1.451 MB / 1.238 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003818/1.621, allocations: 27.89 kB / 1.238 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04078/1.662, allocations: 22.35 MB / 1.26 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.459e-05/1.662, allocations: 8.172 kB / 1.26 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01567/1.678, allocations: 3.668 MB / 1.263 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001855/1.68, allocations: 455.1 kB / 1.264 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005641/1.68, allocations: 8 kB / 1.264 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004656/1.685, allocations: 211.7 kB / 1.264 GB, free: 444 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003529/1.686, allocations: 68.81 kB / 1.264 GB, free: 376 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002546/1.686, allocations: 47.97 kB / 1.264 GB, free: 328 kB / 0.8698 GB Notification: Performance of sort global known variables: time 0.3376/2.023, allocations: 0.5755 MB / 1.265 GB, free: 368.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003524/2.027, allocations: 0.506 MB / 1.265 GB, free: 368.9 MB / 0.8698 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.0005363/2.028, allocations: 143.2 kB / 1.265 GB, free: 368.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0113/2.039, allocations: 4.049 MB / 1.269 GB, free: 367.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/2.039, allocations: 3.719 kB / 1.269 GB, free: 367.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00826/2.047, allocations: 2.851 MB / 1.272 GB, free: 366.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/2.051, allocations: 409.7 kB / 1.272 GB, free: 366.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/2.063, allocations: 2.925 MB / 1.275 GB, free: 365.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002341/2.065, allocations: 1.558 MB / 1.277 GB, free: 364.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.483e-06/2.065, allocations: 0 / 1.277 GB, free: 364.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.1035/2.169, allocations: 39.02 MB / 1.315 GB, free: 363.6 MB / 0.8698 GB