Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.29/1.29, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009958/0.0009958, allocations: 177.3 kB / 361.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9963/0.9963, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007938/0.0007938, allocations: 87.02 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.929e-06/4.949e-06, allocations: 0 / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4081, allocations: 115.3 MB / 0.9637 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.5603, allocations: 167.6 MB / 1.127 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/0.5605, allocations: 88.61 kB / 1.127 GB, free: 4.391 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.04125/0.6017, allocations: 17.69 MB / 1.145 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.6018, allocations: 4 kB / 1.145 GB, free: 2.656 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.0006292/0.6024, allocations: 0.5295 MB / 1.145 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.6024, allocations: 8.031 kB / 1.145 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008428/0.6033, allocations: 107.5 kB / 1.145 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.6036, allocations: 256.1 kB / 1.146 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.6037, allocations: 11.94 kB / 1.146 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.6037, allocations: 12 kB / 1.146 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003858/0.6041, allocations: 237.7 kB / 1.146 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.6045, allocations: 327.5 kB / 1.146 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.6046, allocations: 0 / 1.146 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.6046, allocations: 4 kB / 1.146 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.6046, allocations: 28.42 kB / 1.146 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.6066, allocations: 1.682 MB / 1.148 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.6069, allocations: 209.4 kB / 1.148 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.607, allocations: 103.3 kB / 1.148 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.6071, allocations: 93.94 kB / 1.148 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.6071, allocations: 30.56 kB / 1.148 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.6071, allocations: 0 / 1.148 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.001652/0.6088, allocations: 0.705 MB / 1.149 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.6089, allocations: 81.3 kB / 1.149 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.609, allocations: 182.9 kB / 1.149 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.6091, allocations: 25.7 kB / 1.149 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.6091, allocations: 159.9 kB / 1.149 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.6092, allocations: 82.88 kB / 1.149 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.6092, allocations: 1.688 kB / 1.149 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.6093, allocations: 330.8 kB / 1.15 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.6095, allocations: 128 kB / 1.15 GB, free: 13 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.6097, allocations: 204.6 kB / 1.15 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.6101, allocations: 199.8 kB / 1.15 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.6101, allocations: 0 / 1.15 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009517/0.6111, allocations: 0.5114 MB / 1.151 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.6111, allocations: 4 kB / 1.151 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6111, allocations: 4 kB / 1.151 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003878/0.6115, allocations: 135.3 kB / 1.151 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.6118, allocations: 56 kB / 1.151 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.6143, allocations: 3.837 MB / 1.155 GB, free: 7.727 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.6145, allocations: 9.594 kB / 1.155 GB, free: 7.719 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.6145, allocations: 12 kB / 1.155 GB, free: 7.707 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.0001369/0.6147, allocations: 117.1 kB / 1.155 GB, free: 7.586 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.6147, allocations: 27.66 kB / 1.155 GB, free: 7.559 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000928/0.6157, allocations: 486.7 kB / 1.155 GB, free: 7.066 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6157, allocations: 4 kB / 1.155 GB, free: 7.062 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6157, allocations: 3.984 kB / 1.155 GB, free: 7.059 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6157, allocations: 4 kB / 1.155 GB, free: 7.055 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.6172, allocations: 0.9718 MB / 1.156 GB, free: 6.004 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.6172, allocations: 4 kB / 1.156 GB, free: 6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.6174, allocations: 29.3 kB / 1.156 GB, free: 5.973 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003569/0.6177, allocations: 147.5 kB / 1.156 GB, free: 5.816 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.6178, allocations: 4 kB / 1.156 GB, free: 5.812 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002444/0.6202, allocations: 3.813 MB / 1.16 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6202, allocations: 4 kB / 1.16 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008896/0.6211, allocations: 0.7408 MB / 1.161 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.6213, allocations: 128.8 kB / 1.161 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.6213, allocations: 4 kB / 1.161 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.6215, allocations: 11.98 kB / 1.161 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.6216, allocations: 31.81 kB / 1.161 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.6216, allocations: 9.875 kB / 1.161 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001139/0.6217, allocations: 144.3 kB / 1.161 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004665/0.6222, allocations: 91.92 kB / 1.161 GB, free: 456 kB / 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.0001903/0.6224, allocations: 146.8 kB / 1.161 GB, free: 300 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007258/0.6231, allocations: 0.524 MB / 1.162 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.6232, allocations: 4 kB / 1.162 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004468/0.6236, allocations: 371.2 kB / 1.162 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.6239, allocations: 32.69 kB / 1.162 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.6247, allocations: 468.6 kB / 1.163 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/0.6252, allocations: 0.8095 MB / 1.164 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of SimCode: time 2.91e-07/0.6252, allocations: 0 / 1.164 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of Templates: time 0.007067/0.6322, allocations: 4.109 MB / 1.168 GB, free: 9.98 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)