Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") [: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.224/2.224, allocations: 253.1 MB / 260.4 MB, free: 7.469 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.001644/0.001644, allocations: 186.8 kB / 319.6 MB, free: 3.32 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.075/2.075, allocations: 205.4 MB / 0.5704 GB, free: 15.01 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.001848/0.001848, allocations: 96 kB / 0.6746 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.233e-05/1.248e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2167, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.748/0.9648, allocations: 181 MB / 1.065 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/0.9652, allocations: 98.23 kB / 1.065 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.3999/1.365, allocations: 97.53 MB / 1.16 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.000153/1.365, allocations: 52 kB / 1.16 GB, free: 15.44 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.01169/1.377, allocations: 2.287 MB / 1.162 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 8.374e-05/1.377, allocations: 8.031 kB / 1.162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02187/1.399, allocations: 1.491 MB / 1.164 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006246/1.405, allocations: 1.603 MB / 1.165 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/1.406, allocations: 91.94 kB / 1.166 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001619/1.407, allocations: 156 kB / 1.166 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01545/1.423, allocations: 3.955 MB / 1.17 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/1.439, allocations: 4.251 MB / 1.174 GB, free: 1.402 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/1.439, allocations: 0 / 1.174 GB, free: 1.402 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009942/1.44, allocations: 4 kB / 1.174 GB, free: 1.398 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008435/1.441, allocations: 184.5 kB / 1.174 GB, free: 1.215 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05997/1.501, allocations: 20.76 MB / 1.194 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005066/1.506, allocations: 1.855 MB / 1.196 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004311/1.51, allocations: 1.462 MB / 1.197 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004287/1.511, allocations: 122.1 kB / 1.197 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.621e-05/1.511, allocations: 55.48 kB / 1.198 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=139): time 4.558e-06/1.511, allocations: 0 / 1.198 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of matching and sorting (n=181): time 0.03609/1.547, allocations: 7.817 MB / 1.205 GB, free: 15.13 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001832/1.547, allocations: 226.9 kB / 1.205 GB, free: 14.86 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/1.55, allocations: 0.8547 MB / 1.206 GB, free: 14 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005972/1.55, allocations: 25.7 kB / 1.206 GB, free: 13.97 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/1.552, allocations: 1.041 MB / 1.207 GB, free: 12.91 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001282/1.553, allocations: 0.6005 MB / 1.208 GB, free: 12.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003863/1.553, allocations: 0 / 1.208 GB, free: 12.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0004315/1.554, allocations: 427.3 kB / 1.208 GB, free: 11.88 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00567/1.559, allocations: 1.445 MB / 1.21 GB, free: 10.43 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00639/1.566, allocations: 2 MB / 1.212 GB, free: 8.18 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/1.576, allocations: 2.063 MB / 1.214 GB, free: 6.121 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.578e-05/1.576, allocations: 8 kB / 1.214 GB, free: 6.113 MB / 0.823 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.02324/1.6, allocations: 4.686 MB / 1.218 GB, free: 1.406 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.003839/1.603, allocations: 6.692 MB / 1.225 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.09e-05/1.604, allocations: 20.19 kB / 1.225 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006599/1.61, allocations: 1.005 MB / 1.226 GB, free: 9.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007448/1.618, allocations: 0.6318 MB / 1.226 GB, free: 8.527 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02579/1.644, allocations: 9.382 MB / 1.236 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006347/1.65, allocations: 283.4 kB / 1.236 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007399/1.651, allocations: 108 kB / 1.236 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.651, allocations: 4 kB / 1.236 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01672/1.667, allocations: 4.409 MB / 1.24 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.394e-05/1.668, allocations: 16 kB / 1.24 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004045/1.672, allocations: 0.8607 MB / 1.241 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007271/1.679, allocations: 0.6357 MB / 1.242 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02256/1.702, allocations: 8.998 MB / 1.25 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006062/1.708, allocations: 283.4 kB / 1.251 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000698/1.708, allocations: 104 kB / 1.251 GB, free: 14.96 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 218 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,77.8%) 30,(6,80.6%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000811/1.709, allocations: 164.3 kB / 1.251 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006803/1.71, allocations: 130.5 kB / 1.251 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0175/1.728, allocations: 4.474 MB / 1.255 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-05/1.728, allocations: 16 kB / 1.256 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.138e-05/1.728, allocations: 12 kB / 1.256 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.942e-05/1.728, allocations: 11.97 kB / 1.256 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02568/1.753, allocations: 7.345 MB / 1.263 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.677e-05/1.754, allocations: 8 kB / 1.263 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005539/1.759, allocations: 436.1 kB / 1.263 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004326/1.763, allocations: 0.8607 MB / 1.264 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004821/1.764, allocations: 39.86 kB / 1.264 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4515/2.216, allocations: 8.787 MB / 1.273 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/2.216, allocations: 14.66 kB / 1.273 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01186/2.227, allocations: 4.225 MB / 1.277 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001756/2.229, allocations: 0.5279 MB / 1.277 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006306/2.23, allocations: 10.64 kB / 1.277 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005347/2.235, allocations: 255.2 kB / 1.277 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004534/2.236, allocations: 109.9 kB / 1.278 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002791/2.236, allocations: 70.41 kB / 1.278 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001497/2.238, allocations: 0.6702 MB / 1.278 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00663/2.244, allocations: 1.039 MB / 1.279 GB, free: 219.5 MB / 0.8698 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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000624/2.245, allocations: 135.9 kB / 1.279 GB, free: 219.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01843/2.263, allocations: 6.201 MB / 1.286 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/2.263, allocations: 3.625 kB / 1.286 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006255/2.27, allocations: 1.93 MB / 1.287 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/2.272, allocations: 130.1 kB / 1.288 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0322/2.304, allocations: 5.582 MB / 1.293 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006082/2.31, allocations: 2.356 MB / 1.295 GB, free: 217 MB / 0.8698 GB Notification: Performance of SimCode: time 1.412e-06/2.31, allocations: 0 / 1.295 GB, free: 217 MB / 0.8698 GB Notification: Performance of Templates: time 0.1339/2.444, allocations: 52.28 MB / 1.346 GB, free: 214.7 MB / 0.8698 GB