Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [: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.392/2.392, allocations: 253.1 MB / 260.4 MB, free: 7.539 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.001733/0.001733, allocations: 182.2 kB / 319.6 MB, free: 3.355 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 2.036/2.036, allocations: 205.4 MB / 0.5704 GB, free: 15.1 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.001312/0.001311, allocations: 90.69 kB / 0.6746 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.777e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2246, allocations: 106.2 MB / 0.888 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7296/0.9542, allocations: 162.2 MB / 1.046 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/0.9546, allocations: 85.23 kB / 1.047 GB, free: 10.52 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.07741/1.032, allocations: 17.43 MB / 1.064 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.786e-05/1.032, allocations: 8 kB / 1.064 GB, free: 12.2 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001154/1.033, allocations: 0.5246 MB / 1.064 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.033, allocations: 12.03 kB / 1.064 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/1.035, allocations: 103.6 kB / 1.064 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006192/1.035, allocations: 265.7 kB / 1.064 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/1.036, allocations: 8 kB / 1.064 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/1.036, allocations: 8 kB / 1.064 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007088/1.036, allocations: 237.3 kB / 1.065 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000771/1.037, allocations: 324.1 kB / 1.065 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/1.037, allocations: 0 / 1.065 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/1.037, allocations: 0 / 1.065 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.329e-05/1.037, allocations: 24.23 kB / 1.065 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/1.041, allocations: 1.695 MB / 1.067 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/1.041, allocations: 206.6 kB / 1.067 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/1.042, allocations: 108.6 kB / 1.067 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/1.042, allocations: 85.09 kB / 1.067 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/1.042, allocations: 41.94 kB / 1.067 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 3.467e-06/1.042, allocations: 0 / 1.067 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.00309/1.045, allocations: 0.6946 MB / 1.068 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/1.045, allocations: 81.3 kB / 1.068 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/1.045, allocations: 176.5 kB / 1.068 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/1.045, allocations: 29.64 kB / 1.068 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/1.046, allocations: 162.1 kB / 1.068 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.397e-05/1.046, allocations: 74.3 kB / 1.068 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/1.046, allocations: 0 / 1.068 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001787/1.046, allocations: 338.3 kB / 1.069 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/1.046, allocations: 127.7 kB / 1.069 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/1.047, allocations: 212.7 kB / 1.069 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007671/1.047, allocations: 194.7 kB / 1.069 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.047, allocations: 0 / 1.069 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001868/1.049, allocations: 0.5134 MB / 1.07 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/1.049, allocations: 8 kB / 1.07 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.049, allocations: 320 / 1.07 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007199/1.05, allocations: 143.2 kB / 1.07 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/1.051, allocations: 51.91 kB / 1.07 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004796/1.056, allocations: 3.833 MB / 1.074 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/1.056, allocations: 11.98 kB / 1.074 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/1.056, allocations: 11.44 kB / 1.074 GB, free: 2.391 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.idealACDCConverter1.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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 28 * 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.0002179/1.056, allocations: 112.9 kB / 1.074 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/1.056, allocations: 27.81 kB / 1.074 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/1.058, allocations: 495.1 kB / 1.074 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/1.058, allocations: 4 kB / 1.074 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.058, allocations: 0 / 1.074 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.058, allocations: 3.938 kB / 1.074 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/1.061, allocations: 0.9783 MB / 1.075 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/1.061, allocations: 4 kB / 1.075 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/1.062, allocations: 34.67 kB / 1.075 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006595/1.062, allocations: 130.2 kB / 1.075 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/1.062, allocations: 6.812 kB / 1.075 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004967/1.067, allocations: 3.824 MB / 1.079 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.446e-05/1.067, allocations: 3.984 kB / 1.079 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002767/1.07, allocations: 0.7418 MB / 1.08 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004955/1.071, allocations: 129.4 kB / 1.08 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/1.071, allocations: 4 kB / 1.08 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008529/1.072, allocations: 11.98 kB / 1.08 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-05/1.072, allocations: 19.02 kB / 1.08 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.828e-05/1.072, allocations: 8 kB / 1.08 GB, free: 11.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0003359/1.072, allocations: 154.4 kB / 1.08 GB, free: 11.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001705/1.074, allocations: 95.3 kB / 1.08 GB, free: 11.77 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 (21): * Single equations (assignments): 17 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005521/1.075, allocations: 139 kB / 1.08 GB, free: 11.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002051/1.077, allocations: 0.5178 MB / 1.081 GB, free: 11.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.077, allocations: 3.938 kB / 1.081 GB, free: 11.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001408/1.078, allocations: 368.6 kB / 1.081 GB, free: 10.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009219/1.079, allocations: 39.67 kB / 1.081 GB, free: 10.81 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/1.081, allocations: 461.9 kB / 1.082 GB, free: 10.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009417/1.082, allocations: 0.8091 MB / 1.082 GB, free: 9.559 MB / 0.698 GB Notification: Performance of SimCode: time 2.625e-06/1.083, allocations: 0 / 1.082 GB, free: 9.559 MB / 0.698 GB Notification: Performance of Templates: time 0.02131/1.104, allocations: 4.129 MB / 1.086 GB, free: 5.469 MB / 0.698 GB