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.ACLineMatrix_RL.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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [: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.372/2.372, allocations: 253.1 MB / 260.4 MB, free: 7.566 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.001779/0.001779, allocations: 185.2 kB / 319.6 MB, free: 3.305 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 1.943/1.943, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001404/0.001404, allocations: 90.19 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.248e-05/1.258e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1993, allocations: 106.2 MB / 0.8881 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7177/0.9171, allocations: 159.3 MB / 1.044 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004425/0.9176, allocations: 90.56 kB / 1.044 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.6804/1.598, allocations: 127.5 MB / 1.168 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0003168/1.598, allocations: 83.98 kB / 1.168 GB, free: 6.629 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01225/1.611, allocations: 2.929 MB / 1.171 GB, free: 3.645 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.611, allocations: 8.031 kB / 1.171 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/1.622, allocations: 0.9864 MB / 1.172 GB, free: 2.645 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00831/1.63, allocations: 2.276 MB / 1.174 GB, free: 320 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/1.63, allocations: 100 kB / 1.174 GB, free: 220 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/1.632, allocations: 183.9 kB / 1.175 GB, free: 36 kB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01365/1.646, allocations: 3.778 MB / 1.178 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02264/1.668, allocations: 5.293 MB / 1.183 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002493/1.669, allocations: 11.88 kB / 1.183 GB, free: 6.617 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002095/1.671, allocations: 12 kB / 1.183 GB, free: 6.605 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00198/1.673, allocations: 338.2 kB / 1.184 GB, free: 6.273 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07247/1.745, allocations: 28.73 MB / 1.212 GB, free: 6.887 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004784/1.75, allocations: 1.43 MB / 1.213 GB, free: 5.449 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004052/1.754, allocations: 1.507 MB / 1.215 GB, free: 3.941 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/1.754, allocations: 12.98 kB / 1.215 GB, free: 3.926 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/1.754, allocations: 43.56 kB / 1.215 GB, free: 3.875 MB / 0.823 GB Notification: Performance of pre-optimization done (n=110): time 5.07e-06/1.754, allocations: 8 kB / 1.215 GB, free: 3.867 MB / 0.823 GB Notification: Performance of matching and sorting (n=179): time 0.07518/1.83, allocations: 13.4 MB / 1.228 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/1.83, allocations: 77.41 kB / 1.228 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/1.832, allocations: 1.046 MB / 1.229 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005159/1.833, allocations: 25.7 kB / 1.229 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001185/1.834, allocations: 1.3 MB / 1.23 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001141/1.835, allocations: 0.5889 MB / 1.231 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/1.836, allocations: 0 / 1.231 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002494/1.836, allocations: 385.9 kB / 1.231 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004994/1.841, allocations: 1.851 MB / 1.233 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005832/1.847, allocations: 2.35 MB / 1.235 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008244/1.855, allocations: 2.434 MB / 1.238 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.367e-05/1.855, allocations: 4 kB / 1.238 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.0325/1.888, allocations: 7.681 MB / 1.245 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/1.888, allocations: 10.41 kB / 1.245 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.427e-05/1.888, allocations: 16 kB / 1.245 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02644/1.914, allocations: 4.113 MB / 1.249 GB, free: 256 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/1.917, allocations: 283.6 kB / 1.25 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3979/2.315, allocations: 19.34 MB / 1.268 GB, free: 343.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003294/2.318, allocations: 72.05 kB / 1.268 GB, free: 343.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006531/2.319, allocations: 185.3 kB / 1.269 GB, free: 343.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {12 12,6 12,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006957/2.32, allocations: 141.8 kB / 1.269 GB, free: 343.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006631/2.32, allocations: 188.5 kB / 1.269 GB, free: 343.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02709/2.347, allocations: 7.73 MB / 1.277 GB, free: 343.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.762e-05/2.347, allocations: 20.22 kB / 1.277 GB, free: 343.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.343e-05/2.348, allocations: 12.66 kB / 1.277 GB, free: 343.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-05/2.348, allocations: 12.78 kB / 1.277 GB, free: 343.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03839/2.386, allocations: 11.72 MB / 1.288 GB, free: 343 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/2.386, allocations: 7.5 kB / 1.288 GB, free: 343 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/2.388, allocations: 156.1 kB / 1.288 GB, free: 343 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02292/2.41, allocations: 4.041 MB / 1.292 GB, free: 342.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005394/2.411, allocations: 50.42 kB / 1.292 GB, free: 342.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06512/2.476, allocations: 18.92 MB / 1.311 GB, free: 337.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.77e-05/2.476, allocations: 10.47 kB / 1.311 GB, free: 337.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03315/2.509, allocations: 7.925 MB / 1.318 GB, free: 336.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003674/2.513, allocations: 0.699 MB / 1.319 GB, free: 336.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001403/2.515, allocations: 11.31 kB / 1.319 GB, free: 336.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004226/2.519, allocations: 65.95 kB / 1.319 GB, free: 336.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001043/2.52, allocations: 147.7 kB / 1.319 GB, free: 336.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006597/2.521, allocations: 143.6 kB / 1.319 GB, free: 336.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002378/2.523, allocations: 0.8012 MB / 1.32 GB, free: 336.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006353/2.529, allocations: 0.8126 MB / 1.321 GB, free: 336.4 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 (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {6 6,6 12,12 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009423/2.53, allocations: 144.8 kB / 1.321 GB, free: 336.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02518/2.556, allocations: 5.818 MB / 1.327 GB, free: 335.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/2.556, allocations: 0 / 1.327 GB, free: 335.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01837/2.574, allocations: 3.595 MB / 1.33 GB, free: 334.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005312/2.579, allocations: 400 kB / 1.331 GB, free: 334.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01956/2.599, allocations: 5.727 MB / 1.336 GB, free: 332.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005895/2.605, allocations: 2.793 MB / 1.339 GB, free: 331.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.352e-06/2.605, allocations: 0 / 1.339 GB, free: 331.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.1157/2.721, allocations: 47.83 MB / 1.386 GB, free: 307.8 MB / 0.8698 GB