Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.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.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") [: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.16/2.16, allocations: 253.1 MB / 260.4 MB, free: 7.508 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.001716/0.001716, allocations: 177.2 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 1.976/1.976, allocations: 205.4 MB / 0.5704 GB, free: 15.14 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.001242/0.001241, allocations: 83.36 kB / 0.6746 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/9.347e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2279, allocations: 106.2 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7589/0.9869, allocations: 174.2 MB / 1.058 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003665/0.9873, allocations: 92.44 kB / 1.058 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1941/1.181, allocations: 44.08 MB / 1.101 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.385e-05/1.182, allocations: 20 kB / 1.101 GB, free: 9.883 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.003129/1.185, allocations: 0.9174 MB / 1.102 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.185, allocations: 12.03 kB / 1.102 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0188/1.204, allocations: 1.18 MB / 1.103 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/1.206, allocations: 0.5425 MB / 1.104 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/1.206, allocations: 20 kB / 1.104 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002592/1.206, allocations: 36 kB / 1.104 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004326/1.21, allocations: 1.272 MB / 1.105 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003746/1.214, allocations: 1.295 MB / 1.106 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/1.214, allocations: 0 / 1.106 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/1.214, allocations: 4 kB / 1.106 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003834/1.215, allocations: 107.8 kB / 1.107 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01739/1.232, allocations: 6.245 MB / 1.113 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002705/1.235, allocations: 0.9242 MB / 1.114 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/1.237, allocations: 0.5635 MB / 1.114 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005112/1.242, allocations: 2.232 MB / 1.116 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/1.242, allocations: 51.78 kB / 1.116 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 4.078e-06/1.242, allocations: 0 / 1.116 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=93): time 0.01775/1.26, allocations: 3.577 MB / 1.12 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/1.26, allocations: 203.8 kB / 1.12 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009852/1.261, allocations: 433 kB / 1.12 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002911/1.261, allocations: 25.7 kB / 1.12 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/1.262, allocations: 350.8 kB / 1.121 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004941/1.262, allocations: 315.4 kB / 1.121 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/1.262, allocations: 0 / 1.121 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002931/1.263, allocations: 378.8 kB / 1.121 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/1.265, allocations: 0.639 MB / 1.122 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/1.267, allocations: 0.9167 MB / 1.123 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003614/1.271, allocations: 0.8759 MB / 1.124 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.938e-05/1.271, allocations: 4 kB / 1.124 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01136/1.282, allocations: 2.404 MB / 1.126 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001658/1.284, allocations: 3.128 MB / 1.129 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.574e-05/1.284, allocations: 11.98 kB / 1.129 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005675/1.289, allocations: 0.6667 MB / 1.13 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004526/1.294, allocations: 391.6 kB / 1.13 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/1.31, allocations: 6.931 MB / 1.137 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004275/1.314, allocations: 195.7 kB / 1.137 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/1.314, allocations: 71.88 kB / 1.137 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.314, allocations: 4 kB / 1.137 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007114/1.322, allocations: 1.773 MB / 1.139 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.029e-05/1.322, allocations: 8 kB / 1.139 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/1.323, allocations: 213.5 kB / 1.139 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005089/1.328, allocations: 435.8 kB / 1.14 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006813/1.335, allocations: 3.692 MB / 1.143 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00391/1.339, allocations: 187.7 kB / 1.143 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/1.339, allocations: 59.95 kB / 1.144 GB, free: 15.25 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * 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: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005153/1.34, allocations: 136.7 kB / 1.144 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004168/1.34, allocations: 67.16 kB / 1.144 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/1.352, allocations: 2.357 MB / 1.146 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.313e-05/1.352, allocations: 12 kB / 1.146 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.44e-05/1.352, allocations: 4 kB / 1.146 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.373e-05/1.352, allocations: 11.97 kB / 1.146 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/1.368, allocations: 4.12 MB / 1.15 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-05/1.368, allocations: 4 kB / 1.15 GB, free: 8.383 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00365/1.372, allocations: 292.1 kB / 1.15 GB, free: 8.098 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006087/1.378, allocations: 0.7955 MB / 1.151 GB, free: 7.289 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002855/1.378, allocations: 23.97 kB / 1.151 GB, free: 7.266 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/1.395, allocations: 7.907 MB / 1.159 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.421e-05/1.395, allocations: 7.938 kB / 1.159 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01039/1.405, allocations: 2.697 MB / 1.162 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/1.407, allocations: 308.1 kB / 1.162 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002727/1.407, allocations: 8 kB / 1.162 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005244/1.412, allocations: 211.6 kB / 1.162 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004261/1.413, allocations: 63.77 kB / 1.162 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002643/1.413, allocations: 43.97 kB / 1.162 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0008967/1.414, allocations: 326.9 kB / 1.162 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004125/1.418, allocations: 435.9 kB / 1.163 GB, free: 10.58 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005069/1.419, allocations: 139 kB / 1.163 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02675/1.445, allocations: 3.113 MB / 1.166 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/1.445, allocations: 0 / 1.166 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.005103/1.451, allocations: 1.277 MB / 1.167 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009599/1.46, allocations: 86.47 kB / 1.167 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03467/1.495, allocations: 2.375 MB / 1.17 GB, free: 3.406 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002135/1.497, allocations: 1.128 MB / 1.171 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of SimCode: time 1.253e-06/1.497, allocations: 0 / 1.171 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of Templates: time 0.07763/1.575, allocations: 27.95 MB / 1.198 GB, free: 6.301 MB / 0.8073 GB