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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.757/1.757, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001012/0.001012, allocations: 172.9 kB / 361.4 MB, free: 6.867 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.638/1.638, allocations: 205.3 MB / 0.62 GB, free: 11.65 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.0008175/0.0008175, allocations: 93.23 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.805e-05/1.796e-05, allocations: 4 kB / 0.8517 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7121/0.7121, allocations: 115.3 MB / 0.9644 GB, free: 78.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2333/0.9455, allocations: 167.6 MB / 1.128 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.9458, allocations: 91.94 kB / 1.128 GB, free: 4.07 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 - DAE generated: time 0.04606/0.9919, allocations: 18.07 MB / 1.146 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.994e-06/0.992, allocations: 0 / 1.146 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.992, allocations: 4 kB / 1.146 GB, free: 1.941 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.0009338/0.9929, allocations: 0.5218 MB / 1.146 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.993, allocations: 12.03 kB / 1.146 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009482/0.9939, allocations: 104.6 kB / 1.146 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.9944, allocations: 263.2 kB / 1.147 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.9945, allocations: 10.72 kB / 1.147 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.9945, allocations: 8 kB / 1.147 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004344/0.995, allocations: 236.8 kB / 1.147 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.9955, allocations: 316.2 kB / 1.147 GB, free: 392 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.9955, allocations: 3.938 kB / 1.147 GB, free: 388 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.9955, allocations: 0 / 1.147 GB, free: 388 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.913e-05/0.9956, allocations: 28.41 kB / 1.147 GB, free: 356 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.9977, allocations: 1.675 MB / 1.149 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004534/0.9982, allocations: 318.4 kB / 1.149 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.9984, allocations: 98.25 kB / 1.149 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.9985, allocations: 85.09 kB / 1.149 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.9985, allocations: 38.56 kB / 1.149 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.9985, allocations: 0 / 1.149 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.00173/1, allocations: 0.6913 MB / 1.15 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/1, allocations: 85.23 kB / 1.15 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/1.001, allocations: 183 kB / 1.15 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/1.001, allocations: 25.7 kB / 1.15 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/1.001, allocations: 167.8 kB / 1.151 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/1.001, allocations: 82.88 kB / 1.151 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/1.001, allocations: 0 / 1.151 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.001, allocations: 330.8 kB / 1.151 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/1.001, allocations: 116 kB / 1.151 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/1.001, allocations: 207.7 kB / 1.151 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/1.002, allocations: 183.8 kB / 1.151 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.002, allocations: 0 / 1.151 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000944/1.003, allocations: 0.5009 MB / 1.152 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.003, allocations: 8 kB / 1.152 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.003, allocations: 0.9688 kB / 1.152 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004175/1.003, allocations: 139.3 kB / 1.152 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/1.003, allocations: 55.91 kB / 1.152 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/1.006, allocations: 3.855 MB / 1.156 GB, free: 6.926 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/1.007, allocations: 17.8 kB / 1.156 GB, free: 6.91 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/1.007, allocations: 12 kB / 1.156 GB, free: 6.898 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.0001487/1.007, allocations: 108.9 kB / 1.156 GB, free: 6.785 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/1.007, allocations: 26.23 kB / 1.156 GB, free: 6.762 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000916/1.008, allocations: 466.3 kB / 1.156 GB, free: 6.289 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.008, allocations: 4 kB / 1.156 GB, free: 6.285 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.008, allocations: 3.953 kB / 1.156 GB, free: 6.281 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/1.008, allocations: 3.984 kB / 1.156 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/1.009, allocations: 0.9485 MB / 1.157 GB, free: 5.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.009, allocations: 4 kB / 1.157 GB, free: 5.246 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/1.009, allocations: 31.98 kB / 1.157 GB, free: 5.215 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003387/1.01, allocations: 142.4 kB / 1.158 GB, free: 5.066 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/1.01, allocations: 4 kB / 1.158 GB, free: 5.062 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002679/1.013, allocations: 3.836 MB / 1.161 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.013, allocations: 5.094 kB / 1.161 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009161/1.013, allocations: 0.726 MB / 1.162 GB, free: 116 kB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/1.014, allocations: 133 kB / 1.162 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/1.014, allocations: 4 kB / 1.162 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/1.014, allocations: 11.98 kB / 1.162 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/1.014, allocations: 27.75 kB / 1.162 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/1.014, allocations: 8 kB / 1.162 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001365/1.014, allocations: 152 kB / 1.162 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.6e-07/1.014, allocations: 4 kB / 1.162 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005749/1.015, allocations: 95.92 kB / 1.162 GB, free: 15.67 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.0003488/1.015, allocations: 142.8 kB / 1.163 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008539/1.016, allocations: 0.5236 MB / 1.163 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/1.016, allocations: 3 kB / 1.163 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004623/1.016, allocations: 375.3 kB / 1.163 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/1.017, allocations: 28.61 kB / 1.163 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008679/1.018, allocations: 452.2 kB / 1.164 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/1.018, allocations: 0.7875 MB / 1.165 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001898/1.018, allocations: 66.62 kB / 1.165 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/1.018, allocations: 19.44 kB / 1.165 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of SimCode: time 2.4e-07/1.018, allocations: 0 / 1.165 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.008398/1.027, allocations: 3.694 MB / 1.168 GB, free: 9.574 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)