Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") [: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.303/2.303, allocations: 253.1 MB / 260.4 MB, free: 7.449 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.002423/0.002422, allocations: 184.5 kB / 319.6 MB, free: 3.32 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.07/2.07, 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.00128/0.00128, allocations: 79.45 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.118e-05/1.136e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2472, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7299/0.9771, allocations: 174.1 MB / 1.058 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/0.9775, allocations: 88.31 kB / 1.058 GB, free: 14.73 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd: time 0.1493/1.127, allocations: 36.26 MB / 1.094 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.728e-05/1.127, allocations: 23.94 kB / 1.094 GB, free: 0.957 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002308/1.129, allocations: 0.9038 MB / 1.094 GB, free: 52 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.129, allocations: 8.031 kB / 1.094 GB, free: 44 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006371/1.136, allocations: 0.624 MB / 1.095 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/1.138, allocations: 0.5872 MB / 1.096 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/1.138, allocations: 20 kB / 1.096 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/1.138, allocations: 28 kB / 1.096 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002068/1.14, allocations: 0.7222 MB / 1.096 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/1.142, allocations: 0.8118 MB / 1.097 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/1.142, allocations: 0 / 1.097 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.142, allocations: 4 kB / 1.097 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.345e-05/1.142, allocations: 40.41 kB / 1.097 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007285/1.15, allocations: 3.44 MB / 1.101 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008542/1.151, allocations: 279.3 kB / 1.101 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004545/1.151, allocations: 171.8 kB / 1.101 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.198e-05/1.151, allocations: 4 kB / 1.101 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/1.151, allocations: 37.69 kB / 1.101 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 3.497e-06/1.151, allocations: 4 kB / 1.101 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.004996/1.156, allocations: 1.138 MB / 1.102 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/1.156, allocations: 132.5 kB / 1.102 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000826/1.157, allocations: 395.9 kB / 1.103 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.707e-05/1.157, allocations: 25.7 kB / 1.103 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/1.158, allocations: 288.7 kB / 1.103 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/1.158, allocations: 144.8 kB / 1.103 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/1.158, allocations: 7.938 kB / 1.103 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001863/1.158, allocations: 373.3 kB / 1.104 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/1.159, allocations: 178.9 kB / 1.104 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006506/1.159, allocations: 309 kB / 1.104 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/1.16, allocations: 234.6 kB / 1.104 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.16, allocations: 0 / 1.104 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00284/1.163, allocations: 0.7362 MB / 1.105 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005049/1.163, allocations: 1.214 MB / 1.106 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.163, allocations: 4 kB / 1.106 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/1.165, allocations: 244 kB / 1.106 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.166, allocations: 139.4 kB / 1.106 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006705/1.173, allocations: 5.7 MB / 1.112 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/1.174, allocations: 59.41 kB / 1.112 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/1.174, allocations: 14.88 kB / 1.112 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.175, allocations: 8 kB / 1.112 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002345/1.177, allocations: 1.033 MB / 1.113 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.177, allocations: 11.97 kB / 1.113 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/1.178, allocations: 129 kB / 1.113 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/1.179, allocations: 147.6 kB / 1.113 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007506/1.186, allocations: 7.467 MB / 1.121 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/1.188, allocations: 52.48 kB / 1.121 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/1.188, allocations: 23.73 kB / 1.121 GB, free: 5.887 MB / 0.7292 GB 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 (47): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002644/1.188, allocations: 118 kB / 1.121 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/1.188, allocations: 65.94 kB / 1.121 GB, free: 5.703 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/1.189, allocations: 62.59 kB / 1.121 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/1.189, allocations: 4 kB / 1.121 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/1.189, allocations: 4 kB / 1.121 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/1.189, allocations: 3.984 kB / 1.121 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/1.19, allocations: 0.5705 MB / 1.122 GB, free: 5.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.19, allocations: 4 kB / 1.122 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/1.191, allocations: 105.8 kB / 1.122 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/1.193, allocations: 243.8 kB / 1.122 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.511e-05/1.193, allocations: 8.812 kB / 1.122 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009396/1.202, allocations: 7.915 MB / 1.13 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.202, allocations: 0 / 1.13 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002681/1.205, allocations: 0.7459 MB / 1.13 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004762/1.206, allocations: 180.4 kB / 1.131 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/1.206, allocations: 3.906 kB / 1.131 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/1.207, allocations: 55.94 kB / 1.131 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/1.207, allocations: 19.97 kB / 1.131 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/1.207, allocations: 8 kB / 1.131 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.000612/1.208, allocations: 302.9 kB / 1.131 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001707/1.209, allocations: 260 kB / 1.131 GB, free: 10.81 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 25 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002909/1.21, allocations: 119.3 kB / 1.131 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004064/1.214, allocations: 1.706 MB / 1.133 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.214, allocations: 4 kB / 1.133 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/1.215, allocations: 0.8502 MB / 1.134 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.217, allocations: 169.2 kB / 1.134 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/1.221, allocations: 0.9252 MB / 1.135 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/1.222, allocations: 1.017 MB / 1.136 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of SimCode: time 1.252e-06/1.222, allocations: 0 / 1.136 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of Templates: time 0.04113/1.263, allocations: 14.07 MB / 1.15 GB, free: 7.855 MB / 0.7605 GB