Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.336/1.336, allocations: 289.8 MB / 297.1 MB, free: 6.746 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.000902/0.0009021, allocations: 185.2 kB / 366.3 MB, free: 2.004 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.038/1.038, allocations: 205.2 MB / 0.6256 GB, free: 5.82 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.0007268/0.0007268, allocations: 87.84 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.22e-06/5.31e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4235, allocations: 116.3 MB / 0.9726 GB, free: 68.45 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.159/0.5825, allocations: 168.5 MB / 1.137 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000186/0.5828, allocations: 91.88 kB / 1.137 GB, free: 11.9 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.03881/0.6216, allocations: 17.69 MB / 1.155 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.6216, allocations: 4 kB / 1.155 GB, free: 10.08 MB / 0.7605 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.000595/0.6222, allocations: 0.5226 MB / 1.155 GB, free: 9.512 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.661e-05/0.6222, allocations: 12.02 kB / 1.155 GB, free: 9.5 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008027/0.623, allocations: 111.5 kB / 1.155 GB, free: 9.391 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.6234, allocations: 254.7 kB / 1.155 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.6234, allocations: 8 kB / 1.155 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.6234, allocations: 16 kB / 1.155 GB, free: 9.078 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003472/0.6238, allocations: 240.8 kB / 1.156 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.6242, allocations: 319.8 kB / 1.156 GB, free: 8.504 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.984e-06/0.6242, allocations: 0 / 1.156 GB, free: 8.504 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.6242, allocations: 3.984 kB / 1.156 GB, free: 8.5 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/0.6243, allocations: 32.42 kB / 1.156 GB, free: 8.469 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.6261, allocations: 1.682 MB / 1.158 GB, free: 6.633 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.6263, allocations: 205.4 kB / 1.158 GB, free: 6.414 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.6264, allocations: 105.6 kB / 1.158 GB, free: 6.305 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.6266, allocations: 89.11 kB / 1.158 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.6266, allocations: 38.55 kB / 1.158 GB, free: 6.152 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.6266, allocations: 0 / 1.158 GB, free: 6.152 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.001526/0.6281, allocations: 0.7055 MB / 1.159 GB, free: 5.43 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.6282, allocations: 81.3 kB / 1.159 GB, free: 5.332 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.6283, allocations: 174.9 kB / 1.159 GB, free: 5.152 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.6284, allocations: 29.7 kB / 1.159 GB, free: 5.117 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.6284, allocations: 159.8 kB / 1.159 GB, free: 4.957 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.6285, allocations: 82.88 kB / 1.159 GB, free: 4.875 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.6285, allocations: 0 / 1.159 GB, free: 4.875 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.6286, allocations: 330.8 kB / 1.16 GB, free: 4.543 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.6288, allocations: 128 kB / 1.16 GB, free: 4.418 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.629, allocations: 213 kB / 1.16 GB, free: 4.176 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.6294, allocations: 189.9 kB / 1.16 GB, free: 3.992 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.6294, allocations: 8 kB / 1.16 GB, free: 3.984 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009255/0.6303, allocations: 0.5123 MB / 1.161 GB, free: 3.453 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.6303, allocations: 6.5 kB / 1.161 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.6303, allocations: 0 / 1.161 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003443/0.6307, allocations: 143.3 kB / 1.161 GB, free: 3.297 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.6309, allocations: 55.91 kB / 1.161 GB, free: 3.242 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.6335, allocations: 3.823 MB / 1.164 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.6337, allocations: 15.92 kB / 1.165 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.6337, allocations: 12 kB / 1.165 GB, free: 15.11 MB / 0.7761 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.0001102/0.6338, allocations: 114.7 kB / 1.165 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.6339, allocations: 27.72 kB / 1.165 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008936/0.6348, allocations: 496.6 kB / 1.165 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6348, allocations: 7.938 kB / 1.165 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.6348, allocations: 0 / 1.165 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6348, allocations: 0 / 1.165 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.6363, allocations: 0.975 MB / 1.166 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.6363, allocations: 4 kB / 1.166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.6365, allocations: 31.98 kB / 1.166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003297/0.6368, allocations: 143.5 kB / 1.166 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.6368, allocations: 4 kB / 1.166 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002437/0.6393, allocations: 3.812 MB / 1.17 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.6393, allocations: 4.047 kB / 1.17 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008642/0.6401, allocations: 0.7492 MB / 1.171 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.6403, allocations: 128.8 kB / 1.171 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.6403, allocations: 4 kB / 1.171 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.6406, allocations: 11.98 kB / 1.171 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.6406, allocations: 27.83 kB / 1.171 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.6406, allocations: 8 kB / 1.171 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0001165/0.6407, allocations: 152 kB / 1.171 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004606/0.6412, allocations: 91.92 kB / 1.171 GB, free: 7.816 MB / 0.7761 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.0001803/0.6414, allocations: 143 kB / 1.171 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006808/0.6421, allocations: 0.5227 MB / 1.172 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6421, allocations: 0 / 1.172 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004218/0.6425, allocations: 372.3 kB / 1.172 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.6428, allocations: 33.81 kB / 1.172 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007484/0.6436, allocations: 460.7 kB / 1.173 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/0.644, allocations: 0.8097 MB / 1.173 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of SimCode: time 2.81e-07/0.644, allocations: 0 / 1.173 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of Templates: time 0.006774/0.6508, allocations: 4.127 MB / 1.177 GB, free: 1.301 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)