Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.132/2.132, allocations: 284.9 MB / 292.2 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001579/0.001578, allocations: 181.3 kB / 360.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 0.6188 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001242/0.001241, allocations: 84.89 kB / 0.7318 GB, free: 45.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.508e-06/9.538e-06, allocations: 0 / 0.8503 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5363/0.5363, allocations: 115.2 MB / 0.9628 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2646/0.801, allocations: 167.5 MB / 1.126 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/0.8014, allocations: 94.52 kB / 1.126 GB, free: 5.156 MB / 0.7292 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.06761/0.869, allocations: 17.41 MB / 1.143 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.53e-05/0.8691, allocations: 8 kB / 1.143 GB, free: 3.684 MB / 0.7448 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.0009457/0.87, allocations: 0.5224 MB / 1.144 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8701, allocations: 8.031 kB / 1.144 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.8715, allocations: 111.5 kB / 1.144 GB, free: 3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/0.872, allocations: 254.7 kB / 1.144 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.872, allocations: 8 kB / 1.144 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.872, allocations: 12 kB / 1.144 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006502/0.8727, allocations: 232.8 kB / 1.145 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008055/0.8735, allocations: 332.8 kB / 1.145 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.8736, allocations: 0 / 1.145 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.8736, allocations: 0 / 1.145 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-05/0.8737, allocations: 26.42 kB / 1.145 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003145/0.8768, allocations: 1.698 MB / 1.147 GB, free: 244 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.8773, allocations: 212 kB / 1.147 GB, free: 16 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.8776, allocations: 101.6 kB / 1.147 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.8777, allocations: 85.09 kB / 1.147 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.8778, allocations: 38.56 kB / 1.147 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=16): time 2.314e-06/0.8778, allocations: 0 / 1.147 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.002814/0.8806, allocations: 0.6914 MB / 1.148 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.8807, allocations: 81.3 kB / 1.148 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.8809, allocations: 179.3 kB / 1.148 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.881, allocations: 25.7 kB / 1.148 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.8811, allocations: 165.5 kB / 1.148 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.72e-05/0.8812, allocations: 78.8 kB / 1.148 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.8812, allocations: 0 / 1.148 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8814, allocations: 334.8 kB / 1.148 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.8817, allocations: 128 kB / 1.149 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.8821, allocations: 209.3 kB / 1.149 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006819/0.8828, allocations: 193.5 kB / 1.149 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8828, allocations: 0 / 1.149 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001685/0.8845, allocations: 0.5183 MB / 1.15 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.8845, allocations: 4 kB / 1.15 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.8846, allocations: 4 kB / 1.15 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006564/0.8852, allocations: 143.4 kB / 1.15 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.8857, allocations: 55.97 kB / 1.15 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003918/0.8896, allocations: 3.83 MB / 1.153 GB, free: 8.754 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.89, allocations: 12.16 kB / 1.153 GB, free: 8.742 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/0.8901, allocations: 19.98 kB / 1.153 GB, free: 8.723 MB / 0.7605 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.0001817/0.8903, allocations: 115 kB / 1.154 GB, free: 8.605 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.903e-05/0.8904, allocations: 19.72 kB / 1.154 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.8921, allocations: 494.6 kB / 1.154 GB, free: 8.082 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.8921, allocations: 4 kB / 1.154 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.8921, allocations: 4 kB / 1.154 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.8921, allocations: 0 / 1.154 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.8947, allocations: 0.9722 MB / 1.155 GB, free: 7.023 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.8947, allocations: 5.625 kB / 1.155 GB, free: 7.02 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.895, allocations: 27.98 kB / 1.155 GB, free: 6.992 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006266/0.8956, allocations: 139.5 kB / 1.155 GB, free: 6.844 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.8957, allocations: 8 kB / 1.155 GB, free: 6.836 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003778/0.8995, allocations: 3.823 MB / 1.159 GB, free: 2.738 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.8995, allocations: 6.969 kB / 1.159 GB, free: 2.734 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00154/0.901, allocations: 0.7327 MB / 1.16 GB, free: 1.895 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.9013, allocations: 132.7 kB / 1.16 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.9013, allocations: 4 kB / 1.16 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.9017, allocations: 15.98 kB / 1.16 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.9018, allocations: 22.14 kB / 1.16 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.9018, allocations: 12 kB / 1.16 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.000192/0.902, allocations: 148 kB / 1.16 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007408/0.9028, allocations: 95.94 kB / 1.16 GB, free: 1.457 MB / 0.7605 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.0002688/0.9031, allocations: 139.1 kB / 1.16 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.9043, allocations: 0.5187 MB / 1.161 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9043, allocations: 0 / 1.161 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007605/0.9051, allocations: 368.5 kB / 1.161 GB, free: 404 kB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.9056, allocations: 34.73 kB / 1.161 GB, free: 372 kB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.9069, allocations: 468.8 kB / 1.162 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005835/0.9075, allocations: 0.8087 MB / 1.162 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of SimCode: time 3.476e-06/0.9075, allocations: 0 / 1.162 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.01231/0.9199, allocations: 4.134 MB / 1.166 GB, free: 10.98 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)