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.ACDCConverter.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.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") [: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.116/2.116, allocations: 253.1 MB / 260.4 MB, free: 7.582 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.001848/0.001847, allocations: 185 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.93/1.93, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001886/0.001886, allocations: 98.38 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.18e-05/1.196e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.219, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.735/0.9541, allocations: 164.8 MB / 1.049 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003662/0.9545, allocations: 93.02 kB / 1.049 GB, free: 7.891 MB / 0.6667 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd: time 0.08222/1.037, allocations: 19.62 MB / 1.068 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.135e-05/1.037, allocations: 4 kB / 1.068 GB, free: 7.789 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001251/1.038, allocations: 0.5729 MB / 1.069 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.038, allocations: 12.03 kB / 1.069 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/1.04, allocations: 123.5 kB / 1.069 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006494/1.041, allocations: 287.1 kB / 1.069 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/1.041, allocations: 4 kB / 1.069 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.449e-05/1.041, allocations: 12 kB / 1.069 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007578/1.042, allocations: 259.8 kB / 1.069 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008362/1.042, allocations: 372 kB / 1.07 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/1.042, allocations: 4 kB / 1.07 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/1.042, allocations: 0 / 1.07 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.211e-05/1.043, allocations: 27.86 kB / 1.07 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003863/1.046, allocations: 2.017 MB / 1.072 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007271/1.047, allocations: 285 kB / 1.072 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/1.048, allocations: 187.4 kB / 1.072 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/1.048, allocations: 89.28 kB / 1.072 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/1.048, allocations: 30.75 kB / 1.072 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 3.176e-06/1.048, allocations: 4 kB / 1.072 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34): time 0.003806/1.052, allocations: 0.899 MB / 1.073 GB, free: 3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/1.052, allocations: 81.11 kB / 1.073 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/1.052, allocations: 197.4 kB / 1.074 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/1.052, allocations: 29.64 kB / 1.074 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/1.053, allocations: 165 kB / 1.074 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/1.053, allocations: 115.7 kB / 1.074 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/1.053, allocations: 0 / 1.074 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.053, allocations: 336.8 kB / 1.074 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/1.053, allocations: 161.5 kB / 1.074 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/1.054, allocations: 264.3 kB / 1.075 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008423/1.055, allocations: 235.4 kB / 1.075 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/1.055, allocations: 7.906 kB / 1.075 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002395/1.057, allocations: 0.5889 MB / 1.075 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008936/1.058, allocations: 1.228 MB / 1.077 GB, free: 15.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/1.058, allocations: 0 / 1.077 GB, free: 15.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/1.059, allocations: 132.7 kB / 1.077 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/1.061, allocations: 107.1 kB / 1.077 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006817/1.068, allocations: 3.812 MB / 1.081 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009671/1.069, allocations: 31.88 kB / 1.081 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.668e-05/1.069, allocations: 14.81 kB / 1.081 GB, free: 11.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/1.069, allocations: 4 kB / 1.081 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002222/1.071, allocations: 0.5216 MB / 1.081 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/1.071, allocations: 8.344 kB / 1.081 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005182/1.072, allocations: 130 kB / 1.081 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007794/1.072, allocations: 103.1 kB / 1.081 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/1.073, allocations: 1.128 MB / 1.082 GB, free: 9.887 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/1.074, allocations: 26.47 kB / 1.082 GB, free: 9.863 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/1.074, allocations: 19 kB / 1.082 GB, free: 9.848 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.conversion.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002493/1.074, allocations: 124.8 kB / 1.083 GB, free: 9.719 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/1.074, allocations: 27.7 kB / 1.083 GB, free: 9.691 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/1.076, allocations: 0.5551 MB / 1.083 GB, free: 9.266 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/1.076, allocations: 4 kB / 1.083 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.076, allocations: 0 / 1.083 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.076, allocations: 0 / 1.083 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/1.08, allocations: 1.224 MB / 1.084 GB, free: 8.172 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/1.08, allocations: 4 kB / 1.084 GB, free: 8.168 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/1.08, allocations: 71.95 kB / 1.084 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006614/1.081, allocations: 143 kB / 1.085 GB, free: 7.977 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/1.081, allocations: 4 kB / 1.085 GB, free: 7.973 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00408/1.085, allocations: 3.844 MB / 1.088 GB, free: 4.031 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/1.085, allocations: 7.969 kB / 1.088 GB, free: 4.023 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001777/1.087, allocations: 0.8199 MB / 1.089 GB, free: 3.227 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/1.087, allocations: 139 kB / 1.089 GB, free: 3.086 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/1.087, allocations: 7.984 kB / 1.089 GB, free: 3.078 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005502/1.088, allocations: 23.98 kB / 1.089 GB, free: 3.055 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.741e-05/1.088, allocations: 35.11 kB / 1.089 GB, free: 3.023 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/1.088, allocations: 11.44 kB / 1.089 GB, free: 3.016 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0002179/1.088, allocations: 153.4 kB / 1.089 GB, free: 2.891 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001093/1.089, allocations: 151.9 kB / 1.09 GB, free: 2.742 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003064/1.09, allocations: 147.1 kB / 1.09 GB, free: 2.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002389/1.092, allocations: 1.028 MB / 1.091 GB, free: 1.699 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.092, allocations: 64 / 1.091 GB, free: 1.699 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/1.093, allocations: 424.5 kB / 1.091 GB, free: 1.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006515/1.094, allocations: 42.41 kB / 1.091 GB, free: 1.289 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/1.096, allocations: 0.5702 MB / 1.092 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007324/1.096, allocations: 0.8427 MB / 1.093 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of SimCode: time 9.42e-07/1.096, allocations: 0 / 1.093 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of Templates: time 0.01965/1.116, allocations: 6.815 MB / 1.099 GB, free: 9.129 MB / 0.7136 GB