Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.324/2.324, allocations: 253.1 MB / 260.4 MB, free: 11.77 MB / 211.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001639/0.001638, allocations: 190.1 kB / 319.6 MB, free: 2.27 MB / 243.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.922/1.922, allocations: 205.4 MB / 0.5704 GB, free: 8.328 MB / 435.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00189/0.001889, allocations: 103.5 kB / 0.6746 GB, free: 21.84 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 1.14e-05/1.158e-05, allocations: 4 kB / 0.7843 GB, free: 5.434 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.616/0.616, allocations: 106.2 MB / 0.8881 GB, free: 64.45 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2954/0.9115, allocations: 163.8 MB / 1.048 GB, free: 8.391 MB / 0.6905 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005519/0.9122, allocations: 89.06 kB / 1.048 GB, free: 8.305 MB / 0.6905 GB Notification: Performance of FrontEnd: time 1.258/2.17, allocations: 197.8 MB / 1.241 GB, free: 104.8 MB / 0.753 GB Notification: Performance of Transformations before backend: time 0.0004189/2.17, allocations: 131.9 kB / 1.241 GB, free: 104.6 MB / 0.753 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02028/2.191, allocations: 4.525 MB / 1.246 GB, free: 100 MB / 0.753 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/2.191, allocations: 8.031 kB / 1.246 GB, free: 100 MB / 0.753 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/2.202, allocations: 1.039 MB / 1.247 GB, free: 98.99 MB / 0.753 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01682/2.219, allocations: 3.418 MB / 1.25 GB, free: 95.52 MB / 0.753 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006339/2.22, allocations: 184 kB / 1.25 GB, free: 95.34 MB / 0.753 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003949/2.224, allocations: 323.9 kB / 1.251 GB, free: 95.02 MB / 0.753 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02245/2.246, allocations: 5.638 MB / 1.256 GB, free: 89.38 MB / 0.753 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0351/2.282, allocations: 7.85 MB / 1.264 GB, free: 81.1 MB / 0.753 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004035/2.282, allocations: 35.67 kB / 1.264 GB, free: 81.07 MB / 0.753 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002297/2.284, allocations: 12 kB / 1.264 GB, free: 81.05 MB / 0.753 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004933/2.285, allocations: 327 kB / 1.264 GB, free: 80.73 MB / 0.753 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07113/2.356, allocations: 39.13 MB / 1.302 GB, free: 37.9 MB / 0.753 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004513/2.361, allocations: 2.152 MB / 1.305 GB, free: 35.73 MB / 0.753 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004371/2.365, allocations: 1.94 MB / 1.306 GB, free: 33.8 MB / 0.753 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/2.365, allocations: 21.98 kB / 1.306 GB, free: 33.78 MB / 0.753 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/2.365, allocations: 56.5 kB / 1.307 GB, free: 33.71 MB / 0.753 GB Notification: Performance of pre-optimization done (n=179): time 5.18e-06/2.365, allocations: 0 / 1.307 GB, free: 33.71 MB / 0.753 GB Notification: Performance of matching and sorting (n=182): time 0.01825/2.384, allocations: 6.068 MB / 1.312 GB, free: 27.62 MB / 0.753 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/2.384, allocations: 69.41 kB / 1.313 GB, free: 27.54 MB / 0.753 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/2.386, allocations: 1.1 MB / 1.314 GB, free: 26.44 MB / 0.753 GB Notification: Performance of collectPreVariables (initialization): time 0.0004415/2.386, allocations: 25.7 kB / 1.314 GB, free: 26.41 MB / 0.753 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/2.388, allocations: 1.983 MB / 1.316 GB, free: 24.4 MB / 0.753 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009397/2.388, allocations: 0.6043 MB / 1.316 GB, free: 23.79 MB / 0.753 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/2.389, allocations: 4 kB / 1.316 GB, free: 23.78 MB / 0.753 GB Notification: Performance of setup shared object (initialization): time 0.0002016/2.389, allocations: 402.3 kB / 1.317 GB, free: 23.38 MB / 0.753 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002761/2.392, allocations: 1.176 MB / 1.318 GB, free: 22.2 MB / 0.753 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003439/2.395, allocations: 1.838 MB / 1.319 GB, free: 20.06 MB / 0.753 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003636/2.399, allocations: 1.528 MB / 1.321 GB, free: 18.54 MB / 0.753 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.742e-05/2.399, allocations: 12 kB / 1.321 GB, free: 18.52 MB / 0.753 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01374/2.413, allocations: 4.427 MB / 1.325 GB, free: 14.07 MB / 0.753 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/2.413, allocations: 4 kB / 1.325 GB, free: 14.07 MB / 0.753 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.684e-05/2.413, allocations: 20 kB / 1.325 GB, free: 14.05 MB / 0.753 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007303/2.42, allocations: 1.555 MB / 1.327 GB, free: 12.49 MB / 0.753 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/2.423, allocations: 335.5 kB / 1.327 GB, free: 12.16 MB / 0.753 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03527/2.458, allocations: 15.56 MB / 1.342 GB, free: 12.12 MB / 0.7687 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/2.461, allocations: 51.94 kB / 1.342 GB, free: 12.07 MB / 0.7687 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005494/2.462, allocations: 95.94 kB / 1.343 GB, free: 11.98 MB / 0.7687 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 (174): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(14,34.7%) 24,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000555/2.462, allocations: 160.3 kB / 1.343 GB, free: 11.82 MB / 0.7687 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007107/2.463, allocations: 217.5 kB / 1.343 GB, free: 11.6 MB / 0.7687 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/2.477, allocations: 4.071 MB / 1.347 GB, free: 7.496 MB / 0.7687 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.536e-05/2.478, allocations: 16 kB / 1.347 GB, free: 7.48 MB / 0.7687 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.202e-05/2.478, allocations: 16 kB / 1.347 GB, free: 7.465 MB / 0.7687 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.204e-05/2.478, allocations: 11.88 kB / 1.347 GB, free: 7.453 MB / 0.7687 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02882/2.507, allocations: 8.082 MB / 1.355 GB, free: 15.25 MB / 0.7843 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.719e-05/2.507, allocations: 4 kB / 1.355 GB, free: 15.25 MB / 0.7843 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/2.508, allocations: 163.6 kB / 1.355 GB, free: 15.09 MB / 0.7843 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007884/2.516, allocations: 1.53 MB / 1.356 GB, free: 13.55 MB / 0.7843 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004436/2.517, allocations: 4 kB / 1.356 GB, free: 13.54 MB / 0.7843 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04038/2.557, allocations: 15.55 MB / 1.372 GB, free: 13.53 MB / 0.7999 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.387e-05/2.557, allocations: 7.938 kB / 1.372 GB, free: 13.52 MB / 0.7999 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01458/2.572, allocations: 4.483 MB / 1.376 GB, free: 8.848 MB / 0.7999 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002327/2.574, allocations: 0.5261 MB / 1.377 GB, free: 8.301 MB / 0.7999 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008347/2.575, allocations: 7.984 kB / 1.377 GB, free: 8.293 MB / 0.7999 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/2.577, allocations: 39.95 kB / 1.377 GB, free: 8.254 MB / 0.7999 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005299/2.578, allocations: 101.7 kB / 1.377 GB, free: 8.156 MB / 0.7999 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/2.578, allocations: 48 kB / 1.377 GB, free: 8.109 MB / 0.7999 GB Notification: Performance of sort global known variables: time 0.002057/2.58, allocations: 0.8022 MB / 1.377 GB, free: 7.316 MB / 0.7999 GB Notification: Performance of remove unused functions: time 0.00557/2.586, allocations: 0.8945 MB / 1.378 GB, free: 6.422 MB / 0.7999 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 (77): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(14,34.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006246/2.586, allocations: 131 kB / 1.378 GB, free: 6.281 MB / 0.7999 GB Notification: Performance of simCode: created initialization part: time 0.0139/2.6, allocations: 4.001 MB / 1.382 GB, free: 2.246 MB / 0.7999 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/2.6, allocations: 1.562 kB / 1.382 GB, free: 2.246 MB / 0.7999 GB Notification: Performance of simCode: created simulation system equations: time 0.009831/2.61, allocations: 2.508 MB / 1.385 GB, free: 15.7 MB / 0.8155 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006192/2.617, allocations: 0.5969 MB / 1.385 GB, free: 15.11 MB / 0.8155 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03242/2.649, allocations: 7.048 MB / 1.392 GB, free: 7.922 MB / 0.8155 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01597/2.665, allocations: 3.687 MB / 1.396 GB, free: 4.199 MB / 0.8155 GB Notification: Performance of SimCode: time 4.539e-06/2.665, allocations: 0 / 1.396 GB, free: 4.199 MB / 0.8155 GB Notification: Performance of Templates: time 0.4731/3.138, allocations: 41.05 MB / 1.436 GB, free: 264.5 MB / 0.8468 GB