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.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.232/2.232, allocations: 253.1 MB / 260.4 MB, free: 7.477 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.001676/0.001675, allocations: 185.2 kB / 319.6 MB, free: 3.293 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.983/1.983, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001345/0.001345, allocations: 94.39 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.26e-05/1.276e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2148, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7582/0.973, allocations: 166.3 MB / 1.05 GB, free: 6.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003803/0.9734, allocations: 96.19 kB / 1.051 GB, free: 6.449 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.115/1.088, allocations: 19.88 MB / 1.07 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.863e-05/1.088, allocations: 4 kB / 1.07 GB, free: 6.094 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.001353/1.09, allocations: 0.5769 MB / 1.071 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/1.09, allocations: 8.031 kB / 1.071 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/1.092, allocations: 119.5 kB / 1.071 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006858/1.092, allocations: 283 kB / 1.071 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/1.092, allocations: 8 kB / 1.071 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/1.093, allocations: 16 kB / 1.071 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007718/1.093, allocations: 265.4 kB / 1.071 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008638/1.094, allocations: 365.4 kB / 1.072 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/1.094, allocations: 0 / 1.072 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/1.094, allocations: 0 / 1.072 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.463e-05/1.094, allocations: 36.05 kB / 1.072 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004044/1.098, allocations: 2.015 MB / 1.074 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007178/1.099, allocations: 280.2 kB / 1.074 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005555/1.1, allocations: 182.4 kB / 1.074 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/1.1, allocations: 89.28 kB / 1.074 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/1.1, allocations: 38 kB / 1.074 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 3.556e-06/1.1, allocations: 0 / 1.074 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34): time 0.004008/1.104, allocations: 0.8908 MB / 1.075 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/1.104, allocations: 81.11 kB / 1.075 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/1.105, allocations: 193 kB / 1.075 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.246e-05/1.105, allocations: 29.69 kB / 1.075 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/1.105, allocations: 166.8 kB / 1.075 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/1.105, allocations: 113 kB / 1.076 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/1.105, allocations: 4 kB / 1.076 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.105, allocations: 336.9 kB / 1.076 GB, free: 444 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/1.106, allocations: 159.1 kB / 1.076 GB, free: 344 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/1.106, allocations: 274.6 kB / 1.076 GB, free: 92 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008159/1.107, allocations: 229.5 kB / 1.076 GB, free: 15.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/1.107, allocations: 7.906 kB / 1.077 GB, free: 15.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00212/1.109, allocations: 0.5986 MB / 1.077 GB, free: 15.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005472/1.11, allocations: 1.225 MB / 1.078 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/1.11, allocations: 4 kB / 1.078 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007128/1.11, allocations: 133.2 kB / 1.078 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008953/1.111, allocations: 99.81 kB / 1.079 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004317/1.116, allocations: 3.814 MB / 1.082 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007269/1.116, allocations: 31.88 kB / 1.082 GB, free: 9.988 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.884e-05/1.117, allocations: 23.09 kB / 1.082 GB, free: 9.969 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.117, allocations: 4 kB / 1.082 GB, free: 9.965 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001879/1.118, allocations: 0.5212 MB / 1.083 GB, free: 9.562 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.119, allocations: 4 kB / 1.083 GB, free: 9.559 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005317/1.119, allocations: 130.4 kB / 1.083 GB, free: 9.445 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008511/1.12, allocations: 103.3 kB / 1.083 GB, free: 9.348 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/1.121, allocations: 1.129 MB / 1.084 GB, free: 8.199 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/1.122, allocations: 27.97 kB / 1.084 GB, free: 8.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.729e-05/1.122, allocations: 21.27 kB / 1.084 GB, free: 8.156 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.0002759/1.122, allocations: 116.8 kB / 1.084 GB, free: 8.035 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/1.122, allocations: 23.72 kB / 1.084 GB, free: 8.012 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/1.124, allocations: 0.5612 MB / 1.085 GB, free: 7.578 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/1.124, allocations: 4 kB / 1.085 GB, free: 7.574 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/1.124, allocations: 4 kB / 1.085 GB, free: 7.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/1.124, allocations: 3.984 kB / 1.085 GB, free: 7.566 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/1.128, allocations: 1.215 MB / 1.086 GB, free: 6.484 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.128, allocations: 4 kB / 1.086 GB, free: 6.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/1.129, allocations: 68.14 kB / 1.086 GB, free: 6.414 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006881/1.129, allocations: 151.9 kB / 1.086 GB, free: 6.281 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/1.129, allocations: 4 kB / 1.086 GB, free: 6.277 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004309/1.134, allocations: 3.846 MB / 1.09 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.134, allocations: 0 / 1.09 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001843/1.136, allocations: 0.8244 MB / 1.091 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002953/1.136, allocations: 139.3 kB / 1.091 GB, free: 1.395 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.416e-05/1.136, allocations: 4 kB / 1.091 GB, free: 1.391 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006107/1.137, allocations: 35.95 kB / 1.091 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/1.137, allocations: 34.81 kB / 1.091 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/1.137, allocations: 8 kB / 1.091 GB, free: 1.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0002362/1.137, allocations: 157.5 kB / 1.091 GB, free: 1.191 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001172/1.138, allocations: 147.9 kB / 1.091 GB, free: 1.047 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.0003539/1.139, allocations: 157.5 kB / 1.091 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00264/1.141, allocations: 1.03 MB / 1.092 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.141, allocations: 0 / 1.092 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/1.142, allocations: 426 kB / 1.093 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007142/1.143, allocations: 39.22 kB / 1.093 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/1.145, allocations: 0.5656 MB / 1.093 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007178/1.146, allocations: 0.8444 MB / 1.094 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of SimCode: time 1.723e-06/1.146, allocations: 0 / 1.094 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.02044/1.166, allocations: 6.816 MB / 1.101 GB, free: 7.438 MB / 0.7136 GB