Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.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.478/2.478, allocations: 253.1 MB / 260.4 MB, free: 7.484 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.001658/0.001658, allocations: 189.2 kB / 319.6 MB, free: 3.246 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.931/1.931, 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: 99.27 kB / 0.6746 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.278e-05/1.3e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2154, allocations: 106.3 MB / 0.8881 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7734/0.9889, allocations: 170.4 MB / 1.055 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003832/0.9894, allocations: 90.06 kB / 1.055 GB, free: 2.074 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.2151/1.204, allocations: 43.04 MB / 1.097 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.434e-05/1.205, allocations: 16 kB / 1.097 GB, free: 14.29 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.01597/1.221, allocations: 0.908 MB / 1.098 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/1.221, allocations: 8.031 kB / 1.098 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04554/1.266, allocations: 1.189 MB / 1.099 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/1.269, allocations: 0.5514 MB / 1.099 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.284e-05/1.269, allocations: 20 kB / 1.099 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004429/1.269, allocations: 40 kB / 1.099 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005463/1.275, allocations: 1.262 MB / 1.101 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003889/1.279, allocations: 1.293 MB / 1.102 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/1.279, allocations: 7.938 kB / 1.102 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/1.279, allocations: 4 kB / 1.102 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004424/1.279, allocations: 92.89 kB / 1.102 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01932/1.299, allocations: 6.244 MB / 1.108 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/1.302, allocations: 0.9253 MB / 1.109 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/1.303, allocations: 0.5715 MB / 1.109 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004921/1.308, allocations: 2.229 MB / 1.112 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/1.308, allocations: 44.86 kB / 1.112 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=69): time 4.018e-06/1.308, allocations: 4 kB / 1.112 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=93): time 0.01809/1.326, allocations: 3.574 MB / 1.115 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/1.327, allocations: 199.8 kB / 1.115 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009483/1.328, allocations: 433 kB / 1.116 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002697/1.328, allocations: 25.7 kB / 1.116 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/1.328, allocations: 358.7 kB / 1.116 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004641/1.329, allocations: 307.4 kB / 1.116 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/1.329, allocations: 0 / 1.116 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000239/1.329, allocations: 378.8 kB / 1.117 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/1.331, allocations: 0.6468 MB / 1.117 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/1.333, allocations: 0.9051 MB / 1.118 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003658/1.337, allocations: 0.8914 MB / 1.119 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/1.337, allocations: 3.938 kB / 1.119 GB, free: 9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01159/1.349, allocations: 2.388 MB / 1.122 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001694/1.35, allocations: 3.128 MB / 1.125 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-05/1.35, allocations: 11.98 kB / 1.125 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005791/1.356, allocations: 0.6782 MB / 1.125 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004573/1.361, allocations: 395.4 kB / 1.126 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/1.377, allocations: 6.926 MB / 1.132 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004305/1.381, allocations: 199.6 kB / 1.133 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003423/1.382, allocations: 63.97 kB / 1.133 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.382, allocations: 4 kB / 1.133 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008024/1.39, allocations: 1.781 MB / 1.134 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.916e-05/1.39, allocations: 8 kB / 1.134 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/1.391, allocations: 217.8 kB / 1.135 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005028/1.396, allocations: 439.3 kB / 1.135 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006788/1.403, allocations: 3.677 MB / 1.139 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005757/1.409, allocations: 199.8 kB / 1.139 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005587/1.409, allocations: 59.97 kB / 1.139 GB, free: 3.957 MB / 0.7448 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.0007564/1.41, allocations: 128.6 kB / 1.139 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008102/1.411, allocations: 71.16 kB / 1.139 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/1.428, allocations: 2.35 MB / 1.141 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.041e-05/1.428, allocations: 8 kB / 1.141 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.991e-05/1.428, allocations: 12 kB / 1.141 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.378e-05/1.428, allocations: 3.984 kB / 1.141 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/1.444, allocations: 4.12 MB / 1.145 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/1.444, allocations: 8 kB / 1.145 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003712/1.448, allocations: 292.2 kB / 1.146 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006215/1.454, allocations: 0.7877 MB / 1.146 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003171/1.454, allocations: 23.97 kB / 1.146 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/1.472, allocations: 7.919 MB / 1.154 GB, free: 3.613 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-05/1.472, allocations: 8 kB / 1.154 GB, free: 3.605 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01082/1.483, allocations: 2.689 MB / 1.157 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.484, allocations: 308.1 kB / 1.157 GB, free: 376 kB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/1.484, allocations: 15.98 kB / 1.157 GB, free: 360 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004264/1.489, allocations: 207.6 kB / 1.157 GB, free: 152 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003702/1.489, allocations: 63.81 kB / 1.157 GB, free: 88 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001957/1.489, allocations: 43.91 kB / 1.157 GB, free: 44 kB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0008324/1.49, allocations: 331 kB / 1.158 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003217/1.493, allocations: 439.9 kB / 1.158 GB, free: 15.29 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.0004338/1.494, allocations: 130.4 kB / 1.158 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01112/1.505, allocations: 3.11 MB / 1.161 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/1.505, allocations: 0 / 1.161 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004216/1.509, allocations: 1.28 MB / 1.163 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/1.511, allocations: 81.92 kB / 1.163 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01833/1.529, allocations: 2.378 MB / 1.165 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001994/1.531, allocations: 1.128 MB / 1.166 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of SimCode: time 1.473e-06/1.531, allocations: 0 / 1.166 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of Templates: time 0.0736/1.605, allocations: 27.93 MB / 1.193 GB, free: 11.04 MB / 0.8073 GB